Dyson driver
The dyson fan uses MQTT to communicate. It reads credentials in a (top-level) config.json file:
FAN\_CONFIG.model,
FAN\_CONFIG.id,
FAN\_CONFIG.ip,
FAN\_CONFIG.username,
FAN\_CONFIG.password,
FAN\_CONFIG.clientid,
FAN\_CONFIG.MQTT\_IP
Unfortunately there is no easy way to get these credentials, other than just doing a wireguard packet sniff on the MQTT port. Full details on how to do this can be found in the README.md of this driver. Once running, the (node) server accepts the following:
endpoint | method | description | params |
---|---|---|---|
/ui/api/data_read | GET | Poll in the air quality stats from the fan every 5 seconds. | |
/ui/api/data_stop | GET | Stop polling the fan every 5 seconds | |
/ui/api/fan | GET | Control the fan | subject:
|
/api/arm/status | GET | Return status information on the drawer and the door. | |
/api/arm/toggledoor | GET | Open / close the door |