Quote:The signals (blinker signals) are notifications broadcast by SIP that can be used by plugins to trigger functions but they do not trigger functions in the core sip code.
So long as overriding gv.rs is the correct way to suppress a program I'm good.
Quote:As far as determining what triggered a program the gv.pon variable should hold the program number but it does not work for Run Now or Run Once. I will look into adding those.
There are 3 special program numbers:
98 = Run-once Program
99 = Manual mode
100 = Node-red
I will try to add a way to determine if a program was started with Run Now rather than by the start time.
Thanks, that will be very helpful.
In the meantime I'm making progress and I have two basic plugins (Moisture Sensor Control / Moisture Sensor Data MQTT) that:
- Gather moisture readings regularly from sensors via MQTT
- Assign afore mentioned sensors to stations
- Suppress programs based on the assigned sensor value
- UI data validation and backend error handling
- Add missing functionality like Reading path / Enable / Retention period / Stale reading