OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › Interval – Plugin development › Re: Re: Interval – Plugin development
May 7, 2014 at 7:24 pm #26644
The gv.rs is rain sense bit which should reflect if the rain sensor is on/off. The gv.ps is station status in regard to programs. It is an array of all stations and each element is 2 numbers (first is program id and second is seconds left).
The program ID indicates a user program ID (1,2,3,etc), manual program (99 or 255) or a run-once program (98 or 254). A program ID of 0 means no programmed is scheduled to run on that station.
You can compare this information with the current status of each valve. This would allow to the discern between an open valve versus a scheduled valve opening.