Go to file
informatic 0bba170041 Update README 2016-08-30 21:47:42 +02:00
common Initial OTA implementation 2016-08-30 21:24:34 +02:00
light Add switch debouncing, LWT support, change topic 2015-12-27 13:30:10 +01:00
master Initial OTA implementation 2016-08-30 21:24:34 +02:00
spejsiot Initial OTA implementation 2016-08-30 21:24:34 +02:00
switch Initial OTA implementation 2016-08-30 21:24:34 +02:00
.gitignore Initial commit 2015-12-27 00:58:01 +01:00
README.md Update README 2016-08-30 21:47:42 +02:00

README.md

mqtt-playground

This repository is a storage for my mqtt and IoT (( ͡° ͜ʖ ͡°)) playground.

Hardware

Current tests involve NodeMCU ESP12-E/ESP8266 boards. Switch is activated with GPIO0 (FLASH button on NodeMCU) and light is connected to GPIO2, where blue LED is directly connected on ESP-12E module.

Software

Mosquitto contained in docker is used as a broker. ESP8266 code uses Sming framework. Set your Wifi configuration in common/common_config.h (used by both switch and light)

Thoughts

Oh my, that's slow.^W^Wquite fast, when patched properly.

WARNING! Sming.reset(); jumps to (serial) bootloader right after flashing. This causes OTA to fail with wdt reset. External RESET assert is required after flashing.