I want to place my PIR sensor in the most high traffic area possible, to maximise chance of detection when the system is armed - this seems like a reasonable tactic.
The down side is that while the system is disarmed, people will be triggering the sensor all the time, which will seriously eat into my allowed daily event usage.
I don't want to place unnecessary workload on the PrivateEyePi servers, or flood my dashboard with spurious event logs, so:
Is there a simple way to make the Pi check if it's armed before sending certain updates to the server?
Ideally I'd like to customise it so that some devices (like temp sensors) communicate all the time, while others only push updates to the server if the system is armed.
I'm guessing this will need to be a change in the python code running on the Pi, since changing rules on the dashboard is all server side coding, done after the event is already reported.
Any help would be much appreciated, and hopefully useful to others as well.