pbrunier / node-red-contrib-dyson-purelink

This Node RED module can control dyson purifier (tested with dyson hot&cool pure link)
Other
11 stars 4 forks source link

Add option to bypass cloud and supply mqtt username and password directly #82

Open normanr opened 7 months ago

normanr commented 7 months ago

I'd like to avoid having to supply the cloud username/password/country. According to https://community.home-assistant.io/t/dyson-pure-cool-link-local-mqtt-control/217263 the required details to derive the mqtt username and password are also available from the sicker on the device (at least it works for my dyson pure hot+cool link).

The username is the serial number -- i.e. the middle part of the Product SSID, i.e. for DYSON-ABC-DE-FGHIJKLM-495 the username is ABC-DE-FGHIJKLM (495 is the device type). The password is the base64 encoded sha512 of the Product Wi-Fi Password, i.e. for abcdefgh the hashed password is o6jIG8l8JWABDXOJvIiqyXShBODiOBIgxuCExNzNHS0X1PhtsxwqhR3IDmaB10czxV3NA92W9gYs3aEqKRrmzg==

Dyson-MQTT2RRD implements this feature, it would be nice if node-red-contrib-dyson-purelink could too.

pbrunier commented 3 months ago

@normanr I won't pick up this issue since I don't use this node myself any longer. The project is looking for a maintainer.