I like to be in the garden, but I also like to tinker and code. This project is meant to combine both and turn my garden into a weird IoT version: the garden-of-things (GoT). Let us hope that this projects starts off as well as the show but continues steadily instead of ending in a catastrophy.
What hardware is used and how is it set up?
One (or possibly multiple) esp32 units that are equipped with various sensors (to measure e.g. temperature, sun intensity, humidity, ...). The measured values are streamed via MQTT to a home server (e.g. a raspberry pi). The PCB board design can be found ħere.
A raspberry pi that has a mosquitto mqtt broker running on it but also listens for incoming data of the client. Once data is received, it is processed and put into a local postgres database. The data in said database is then visualized in graphs (e.g. by using grafana, kibana or something DIY). I also aim to make this dashboard publicly available by using some DynDNS routing.
Check out the CHANGELOG.md to see what is done and planned for the future.
- Using the client code for the esp32 depends on the following repositories to be installed beforehand:
- https://github.com/markruys/arduino-DHT (Reading the DHT humidity sensor)
- https://github.com/knolleary/pubsubclient (MQTT Protocol for ESP32)