|
Post by pmoise on Apr 5, 2019 0:38:24 GMT -8
Hello, This system is really awesome, working now for some weeks. I am looking to change the duration for pump when watering (actually it is some seconds, I'd like to increase this value) I looked into the forum the same question exist for Smartp plant pi but unable to find those settings in SGS.py
Thanks for your help
Pascal
|
|
|
Post by SDL on Apr 5, 2019 8:54:50 GMT -8
Pascal,
Line 219 of SGS.py
pumpWater(2.0, plantNumber)
2.0 is the number of seconds to pump.
Post some pictures!
BP
|
|
|
Post by pmoise on Apr 25, 2019 23:35:54 GMT -8
Hello, thank you very much for pointing me in the right direction, it works
Regards
|
|
jared
New Member
Posts: 5
|
Post by jared on Apr 28, 2019 18:15:02 GMT -8
I found this value to be very useful in stringing together multiple plants with some irrigation line. I intend to do multiple pumps at some point, just haven't gotten there yet.
|
|
ab
New Member
Posts: 16
Raspberry Pi: Yes
|
Post by ab on Jun 8, 2019 19:21:46 GMT -8
Hi, that's useful to see how we control the pump duration, but how do you change the frequency of pump operation? I am having some trouble with the program crashing, which seems to be related to invoking the Blynk system.
Ever since I configured Blynk, I'm finding that the pump turns on, then the program crashes, with the pump on (it never gets turned off).
So, I would like to speed up this sequence for testing purposes, instead of having to wait for 15 minutes.
Tks, AB
|
|
|
Post by SDL on Jun 10, 2019 7:14:01 GMT -8
AB,
Here is where you can change that in SGS.py:
Line 1213/1214
# check and water scheduler.add_job(checkAndWater, 'interval', minutes=15) Change the 15 minutes to something less.
BP
|
|
ab
New Member
Posts: 16
Raspberry Pi: Yes
|
Post by ab on Jun 10, 2019 10:23:53 GMT -8
Hi, that's perfect, thank you. I have isolated the "crashing" problem, but I'm not sure if it really is "crashing", so I'm wondering about what behavior I should be expecting. If I just monitor the system with Blynk, it works great (very sweet app, by the way). The problem occurs when I try to CONTROL the system. If I hit the 'water plant' button, the LED strip starts 'rainbowing' through its various colors (one LED is defective, btw), and it seems to get stuck there. I had to reset the system to get it re-started, it would not resume the normal program after I turned off the plant watering button. What should I expect to happen? Regards, AB
|
|
ab
New Member
Posts: 16
Raspberry Pi: Yes
|
Post by ab on Jul 6, 2019 11:00:31 GMT -8
Hi, will it be possible to get an answer to the above question? It was posted nearly a month ago.
Tks, AB
|
|
|
Post by SDL on Jul 7, 2019 10:37:24 GMT -8
Whoops! Fell through the crack. First of all, tell me what version of SGS.py you are using? Make sure you have the latest version (V009 is the latest version). Make sure you are using conflocal.py and then do a "git pull" if you are aren't running V009. The manual watering function works for us. Next, get into your Blynk app and stop the app and go into the CONTROL page. You should see this. Check the "V" numbers (like "V41") and make sure they match the attached picture. Report back what you find. BP Attachments:
|
|