/ESPNowMQTT

Primary LanguageC++MIT LicenseMIT

ESPNow to MQTT Code

Build Status License: MIT version LastCommit

ESPNowMQTT

Please enter appropiate values in config.h, default platformio.ini is ESP8266 code for ESPNowMQTT

Server Code (ESPNow to MQTT)

ESPNowMQTT

This is the code that reads ESPNow messages and transforms it to MQTT via WiFi.

Edit appropiate line in platformio.ini

src_dir = ./Arduino/ESPNowMQTT

Note: This stays continously connected to WiFi and receives ESPNow messages continously.

Very IMPORTANT: ESPNow channel must be same as WiFi channel of your home router!

Sensor Code (ESPNow data sent)

ESPNowSender

This code sends ESPNow data to ESPNow server. So this can be a sensor reading.

Edit appropiate line in platformio.ini

src_dir = ./Arduino/ESPNowSender

Libraries Needed

platformio.ini is included, use PlatformIO and it will take care of installing the following libraries.

Library Link Platform
MQTT https://github.com/256dpi/arduino-mqtt ESP8266/32
ArduinoJson https://github.com/bblanchon/ArduinoJson ESP8266/32