2020 Jun 04, 05:45 PM
Hi!
I have just installed SIP and sold the old Hunter controller. We live by a small river not far from the sea. Depending on the current in the river and the wind at sea we sometimes have fresh water and sometimes saltwater in the river.
As our well for the irrigation is not giving enough water I decided to take water for the irrigation from the river. But using saltwater for irrigation is not good at all, don’t ask me how I know... Therefore I bought an electrical conductivity meter and I have written a plugin for SIP to check the salinity level of the water in the river.
The plugin acts more or less as a rain sensor for now. It’s stops the running programs and reports rain sensed to the main SIP program. This is not optimal as what I really want to do is to postpone the program 24 hours and try to run the next night. Is there a way to do this? Optimally I would just let the programs to run every third night, postponing if salt is detected.
My second question is about getting information about the next scheduled programs start time. To prolong the life of this expensive probe the plugin is only checking the salinity level 15 minutes before the program starts and goes to sleep when the program is finished. This is right now hard coded into the plugin, which is not a very elegant solution. Is there a way to get information about the start time of the next program before it starts? The sensor needs some time to calibrate itself before getting correct readings. Also I don’t want salt water in the system if possible.
Thank you for any input!
I have just installed SIP and sold the old Hunter controller. We live by a small river not far from the sea. Depending on the current in the river and the wind at sea we sometimes have fresh water and sometimes saltwater in the river.
As our well for the irrigation is not giving enough water I decided to take water for the irrigation from the river. But using saltwater for irrigation is not good at all, don’t ask me how I know... Therefore I bought an electrical conductivity meter and I have written a plugin for SIP to check the salinity level of the water in the river.
The plugin acts more or less as a rain sensor for now. It’s stops the running programs and reports rain sensed to the main SIP program. This is not optimal as what I really want to do is to postpone the program 24 hours and try to run the next night. Is there a way to do this? Optimally I would just let the programs to run every third night, postponing if salt is detected.
My second question is about getting information about the next scheduled programs start time. To prolong the life of this expensive probe the plugin is only checking the salinity level 15 minutes before the program starts and goes to sleep when the program is finished. This is right now hard coded into the plugin, which is not a very elegant solution. Is there a way to get information about the start time of the next program before it starts? The sensor needs some time to calibrate itself before getting correct readings. Also I don’t want salt water in the system if possible.
Thank you for any input!