I am using the nitrogen logic depth camera controllers with the xap plugin in my occupancy setup but I am wondering how I can get it to control the event based on occupancy and light level, they are both provided in the xap message but I'm not sure how to set them up in an event. I currently have them working with occupancy only but cant figure out how to get the brightness added to the event.
This is an example of the message provided.
xap-header
{
v=12
hop=1
uid=FF528001
class=xapbsc.event
source=n2l.depth.logic.controller.01.b9.41:master_bed_4
}
input.state
{
State=OFF
Level=116/1000
}
I currently can get it to control the light based on level which is the brightness in the room or the the state which is reported on or off, Can I incorporate but of them in an event so that for instance when the room is occupied and the light level is lower than the set level it will turn on the light.
Thanks Ken
This is an example of the message provided.
xap-header
{
v=12
hop=1
uid=FF528001
class=xapbsc.event
source=n2l.depth.logic.controller.01.b9.41:master_bed_4
}
input.state
{
State=OFF
Level=116/1000
}
I currently can get it to control the light based on level which is the brightness in the room or the the state which is reported on or off, Can I incorporate but of them in an event so that for instance when the room is occupied and the light level is lower than the set level it will turn on the light.
Thanks Ken
Comment