GithubHelp home page GithubHelp logo

homebridge-brunt's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

homebridge-brunt's Issues

Brunt

hi I'm new to this ive installed the brunt plug in but having trouble installing the config is anyone able to help

This plugin halts the entire Homebridge when it can't log in to Brunt servers.

For whatever reason, Brunt servers are currently down and is giving me LOGIN_ERROR on the (first-party) Brunt app. Then I found out this plugin will SIGTERM the entire Homebridge process when it can't find login to the Brunt servers. I'm well aware you're moved onto different products from Brunt Blinds but I hope this can be patched :-(

[10/10/2022, 12:49:52] TypeError: Cannot read properties of undefined (reading 'sessionId')
    at /var/lib/homebridge/node_modules/homebridge-brunt/index.js:51:30
    at /var/lib/homebridge/node_modules/homebridge-brunt/lib/bruntapi.js:137:5
    at IncomingMessage.<anonymous> (/var/lib/homebridge/node_modules/homebridge-brunt/lib/bruntapi.js:76:21)
    at IncomingMessage.emit (node:events:525:35)
    at endReadableNT (node:internal/streams/readable:1358:12)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
[10/10/2022, 12:49:52] Got SIGTERM, shutting down Homebridge...

This library does not seem to work

I have tried setting it up, filling out username and password. I see my two Brunt devices (a plug and a an Airjet). It is able to show the correct name, however, both are in the group "Blinds", so instead of having "ON/OFF" it has "OPEN/CLOSED" states.

Also, when trying to trigger the state, nothing happens. It will toggle itself on, but the actual device won't change.

[10/28/2020, 5:41:58 PM] [Brunt] Got things[object Object],[object Object]
[10/28/2020, 5:41:58 PM] [Brunt] Device Added (Name: Brunt Airjet S, ID: /hub/0018hhy2hsn005e2, Group: blinds, Session: ab44ca66-62c9-4894-a072-e0c255c54946)
[10/28/2020, 5:41:58 PM] [Brunt] Device Added (Name: Brunt Plug, ID: /hub/f5d4e5c7fc694554, Group: blinds, Session: ab44ca66-62c9-4894-a072-e0c255c54946)

Error after updating config

Hi,

First of all, thank you for this plug-in!

Having an issue after updating the config with the provided info:

/usr/lib/node_modules/homebridge-brunt/lib/bruntapi.js:76
if (callback) callback(str);
^
TypeError: Cannot read property 'sessionId' of undefined
at /usr/lib/node_modules/homebridge-brunt/index.js:51:29
at /usr/lib/node_modules/homebridge-brunt/lib/bruntapi.js:137:5
at IncomingMessage. (/usr/lib/node_modules/homebridge-brunt/lib/bruntapi.js:76:21)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:188:7)
at endReadableNT (_stream_readable.js:975:12)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)

Could you possibly help me sort this out?

Errors after installing plugin and adding brunt to config file

After installing the brunt plugin and adding brunt settings into the config file I get an error starting homebridge

/usr/local/lib/node_modules/homebridge-brunt/lib/bruntapi.js:76 if (callback) callback(str); ^ TypeError: Cannot read property 'sessionId' of undefined at /usr/local/lib/node_modules/homebridge-brunt/index.js:51:30 at /usr/local/lib/node_modules/homebridge-brunt/lib/bruntapi.js:137:5 at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/homebridge-brunt/lib/bruntapi.js:76:21) at IncomingMessage.emit (events.js:165:20) at endReadableNT (_stream_readable.js:1101:12) at process._tickCallback (internal/process/next_tick.js:152:19)

any ideas ?

Change in API

Hi there,

Just got this error message after restarting Homebridge:

[6/1/2019, 8:42:47 PM] TypeError: Cannot read property 'sessionId' of undefined
at /usr/lib/node_modules/homebridge-brunt/index.js:51:30
at /usr/lib/node_modules/homebridge-brunt/lib/bruntapi.js:137:5
at IncomingMessage. (/usr/lib/node_modules/homebridge-brunt/lib/bruntapi.js:76:21)
at IncomingMessage.emit (events.js:194:15)
at endReadableNT (_stream_readable.js:1125:12)
at process._tickCallback (internal/process/next_tick.js:63:19)

I think the API might have been changed, any ideas on this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.