Add nodes to get data from and send commands to Xiaomi’s MiIO devices connected to the local network using node-mihome.
node
v12.22.0 or highernode-red
v1.3.0 or higher
Run npm i node-red-contrib-local-mihome
in ~/.node-red
directory or search node-red-contrib-local-mihome and install from Palette Manager.
If you want to add device support, you can make a PR or add request in discussions of node-mihome
package. To check which devices are supportet look up supported devices in node-mihome
package.
Check out this guide: https://github.com/Maxmudjon/com.xiaomi-miio/blob/master/docs/obtain_token.md (Note: Token extraction from the cloud doesn't seem to work for local applications)
Example flows can be downloaded from here.