This LUA script is for ESP8266 hardware.
MQTT client publising TSL2561 data to a MQTT broker each time data changes. 🔅
config.lua
: Configuration variablesinit.lua
: Connect to a wifi AP and then execute main.lua filemain.lua
: Main file
- Start a MQTT client and then try to connect to a MQTT broker
- Publish data to MQTT broker each time a data changes
// TODO