OK, this is hard to explain, so please bear with me....
I'm using the DS10A on my fridge door. The idea is to complain when the door has been accidentally left open.
I use hs.devicevaluesadd to make 'closed' = 2 and 'open' = 1, and devicevaluegraphicsadd to have clever icons for closed/open.
OK, now, in order to use 1 and 2 as the device values, I must set 'Full Function' on the device's properties in the W800 configuration. (2 means normal, 1 means alert)
However, with that configuration set, I can't make a trigger 'has been on for at least' in order to generate an alarm if the door has been 'open for at least x minutes'
The only triggers available are device condition None, Alert, Normal, Communication Failure or Any Value
IF I change the property to 'X10 On Off only', the event has the 'On for at least' trigger, but the device VALUE is always 100, so I can't use icons or 'closed/open' in hs.devicevaluesadd.
Can the plugin set the device value to 0 for off and 100 for on? I think 'normal' X10 devices do this don't they?
I'm using the DS10A on my fridge door. The idea is to complain when the door has been accidentally left open.
I use hs.devicevaluesadd to make 'closed' = 2 and 'open' = 1, and devicevaluegraphicsadd to have clever icons for closed/open.
OK, now, in order to use 1 and 2 as the device values, I must set 'Full Function' on the device's properties in the W800 configuration. (2 means normal, 1 means alert)
However, with that configuration set, I can't make a trigger 'has been on for at least' in order to generate an alarm if the door has been 'open for at least x minutes'
The only triggers available are device condition None, Alert, Normal, Communication Failure or Any Value
IF I change the property to 'X10 On Off only', the event has the 'On for at least' trigger, but the device VALUE is always 100, so I can't use icons or 'closed/open' in hs.devicevaluesadd.
Can the plugin set the device value to 0 for off and 100 for on? I think 'normal' X10 devices do this don't they?
Comment