This is the root topic for this device. A trailing slash will be added if not preset. The {identifier} placeholder will be replaced by the device hostname.<br/>
This is the root topic for this device. A trailing slash will be added if not preset. The {hostname} and {mac} placeholders will be replaced by the device hostname and MAC address.<br/>
- <strong><root>/relay/#/set</strong> Send a 0 or a 1 as a payload to this topic to switch it on or off. You can also send a 2 to toggle its current state. Replace # with the switch ID (starting from 0). If the board has only one switch it will be 0.<br/>
- <strong><root>/relay/#/set</strong> Send a 0 or a 1 as a payload to this topic to switch it on or off. You can also send a 2 to toggle its current state. Replace # with the switch ID (starting from 0). If the board has only one switch it will be 0.<br/>
<spanclass="module module-color">- <strong><root>/color/set</strong> Set the color using this topic, your can either send an "#RRGGBB" value or "RRR,GGG,BBB".<br/></span>
<spanclass="module module-color">- <strong><root>/color/set</strong> Set the color using this topic, your can either send an "#RRGGBB" value or "RRR,GGG,BBB".<br/></span>
<spanclass="module module-color">- <strong><root>/brightness/set</strong> Set the brighness using a value from 0 to 255.<br/></span>
<spanclass="module module-color">- <strong><root>/brightness/set</strong> Set the brighness using a value from 0 to 255.<br/></span>