Dosing events from ...
 
Notifications
Clear all

[Solved] Dosing events from pH - EC script are duplicated  

Page 2 / 2

Kyle Gabriel
(@kylegabriel)
Member Admin
Joined: 6 years ago
Posts: 429
 

I released 8.8.2 today that incorporates a fix. Go ahead and upgrade and see if the issue persists.

Mycodo Developer


ReplyQuote
kppc
 kppc
(@kppc)
Eminent Member
Joined: 6 months ago
Posts: 28
Topic starter  

Working great! Thanks!


ReplyQuote
in03
 in03
(@in03)
Active Member
Joined: 2 months ago
Posts: 7
 

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 😉 


ReplyQuote
Kyle Gabriel
(@kylegabriel)
Member Admin
Joined: 6 years ago
Posts: 429

ReplyQuote
in03
 in03
(@in03)
Active Member
Joined: 2 months ago
Posts: 7
 

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?


ReplyQuote
Kyle Gabriel
(@kylegabriel)
Member Admin
Joined: 6 years ago
Posts: 429
 

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 ;)

Mycodo Developer


ReplyQuote
in03
 in03
(@in03)
Active Member
Joined: 2 months ago
Posts: 7
 

@kylegabriel Whoops! My bad 😆 So it is: https://github.com/kizniche/Mycodo#my-projects


ReplyQuote
kppc
 kppc
(@kppc)
Eminent Member
Joined: 6 months ago
Posts: 28
Topic starter  

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.


ReplyQuote
Page 2 / 2