edorosh / iot-moisture-sensor

MQTT Moisture Sensor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MQTT Soil Moisure Sensor

Monitors periodically soil moisture level and sends sensor data as string to MQTT server. Tested on NodeMCU V3 and Wemos D1 mini. ESP8266 chip enters sleep mode to save extra eneregy for a battery powered devices.

Circuit

TODO

Configuration

Please copy file Config.h.local into Config.h and define your MQTT and Network credentials there before building the firmware. The firmware expectsusing static IP address to save a battery energy. OTA is not implemented on purpose since it doesn't work out of the box in a deep sleep mode.

Make sure not to commit your credentials to Git. Config.h is ignored in file .gitignore.

TODO

  • Enable local AP mode to change WiFi creds without firmwaring it

About

MQTT Moisture Sensor

License:MIT License


Languages

Language:C++ 84.2%Language:C 14.0%Language:Objective-C 1.8%