2017-03-02 17:04:06 +01:00
2017-03-02 17:03:27 +01:00
2017-03-02 17:03:27 +01:00
2017-03-02 17:03:27 +01:00
2017-03-02 17:03:27 +01:00
2017-03-02 17:03:27 +01:00
2017-03-02 17:03:27 +01:00
2017-03-02 17:03:27 +01:00
2017-03-02 17:03:27 +01:00

Introduction

Le but est d'avoir un selecteur d'effet + mode off.
Pour lancer l'effet sur le LED Strip@D1 (GPIO5) :

mosquitto_pub -d -u "<USER>" -P "<PASS>" -t "<TOPIC>" -m "ON"

Pour l'arreter :

mosquitto_pub -d -u "<USER>" -P "<PASS>" -t "<TOPIC>" -m "OFF"

Un exemple de configuration pour home-assistant se trouve dans ha_configuration.yml.

Matériel

  • 1x ESP8266 Lolin (Nodemcu v3)
  • 1x Breadboard
  • 1x Resistance 220Ω (jusqu'à 1kΩ)
  • 1x Condensateur 1000μF
  • 1x LED Strip wb2812b
  • 1x Logic Level Translator
  • 1x Transformateur AC-DC 220v-5v

Médias

Fritzing BreadBoard IRL

Description
Bandeau de LEDs contrôlable (puissance, couleur, effet) au travers de Home Assistant
Readme 914 KiB
Languages
C++ 100%