Hey Blade, I'm wondering it is possible somehow to amalgamate dawn/dusk sensors like using active zones with motion detectors.
I'm trying to create a virtual device of "Is Dark" which I'd like to take the data from all the of light sensors and determine if one of them is light or dark. If so, then set the status of the virtual device appropriately. I only care that one of the group of sensors is either light or dark to set this flag.
I've tried setting up events such as
But I get conflicts as invariably one sensor will still be light while the other 3 show dark causing homeseer to fire ON,OFF,ON,OFF repeatedly to the virtual device.
any help would be appreciated!
Cheers,
M
I'm trying to create a virtual device of "Is Dark" which I'd like to take the data from all the of light sensors and determine if one of them is light or dark. If so, then set the status of the virtual device appropriately. I only care that one of the group of sensors is either light or dark to set this flag.
I've tried setting up events such as
Code:
"If light sensor 1 value within range [0...3000] OR If light sensor 2 value within range [0...3000] OR If light sensor 3 etc" then device "Is Dark" to ON
Code:
"If light sensor 1 value within range [3001...10000] OR If light sensor 2 value within range [3001...10000] OR If light sensor 3 etc" then device "Is Dark" to OFF
any help would be appreciated!
Cheers,
M
Comment