Status Door Contact
Posted: Monday 29 April 2019 20:26
Hi All,
I have multiple z-wave door contacts.
I use LUA to check on some of them how long they are open, and take action on that.
First I look at the status of the contact, and if it is Open then do something.
In general that works fine, but for two contacts the status queried by LUA gives me the battery level instead of the OPn/Close status.
The affected sensors are from Fibaro, the type is FIBARO System FGK101 Door Opening Sensor.
So for the Fibaro "StatusPoortSensor = otherdevices['Poort Sensor']" gives me the BatteryLevel.
And for the Vision Security Unknown: type=2001, id=0103 "StatusGarageSensor = otherdevices['Garage Sensor 01 Door Contact']" gives me the Open/Close status.
While writing and testing this I noticed for a Philio Technology Corp PST02-C Door/Window 3 in 1 sensor+ it reports also the battery level.
Hope someone can shed a light on this.
With Regards
Peer
I have multiple z-wave door contacts.
I use LUA to check on some of them how long they are open, and take action on that.
First I look at the status of the contact, and if it is Open then do something.
In general that works fine, but for two contacts the status queried by LUA gives me the battery level instead of the OPn/Close status.
The affected sensors are from Fibaro, the type is FIBARO System FGK101 Door Opening Sensor.
So for the Fibaro "StatusPoortSensor = otherdevices['Poort Sensor']" gives me the BatteryLevel.
And for the Vision Security Unknown: type=2001, id=0103 "StatusGarageSensor = otherdevices['Garage Sensor 01 Door Contact']" gives me the Open/Close status.
While writing and testing this I noticed for a Philio Technology Corp PST02-C Door/Window 3 in 1 sensor+ it reports also the battery level.
Hope someone can shed a light on this.
With Regards
Peer