Introduction ============ Simple blink qui toggle la led à chaque appel MQTT. Pour mettre la LED du port D0 à ON : ```bash mosquitto_pub -d -u "" -P "" -t "" -m "ON" ``` Pour la mettre à Off : ```bash mosquitto_pub -d -u "" -P "" -t "" -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 Médias ====== ![Fritzing BreadBoard](medias/mqttled_bb.png) ![IRL](medias/IMG_0214.jpg)