mqttfastled/README.md
2017-03-06 15:54:44 +01:00

29 lines
685 B
Markdown

Introduction
============
Effet cylon en rouge controlé par MQTT.
Pour lancer l'effet sur le LED Strip@D1 (GPIO5) :
```bash
mosquitto_pub -d -u "<USER>" -P "<PASS>" -t "<TOPIC>" -m "ON"
```
Pour l'arreter :
```bash
mosquitto_pub -d -u "<USER>" -P "<PASS>" -t "<TOPIC>" -m "OFF"
```
Un exemple de configuration pour home-assistant se trouve dans [ha_configuration.yml](home-assistant/ha\_configuration.yml).
Matériel
========
* 1x ESP8266 Lolin (Nodemcu v3)
* 1x Breadboard
* 1x Resistance 220Ω (jusqu'à 1kΩ)
* 1x LED Strip wb2812b
* 1x Transformateur AC-DC 220v-5v
Médias
======
![Fritzing BreadBoard](medias/mqttfastled_bb.png)
![IRL](medias/irl1.jpg)