Working with electronics can be fun and also frustrating at times. The most common issues that arise with MudPi are improper wire connections or incorrect format in the configuration. If you run in to trouble running MudPi, don't give up! Included are several methods and tools to help debug.
I included two folders
debug for helping make sure things are working correctly. They include a few checks for sensor reads, communication between devices and GPIO tests.
Simply cd into the folder and run the script using python3
cd path/to/mudpi/debug python3 blink.py
These scripts can help test features like simple GPIO writing to checking communication between node modules.
While I was creating MudPi there was a ton of debugging along the way. I experienced a bunch of odd behavior that ranged from bugs in code, weird things due to small electronics, and still unknowns (aka leaving solder flux on connections...).
Here are a few things I ran into worth noting:
delcommand and check for it the keys existance in MudPi.
If you find a bug and want to propose a solution I greatly welcome any contributions. MudPi is still being developed and can use your support. Open a pull request in the repo.