pradeepmouli / homebridge-isy-js

Homebridge platform plugin for the ISY series of home controllers from Universal Devices.
MIT License
28 stars 9 forks source link

Devices Not loading - Please Read #25

Open 5bngr opened 4 years ago

5bngr commented 4 years ago

Hello, The Setup:

I was having issues with my ISY devices not loading/appearing in home app. After parsing through the logs, I noticed Homebridge(ISY) was throwing an error when it hit my Insteon Thermostats.

I threw the t-stats in a folder, setup the folder to be excluded, restarted homebridge and voila! most of my Insteon devices appeared. Not sure if other users are experiencing the same, where one device type could be screwing up the entire device parsing process.

Below is what I think the pertinent log excerpt.. Hopefully I'm on to something here and can help others having similar issues.

I would love to get my t-stats working. Please use me as a tester if needed.

(node:17594) UnhandledPromiseRejectionWarning: TypeError: this.addService is not a function at ISYThermostatAccessory.setupServices (/home/pi/.config/nvm/versions/node/v14.4.0/lib/node_modules/homebridge-isy/src/ISYThermostatAccessory.ts:80:30) at ISYThermostatAccessory.configure (/home/pi/.config/nvm/versions/node/v14.4.0/lib/node_modules/homebridge-isy/src/ISYAccessory.ts:74:8) at /home/pi/.config/nvm/versions/node/v14.4.0/lib/node_modules/homebridge-isy/src/ISYPlatform.ts:329:20 at processTicksAndRejections (internal/process/task_queues.js:97:5) at ISYPlatform.createAccessories (/home/pi/.config/nvm/versions/node/v14.4.0/lib/node_modules/homebridge-isy/src/ISYPlatform.ts:236:3) at HomebridgeAPI. (/home/pi/.config/nvm/versions/node/v14.4.0/lib/node_modules/homebridge-isy/src/ISYPlatform.ts:69:4) (Use node --trace-warnings ... to show where the warning was created) (node:17594) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by reject ing a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodej s.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:17594) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process wi th a non-zero exit code.

J.J.