Is there any way to tell if a ~ response was based on system-generated activities or from a query by another system?
As in, if I wanted to check the state of a zone's occupancy, but I also had something monitoring the repeater, how would I avoid conflict?
The scenario being I want to check the state of a zone that has an occupancy sensor. To do so I'd use the ?GROUP,ID,3 command, correct? That would return a ~GROUP,ID,STATE (3 or 4) based on what the system knows of it.
However, the system itself will also send a ~GROUP,ID,STATE when a zone changes on it's own. Either from a sensor or a rollback.
I think this has come up before with regarding to being able to tell the difference between queried results and system activity.
Is there a way to differentiate between queries and actual activity?