node-red-contrib-xiaomi-miio 0.0.6

miIO device library for node red

npm install node-red-contrib-xiaomi-miio

Node-red node library for controlling Xiaomi devices. Obviously it uses popular miIO device library.

Supported (was tested with) devices:

  • Xiaomi Switch
  • Xiaomi Cube
  • Xiaomi Motion Detector
  • Xiaomi Window/Door Sensor
  • Xiaomi Temperature and Humidity Sensor
  • Xiaomi Air Purifier
  • Xiaomi Generic Device Listener (see documentation for details)
  • Xiaomi Generic Device (see documentation for details)


npm install node-red-contrib-xiaomi-miio


This library uses standard way of detecting all available devices, this means that you have to configure miIO device library if you want to see devices available through Xiaomi Gateway. By default this library will see only IP enabled devices from your local network.



See node Info tab for more details.

Cube Node:

Cube Node

Air Purifier Node:

Air Purifier Node

Temperature and Humidity Sensor Node:

TH Node

Window/Door Sensor Node:

Magnet Node

Motion Sensor Node:

Motion Node

Switch Node:

Switch Node

Generic Properties Reader Node:

Generic Node

Listener Node:

Listener Node

Node Info

Version: 0.0.6
Updated 5 months, 2 weeks ago
License: MIT


6 in the last day
27 in the last week
120 in the last month


  • miio-switch
  • miio-cube
  • miio-motion
  • miio-magnet
  • miio-sensor-ht
  • miio-generic
  • miio-air-purifier
  • miio-listener


  • node-red
  • miio
  • mi
  • mijia
  • aqara
  • xiaomi


  • aformusatii