EDIT: Forked from https://forum.pimatic.org/topic/3223/no-variable-in-battery-level-rule
Hi,
with which protocol do you get the output of the battery for a contact sensor?
I have two contact sensors gs-iwds07 and they are working fine with the protocol contact4. The provided answer is like the following format.
debug: contact4: { id: 44261, contact: true, lowBattery: false }
debug: contact4: { id: 44261, contact: true, lowBattery: true }
But as I can see there is no variable set like $fenster.battery nor $fenster.lowbattry. I only can find the state info
$fenster.contact = true
Perhaps it is easy to implement if it’s not provided by now. But I don’t know where to start…