Skip to content
This repository has been archived by the owner on Feb 11, 2023. It is now read-only.

Stop working #16

Open
appleimperio opened this issue Jan 23, 2021 · 9 comments
Open

Stop working #16

appleimperio opened this issue Jan 23, 2021 · 9 comments

Comments

@appleimperio
Copy link

appleimperio commented Jan 23, 2021

Was working ok and now..

(node:1556) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'value' of undefined
at r.getTemperature (/homebridge/node_modules/homebridge-withings-air-quality/dist/index.js:4:2582)
at i.updateTemperature (/homebridge/node_modules/homebridge-withings-air-quality/dist/index.js:6:5207)
at /homebridge/node_modules/homebridge-withings-air-quality/dist/index.js:6:3615
at i. (/homebridge/node_modules/homebridge-withings-air-quality/dist/index.js:6:4575)
at /homebridge/node_modules/homebridge-withings-air-quality/dist/index.js:6:1529
at Object.next (/homebridge/node_modules/homebridge-withings-air-quality/dist/index.js:6:1634)
at /homebridge/node_modules/homebridge-withings-air-quality/dist/index.js:6:547
at new Promise ()
at t (/homebridge/node_modules/homebridge-withings-air-quality/dist/index.js:6:295)
at CurrentTemperature. (/homebridge/node_modules/homebridge-withings-air-quality/dist/index.js:6:4505)
(Use node --trace-warnings ... to show where the warning was created)
(node:1556) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting 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://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:1556) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:1556) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'value' of undefined
at r.getCarbonDioxide (/homebridge/node_modules/homebridge-withings-air-quality/dist/index.js:4:2513)
at i.updateAirQuality (/homebridge/node_modules/homebridge-withings-air-quality/dist/index.js:6:4891)
at /homebridge/node_modules/homebridge-withings-air-quality/dist/index.js:6:3409
at i. (/homebridge/node_modules/homebridge-withings-air-quality/dist/index.js:6:4575)
at /homebridge/node_modules/homebridge-withings-air-quality/dist/index.js:6:1529
at Object.next (/homebridge/node_modules/homebridge-withings-air-quality/dist/index.js:6:1634)
at /homebridge/node_modules/homebridge-withings-air-quality/dist/index.js:6:547
at new Promise ()
at t (/homebridge/node_modules/homebridge-withings-air-quality/dist/index.js:6:295)
at AirQuality. (/homebridge/node_modules/homebridge-withings-air-quality/dist/index.js:6:4505)

@martindinicolino
Copy link

same here...
were you able to find a fix? is anybody able to help?

@appleimperio
Copy link
Author

I just remove it wait a few days and add it again and it worked. Looks like too many attempts to contact Withings lock the plugin.

@martindinicolino
Copy link

I see, thank you for your reply.

But have you had to remove it and wait periodically? Or is it just working now?

@appleimperio
Copy link
Author

Its working now only happened if I had other plugin that keep reloading the homebridge goes down again

@martindinicolino
Copy link

Thank you, i’ll give it a try. That might possibly the solution for most of us here...

@appleimperio
Copy link
Author

Just to let you know the problem start again but this time the solution is not working. I hope we found one!

@martindinicolino
Copy link

too bad, thank you anyways

@dhayab
Copy link
Owner

dhayab commented Jun 23, 2021

Hi, I released a fix for this plugin to update the URL used to connect to Withings, it might solve your issue. If you're using a recent version of Homebridge this plugin might display warnings, but it should work nonetheless (see #24).

@choicedraught
Copy link

Thank you very much.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants