Close

Mud-Py on a Pi

A project log for Soil moisture monitoring in a flower garden

When do your flowers have enough water, and how do you know?

joseph-eoffJoseph Eoff 03/23/2021 at 22:330 Comments

It has taken me two evenings in a row, but I got the Mud-Py Django site running on my Raspberry Pi.


It was trickier than I expected.  I ended up following several tutorials in order to get the Mud-Py site to run under NGINX and to start when the Pi boots.


Here's the Mud-Py Zone editor served by the Pi:


Yeah, it looks just like the Zone editor served on my computer - but that's what it is supposed to do.

I went ahead and setup the Mud-Py MQTT Bridge as a service on the Py and pointed one of the ESP32 nodes at it.

The control node connects, no problem, and reads data from the sensor:

Almost there.  I've got a few small things to clean up in the software (a configuration file for the bridge) and then get all the sensors and nodes out in the yard.

Documenting how you get all the pieces to play together is going to be FUN (not.)  That'll almost be a project by itself.  The setup and a list of all the associated libraries will go in a wiki in the Mud-Py GitHub repository.

Discussions