What's the difference between device state and device value?
I'm asking because I recently setup 4 HS-MS100+ motion sensors to control the main lights in my shop. I used the default setting for "motion timeout" which is 10 minutes (600 seconds). I used the events and logic posted by macromark.
Here's the situation.
Event #1: Do Things When Motion is Sensed by Either Sensor
IF Motion Sensor 1 changes and becomes Motion...
this works if the motion timeout is a few minutes or less, but not if it is the default setting of 10m. "Changes and Becomes..." is a state change
IF Motion Sensor 1 Motion had its value set to Motion
this works when the motion timeout is 10m which is the default setting. This is a value change.
What's the difference between device state and device value?
I'm asking because I recently setup 4 HS-MS100+ motion sensors to control the main lights in my shop. I used the default setting for "motion timeout" which is 10 minutes (600 seconds). I used the events and logic posted by macromark.
Here's the situation.
Event #1: Do Things When Motion is Sensed by Either Sensor
IF Motion Sensor 1 changes and becomes Motion...
this works if the motion timeout is a few minutes or less, but not if it is the default setting of 10m. "Changes and Becomes..." is a state change
IF Motion Sensor 1 Motion had its value set to Motion
this works when the motion timeout is 10m which is the default setting. This is a value change.
What's the difference between device state and device value?
Comment