node-red-contrib-xiaomi-gateway v1.0.10
Package node-red-contrib-xiaomi-gateway
The package is only for use on xiaomi gateways running OpenWRT
Nodes:
- gateway-button
- gateway-led
- gateway-led-notify
- gateway-illuminance
gateway-button
Receiving events from an embedded button. Returns an object:
gateway-led
Before using the backlight control node, you need to configure the control paths of the LED devices. You can change the paths at any time. Sometimes this is relevant when updating the operating system.
Controls the built-in backlight. Accepts data in the payload field, the data type is configured in the node.
gateway-led-notify
The notification node allows you to create various light notifications using the built-in LEDs. Three colors with indices are available for customization (1, 2, 3, 0 - no light). You can also configure the duration of the notification and the duration of the pattern step.
gateway-illuminance
Receives data from the built-in light sensor. Returns data depending on the settings of the node: