Is it possible to run one event based upon the the status change of a number of devices without using RegisterStatusChangeCB?
I have a bunch of HSM100s throughout the house and I'm creating a virtual device which basically shows if the house is occupied or not. If the house is unoccupied then I want it to run a script that I've written to simulate occupancy.
Basically I need to run an event when any one of my 12 HSMs change status and do NOT want 12 separate events each running the same script. This script will then check for "Motion" or "No Motion" on the devices and update the virtual device accordingly.
I'm not keen on using RegisterStatuChangeCB as it will run the script on ANY status change and I can only imagine the overhead that this will cause.
Any help or ideas would be greatly appreciated.
Cheers!
I have a bunch of HSM100s throughout the house and I'm creating a virtual device which basically shows if the house is occupied or not. If the house is unoccupied then I want it to run a script that I've written to simulate occupancy.
Basically I need to run an event when any one of my 12 HSMs change status and do NOT want 12 separate events each running the same script. This script will then check for "Motion" or "No Motion" on the devices and update the virtual device accordingly.
I'm not keen on using RegisterStatuChangeCB as it will run the script on ANY status change and I can only imagine the overhead that this will cause.
Any help or ideas would be greatly appreciated.
Cheers!
Comment