Adapted from https://github.com/eXtgmA/HiGrow/ with following changes:
- change code structure for Platform.io instead of Android IDE
- return json instead of html
- disabled mqtt and bluetoot stuff
- disabled the deep sleep features because deprecated (also it seems the device does not work well on battery)
- moved SSID and password to separate file
secrets.h
- Install platform.io
pio lib install
- copy
include/secrets.h.sample
tosecrets.h
and fill in your wifi credentials - flash the device:
- adapt
platform.io
config, e.g. setupload_port
- build and upload (on arch, no need to press a button or anything)
- adapt
https://hackaday.io/project/25253-higrow-plants-monitoring-sensor
Note: there seem to be a new version of the board:
- Prometheus for data collection
- Grafana for dashboard and alerting