This started as innocent fork of aipurifier, with humidifier and other nodes sharing most of code single module seemed like best idea.
Nodes that can be currently used in node red.
"Wire" protocol in Node-RED.
in msg.payload of outputs one gets objects with layout / naming matching Homekit interfaces (payload property in connections can be used directly)
Also Control inputs match Homkit structure.
in msg.paylaod_raw one gets or sends props matching objects as in Python-Miio docs:
https://python-miio.readthedocs.io/en/latest/miio.html
Forked from and based on work by https://github.com/andreyoshev