How to send Downlinks to the Kuando Busylight device

In this tutorial you will learn how to send Downlinks to the Kuando Busylight device

In this tutorial, you will learn how to set downlinks to the Kuando Busylight to show color status as a visual notifier.

1. Create a rule

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.

Last updated

Was this helpful?