Forum Replies Created
-
AuthorPosts
-
samuel.thoravalParticipantHi Ray,
thanks for your answer. Yes I would like to add a fixed amount of time starting from the beginning rather than the end of the rain delay.
I manually verified the log time stamp as my rain sensor can be tested by pressing on top of the sensor and I can assure you the time stamp is when the rain sensor is first activated. In fact I’m glad it does as this is what makes more sense to me (I want to see the message that the rain sensor is activated on the OS GUI and want to know when rain delay started in the logs). Could it be the reason why the watering still occured on my post above the 9th of August? That is, that the code receives the signal when the rain sensor actually starts but the code assumes it is the signal end and triggers the end of the rain delay when it should be the begining? The outcome would be that there is eventually no rain delay. I will make another test soon to double check this.
I pushed the test button on the rain sensor at 16:02:31 displayed on OSPI web interface and waited till 16:05 to release the button. I can clearly see in the logs that the time stamp is 16:02:31 and runtime 2m 34s. Please see the attached screnshoot.
Sorry for the question coming from someone who isn’t used to coding in cpp: is there a way to extend the code with other languages such as python or perl?
My versions:
App Version: 1.8.1
Firmware: 2.1.8 (1)
Hardware version: OSPiBest regards,
SamAttachments:
samuel.thoravalParticipantHi Ray,
actually, the heavy rain started on the 9th 1 to 2 hours before the time stamp from the logs so that the time stamp should indicate when the event started. I’ll pay attention to the next rain and check if I still have the same problem.
What I would like to do is still call the API upon receiving the signal from the rain sensor so that I can autmatically set a software rain delay. If the sensor delay is larger than the software delay – that’s fine! If it is shorter (what happened so far) then I still want to delay further. The logic behind is the region where I live (Provence in south of France) has around 4 months of drought in summer and I favor heavy watering at low frequencies so plants can grow roots in depth, and I also want to save water…
Also I can’t customize the delay on my Toro rain sensor (as far as I understand, and in any case it wouldn’t be precise). It’s a nice feature to bypass the sensor (offered by other irrigation controllers) although I understand I can’t bypass by having a shorter delay – which is not what I want anyway. Bypassing to ensure a minimum delay should still be possible though?!
Any pointers where to find more details how to extend the current software code would be highly appreciated.
Best regards,
Sam
samuel.thoravalParticipantMany thanks for the clarification, Ray!
It rained on the 9th at home and it is logged which is great. The way it is logged is it gives a duration of 1 day 1 hour 45 min and 5 sec, time was 1:32pm and the “station” was the rain sensor.
From this I understand that the rain sensor detected enough rain at 1:32pm to release the signal, and that it dried out around 25 hours later. However my assumption doesn’t look correct as the lawn watering did occur the next day at 5am although I’m not ignoring rain on that station and this is only roughly 15h after rain was detected?! Do I miss some configuration or do I misunderstand the rain sensor logs?
My last question is I’d like to bypass the rain sensor delay and set for instance a 2 days rain delay when rain is detected. Are there any guidance which code bits to change/how to use the software API? What is a good starting documentation for this?
Many thanks for all the help and for the great Open sprinkler Pi!
samuel.thoravalParticipantSame question from me, I don’t understand how the rain sensor will delay the watering. It seems there is no parameters to control this?
Thanks,
Sam
samuel.thoravalParticipantOn latest installed version, if setting the interval (Days) to 1 it complains it must be set between 2 to and 128 Days…. I don’t understand the logic here. What if I want to run the program every day for 15min at the same time? I can only choose 2 Days which means every 2 days…. ?!
Cheers,
Sam -
AuthorPosts