Effet cylon sur un bandeau de LED contrôlé par HomeAssistant
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
656 B

3 years ago
  1. Introduction
  2. ============
  3. Effet cylon en rouge controlé par MQTT.
  4. Pour lancer l'effet sur le LED Strip@D1 (GPIO5) :
  5. ```bash
  6. mosquitto_pub -d -u "<USER>" -P "<PASS>" -t "<TOPIC>" -m "ON"
  7. ```
  8. Pour l'arreter :
  9. ```bash
  10. mosquitto_pub -d -u "<USER>" -P "<PASS>" -t "<TOPIC>" -m "OFF"
  11. ```
  12. Un exemple de configuration pour home-assistant se trouve dans [ha_configuration.yml](ha\_configuration.yml).
  13. Matériel
  14. ========
  15. * 1x ESP8266 Lolin (Nodemcu v3)
  16. * 1x Breadboard
  17. * 1x Resistance 220Ω (jusqu'à 1kΩ)
  18. * 1x LED Strip wb2812b
  19. * 1x Transformateur AC-DC 220v-5v
  20. Médias
  21. ======
  22. ![Fritzing BreadBoard](mqttfastled_bb.png)
  23. ![IRL](irl1.jpg)