2024 Jan 17, 01:30 PM
After playing around quite a bit it seems that
in which case it would seem that the following documentation is wrong as gv.srvals should be gv.rs
"stations_scheduled a program is started (Scheduled or "run now"), or station is manually started (check gv.srvals for stations set to run))"
Is there a way to determine if a station was triggered by schedule/Run Now or Run Once?
The reason I ask is that while it makes sense to suppress a Schedule it might not make sense to suppress a Run Now and it does not make sense to suppress a Run Once.
- srvals is set on signal zone_change and not on stations_changed
- rs is set on signal stations_scheduled
- setting rs[x] to [0, 0, 0, 0] will stop the schedule from running on station x
in which case it would seem that the following documentation is wrong as gv.srvals should be gv.rs
"stations_scheduled a program is started (Scheduled or "run now"), or station is manually started (check gv.srvals for stations set to run))"
Is there a way to determine if a station was triggered by schedule/Run Now or Run Once?
The reason I ask is that while it makes sense to suppress a Schedule it might not make sense to suppress a Run Now and it does not make sense to suppress a Run Once.