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.
|
|
3 years ago | |
|---|---|---|
| .gitignore | 3 years ago | |
| .gitlab-ci.yml | 3 years ago | |
| IMG_0214.jpg | 3 years ago | |
| README.md | 3 years ago | |
| ha_configuration.yml | 3 years ago | |
| logo.png | 3 years ago | |
| mqttled.example.h | 3 years ago | |
| mqttled.fzz | 3 years ago | |
| mqttled.ino | 3 years ago | |
| mqttled_bb.png | 3 years ago | |
README.md
Introduction
Simple blink qui toggle la led à chaque appel MQTT.
Pour mettre la LED du port D0 à ON :
mosquitto_pub -d -u "<USER>" -P "<PASS>" -t "<TOPIC>" -m "ON"
Pour la mettre à Off :
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 LED

