mirror of
https://github.com/bemble/node-red-contrib-mi-devices.git
synced 2026-03-16 01:16:20 +01:00
c40b2cb3aeb556f6423bf4c5fb81e4387f067ce1
node-red-contrib-xiaomi-devices
This module contains the following nodes to provide easy integration of the Xiaomi devices into node-red.
The following devices are currently supported:
- Temperature/humidity sensor
- Magnet switch
- Button switch
- Motion sensor
- Power plug (zigbee)
Preperation
To receive the gateway json messages on your network you need to enable the developer mode, aka LAN mode in the gateway.
A UDP input node is needed to receive the json messages. An UDP output node to send command's to the gateway.
Install
cd ~\.node-red
npm install node-red-contrib-xiaomi-devices
Usage
Below a screenshot of an example use of all nodes.
Description
Languages
HTML
58.5%
JavaScript
29.6%
EJS
7.2%
TypeScript
4.7%
