Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Details for how Rain Sensor works
#8
(2023 May 28, 01:45 PM)dan Wrote: Bryan ,

Sounds like what you are looking for to stop running stations is the "stop_stations()" function from the helpers python  module in SIP. Or the GET command  "/cv?pw=xxx{&rsn=1}".

These have the same effect as clicking the "'stop all stations" button on the SIP home page. It stops any running stations until the next scheduled run occurs. If the rain sensor is active when the next program is scheduled it will not run.

Dan

Dan,

   Thanks for the response. So in my plugin I just use "from helpers import stop_stations" and then just execute that based on a logical check inside my plugin if I have rain detection from the weather station. Sounds great, thanks again.

Bryan
Reply


Messages In This Thread
Details for how Rain Sensor works - by tutqiunnh - 2022 Oct 25, 09:25 PM
RE: Details for how Rain Sensor works - by dan - 2022 Oct 25, 09:57 PM
RE: Details for how Rain Sensor works - by dan - 2022 Oct 26, 03:29 PM
RE: Details for how Rain Sensor works - by dan - 2023 May 28, 01:45 PM
RE: Details for how Rain Sensor works - by tutqiunnh - 2023 May 28, 10:57 PM
RE: Details for how Rain Sensor works - by dan - 2023 Aug 26, 02:58 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)