I have a bunch of aqara sensors (door, weather, etc).
They were well discovered form the zigbee binding (latest 2.5.0 snapshot). However none of sensor things got a channel for battery level or battery voltage. How can I get the two channels? Is it possible to add these manually?
And another question. When i try to add a zigbee thing manually (PaperUI) ( Inbox>ZigBee Binding>Choose Thing), I can choose 10 different things, but I can’t choose the Generic ZigBee Device Thing. Is this right?
I have the same issue with the temperature/humidity/pressure sensors. Can the channel be added manually? Under “show properties” of the thing, zigbee_powerlevel = FULL is stated. So it seems to be working. Unfortunately the channel is missing. The Xiaomi Mi Smart Home Binding seems to use this channel, be I don’t want to buy and use the ZigBee - WiFi gateway for only this purpose. The zigbee binding has the battery-level channel implemented, but it is not recognised when the aqara sensors are added. Is there a workaround? I tried to link the channel in the *.items but this doesn’t worked.
Probably these sensors uses a non-standard function to report battery, or they are not reporting their services correctly. Please remember that these devices are not zigbee compliant devices.
If someone has more information, then I’m happy to look at it.
I think that the device doesn’t support the standard ZigBee features, so it won’t be detected by the ZigBee Binding the is looking for standard ZigBee ZCL features. I don’t know this for sure though as I do not have this device so really can’t be sure with no information.
I would need to know what cluster/attribute provides the battery information. I suspect it’s a manufacturer specific feature rather than using the ZCL defined standard.
It probably won’t be easily available in a log. The information might be on the net somewhere, or I’d need to try and work it out by debugging a device directly.
I think the best I could find was some scripts for xiaomi devices. The scripts shows some clusters, and looking at the door/window sensor, it seems like there is a battery as well. (not sure though, I´m no developer). The scripts is for Smartthings… But I would say the clusters are the same, right?
I’d also love to have these channels added. I have a Xiaomi Aqara Temperature and Humidity sensor (the round one) and zigbee2mqtt clearly discovers these properties:
However, only the temperature and humidity readings are available as channels within Openhab.
Obviously I can use zigbee2mqtt and add the sensors using the MQTT binding, but I’d much rather just use the Zigbee binding.
Unfortunately the ZigBee binding is really designed to work with ZigBee devices. For some reason Xiaomi decided not to use standard features for the battery.
Thanks Xiaomi I guess. It always sucks when there’s a standard and a company still decides to do their own thing.
Still, seeing that there seem to be quite a few people having Xiaomi sensors, can we expect the binding to be patched sometime in the future, or is that not going to happen?