Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Best method to postpone program
#4
(2020 Jun 05, 03:05 PM)dan Wrote: I forgot to mention that the blinker module included with SIP broadcasts a signal when a program is scheduled.
That signal can be used to run a function in a plugin. See the signaling_examples.py file in the plugins folder.

I have not tested this idea but you may be able to use the stations_scheduled signal to run a function that would add to the start and stop times in  gv.rs to delay the program long enough to run your conductivity measurement.

Hi Dan,

Thank you for your suggestions. The problem with the rain delay is that the programs scheduled to run during the rain delay are being cancelled during the rain delay and then they will run at next scheduled start time. Am I right? I just want the program to run the next night instead. 

An alternative for me would be to schedule the program every night. If there is salt in the water I will just add a rain delay of a couple of hours. Then the program will be run the next night if possible. Upon a successful program run I can add a rain delay of say 68 hours. Then there will be no program run the next two nights. 

Johan
Reply


Messages In This Thread
Best method to postpone program - by johan456 - 2020 Jun 04, 05:45 PM
RE: Best method to postpone program - by dan - 2020 Jun 04, 08:15 PM
RE: Best method to postpone program - by dan - 2020 Jun 05, 03:05 PM
RE: Best method to postpone program - by johan456 - 2020 Jun 07, 06:25 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)