joe-ng / homebridge-dyson-link

MIT License
206 stars 40 forks source link

Dyson Plugin causes Homebridge to shut down #151

Open patrickg75 opened 2 years ago

patrickg75 commented 2 years ago

I am using a Dyson Pure Cool Purifier Gen2018 which I assume is TP07.

When activating the plugin, I get the error log below and Homebridge shuts down and restarts, stuck in a loop.

If I remove my email and password from the config file, I get a "wrong serial number" log and still nothing. I even logged into the app again to receive the login code, which I entered into the accessory password field to try out more. still nothing. So basically at the time being I can't get the plugin to work at all...

Any help is much appreciated! Thx a ton! Patrick

[12/1/2021, 9:50:17 AM] Homebridge v1.3.8 (HAP v0.9.7) (Homebridge 8368) is running on port 51423.
[12/1/2021, 9:50:17 AM] SyntaxError: Unexpected token e in JSON at position 0
    at JSON.parse (<anonymous>)
    at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/homebridge-dyson-link/index.js:180:40)
    at IncomingMessage.emit (node:events:402:35)
    at endReadableNT (node:internal/streams/readable:1343:12)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
[12/1/2021, 9:50:17 AM] Got SIGTERM, shutting down Homebridge...
patrickg75 commented 2 years ago

UPDATE:

https://github.com/lukasroegner/homebridge-dyson-pure-cool

just found this plugin – working perfectly.

tenamynnek commented 2 years ago

UPDATE:

https://github.com/lukasroegner/homebridge-dyson-pure-cool

just found this plugin – working perfectly.

nope ... this one cannot control fan rotation (i am using purifier hot+cool)