[Solved] Dosing events from pH - EC script are duplicated
I released 8.8.2 today that incorporates a fix. Go ahead and upgrade and see if the issue persists.
Working great! Thanks!
Hey guys, I've been scouring the Mycodo documentation and I haven't been able to find that example dosing script that you used @kppc. Do you remember where you got it from? Was it in the documentation? I do remember happening upon it somewhere other than this forum thread. Also thought I should let you know your email address is visible in that screenshot of your conditional statement, Kev 😉
That's the one! Thanks Kyle. What a treasure trove. Would it be worth adding that to the Github readme with the other documentation links?
It is in the readme at the top of the My Projects list, the video is in the Featured section, and there's a link in the screenshot caption in the Features list. Not sure how I could advertise it any more ;)
Here is my version of the .py code. I added a conditional check that ensures that water is flowing in the sample container past the sensors before allowing the system to dose any chemicals. Since the measured water flow is coming from the pump that runs the entire hydroponic system, this has a secondary benefit of sending an email if the water flow stops. While we haven't had a main pump failure, it is nice to know that our plants will not die due to a lack of water. We have 1000 lettuce plants on this system.
Here is the link to this code.