Bandeau de LEDs contrôlable (puissance, couleur, effet) au travers de Home Assistant
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.

30 lines
731 B

3 years ago
  1. Introduction
  2. ============
  3. Le but est d'avoir un selecteur d'effet + mode off.
  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 Condensateur 1000μF
  19. * 1x LED Strip wb2812b
  20. * 1x Logic Level Translator
  21. * 1x Transformateur AC-DC 220v-5v
  22. Médias
  23. ======
  24. ![Fritzing BreadBoard](mqttfastledmenu_bb.png)
  25. ![IRL](irl1.jpg)