Documentation ¶
Overview ¶
This is a sensor station that uses a ESP8266 or ESP32 running on the device UART1. It creates an MQTT connection that publishes a message every second to an MQTT broker.
In other words: Your computer <--> UART0 <--> MCU <--> UART1 <--> ESP8266 <--> Internet <--> MQTT broker.
You must also install the Paho MQTT package to build this program:
go get -u github.com/eclipse/paho.mqtt.golang
Click to show internal directories.
Click to hide internal directories.