Open NeoBlack opened 1 month ago
Hi, i looked at you initial issue with the wireless window sensor, I see a batteryVoltage attribute in the free@home dump. Maybe we can use this?
Yes, you are right. In the XML dump, I see the attributes batteryStatus="FF" batteryLow="false"
and an attribute node:
<attribute name="batteryVoltage">2.98389</attribute>
I have no idea what the value FF
means, and I can't find a percentage value for the battery in the XML dump. But at least two of the three values (batteryVoltage and batteryLow) are useful information.
Just two possibilities to think about (only a shot in the dark):
But these are just guesses. I don't have such devices to test
I tried to get a new dump from my door sensors, but with the new firmware, I can't find the monitor/dump view anymore. Where can I find it in the current firmware? Then, I could check different devices and validate the hex representation theory.
Can you get the battery level (percent of level) for the door/window sensors? Free@Home self has no good battery level information. Most of the time, I don't recognize that the battery is low, and then I get a message from Free@Home that the device is offline. Yeah!!!
free@home shows the battery level and battery voltage in the device configuration:
With the local API, I tried to get the value, but the response did not contain the battery data:
If this integration can provide this data, I could create automation to monitor and warn before the device goes offline.