diff --git a/docs/advanced-usage/range-properties.md b/docs/advanced-usage/range-properties.md index 1c9a6e24..d2a7f5a4 100644 --- a/docs/advanced-usage/range-properties.md +++ b/docs/advanced-usage/range-properties.md @@ -16,6 +16,16 @@ void setup() { } ``` +On the mqtt broker you will see the following message show up: +``` +topic message +-------------------------------------------------------- +homie//strip/$type strip +homie//strip/$properties led[1-100]:settable +``` + +You can then publish the value `on` to topic `homie//strip/led_1/set` to turn on led number 1. + See the following example for a concrete use case: [![GitHub logo](../assets/github.png) LedStrip](https://github.com/marvinroger/homie-esp8266/blob/develop/examples/LedStrip/LedStrip.ino)