OpenSprinkler Forums OpenSprinkler Unified Firmware Announcing OpenSprinkler Unified Firmware 2.1.9 Reply To: Announcing OpenSprinkler Unified Firmware 2.1.9



You can debug this way:
first, you need to stop the process from running in the background, which you can do by following:
sudo /etc/init.d/ stop

then, in the firmware source file folder, there is a file called “defines.h”, which has a macro define ENABLE_DEBUG
uncomment that line to enable command line printout. Next, re-compile the firmware by:
./ ospi

finally, run it in command line by:
sudo ./OpenSprinkler
this will run the firmware manually, and it should print out debugging information.

Edit: just realized that after running ./ ospi it might start the process in the background again. So if you encounter any problem running the firmware, you can do sudo /etc/init.d/ stop again to stop the background process.