Skip to content

Commit ececc20

Browse files
SamZorSecfabaff
authored andcommitted
Basic MQTT light example (ESP8266) (home-assistant#657)
* Basic MQTT light example (ESP8266) Add a basic example to control a led with MQTT and the light component (ESP8266) * Corrections + new example The example is moved from the warnings' section. Add another example for a RGB led.
1 parent 20ae23f commit ececc20

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/_components/light.mqtt.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,5 @@ Configuration variables:
7979
Make sure that your topics match exact. `some-topic/` and `some-topic` are different topics.
8080
</p>
8181

82+
A basic example using a nodeMCU board (ESP8266) to control its built-in led (on/off) can be found [here](https://github.com/mertenats/open-home-automation/tree/master/ha_mqtt_light). [Here](https://github.com/mertenats/open-home-automation/tree/master/ha_mqtt_rgb_light) is another example to control a RGB led (on/off, brightness and colors).
83+

0 commit comments

Comments
 (0)