al-one / hass-xiaomi-miot

Automatic integrate all Xiaomi devices to HomeAssistant via miot-spec, support Wi-Fi, BLE, ZigBee devices. 小米米家智能家居设备接入Hass集成
https://miot-spec.com
Apache License 2.0
4.46k stars 627 forks source link

Battery levels are not displayed #1453

Open javifly opened 9 months ago

javifly commented 9 months ago

The battery level of any Xioami device is not detected. Neither in version 0.7.13 nor in version 0.7.14, why is that?

image

javifly commented 9 months ago

the sensors that I understand that the battery should be marked for me are:

lumi.sensor_ht.v1 (temperature and humidity sensor) lumi.sensor_magnet.v2 (door and window sensor) lumi.sensor_motion.v2 (motion sensor) lumi.sensor_wleak.aq1 (Flood Sensor)

Does anyone have any idea why they don't show battery?

javifly commented 8 months ago

Does no one else have this same problem, is it just me?

javifly commented 7 months ago

I have tried another integration, instead of using Xiaomi Miot Auto I have used the default one in HA the Xiaomi Gateway (Aqara) and it does show me the battery values of my local devices.

image image
MaximeNagel commented 7 months ago

On my side I can see the battery displayed but information is useless as it's always 100%

image Only my Zigbee switch seems to display proper information of battey

javifly commented 7 months ago

I have changed integration to connect my HA to my xioami computers in local network. I have left hass-xiaomi-miot for the non-zigbee devices, but I have connected the zigbee devices with the native integration and it seems to work much better.

image