How to send Downlinks to the Kuando Busylight device
In this tutorial you will learn how to send Downlinks to the Kuando Busylight device
The Kuando Busylight can be installed in a large variety of use cases. Through a downlink it can be programmed to show any color and used as a visual notifier, indicating a certain event, status, or as a cue for specific handling.
- Meeting room occupancy
- Office desk availability
- Parking lot availability
- Cue for calendar event
- Indicator for status in test or production line
- Indicator for bin availability in the warehouse
- Temperature/humidity/CO2/ indicator
In this tutorial, you will learn how to set downlinks to the Kuando Busylight to show color status as a visual notifier.
To be able to send downlinks based on a condition, you need to create a Rule. Go to Rules and select Create Rule. Select desired device/s as a Rule Input, add a Logic block with your defined condition and select Downlink as a Rule Output.
Downlink on Rule Engine
On the Downlink Input Field, you need to select your Kuando Busylight by choosing the assigned Data Flow and Device. Enter Port 15 and select JSON as a payload schema.
Custom payload description as follows:
"red":12, // Red intensity max 255 min 0
"green":20, // Green intensity max 255 min 0
"blue":34, // Blue intensity max 255 min 0
"offDuration":10, // Off duration max 255 min 0
"onDuration":10 // On duration max 255 min 0
If the light shall be On all the time, you can set the onDuration to 255 and offDuration to 0.
Test your Rule accordingly to see the changing light colors based on your rule condition.
If you do not have a device at your hand, you can use the Device Simulator provided from akenza to trigger your Downlink.