Requirements:
- ESP8266 Module
- Arduino core for ESP8266 (version 2.2.0 minimum)
- Basic knowledge of the Arduino environment (upload a sketch, import libraries, ...)
- Build image and run container (first time)
make run
- Start container on interactive mode
make start-i
- Start container on detached mode (background)
make start-d
- Stop container
make stop
- Download PubSubClient library
- Load the
.zip
with Sketch → Include Library → Add .ZIP Library
- Open esp8266_mqtt.ino, set your BROKER_IP_SERVER at line 11 and upload
Navigate to http://localhost