Basic starter template as a good point to start a new script based on an ESP8266/ NodeMCU. Implement your own sensor and publish it's data to MQTT.
- WiFi connection/ reconnection
- MQTT connection/ reconnection
- Publish and subscrice to MQTT topics to send data or listen for remote calls