domoticz-zigbee2mqtt-plugin
domoticz-zigbee2mqtt-plugin copied to clipboard
Xiaomi Aqara devices with temperature/humudity not updating in Domoticz
Issue description I have a few Xiaomi Aqara temperature sensors. Alle of there sensors stopped updating it's temperature and humudity in Domoticz. The Zigbee2MQTT interface is showing the correct values. If i check my devices in Domoticz, it showed up as "0x00158d0002c77714_th" This device doesn't have the correct values. The device "0x00158d0002c77714" has the correct values. Howver, i always use the _the device which only shows temp and humity (and not the device that shows pressure)
Additional information Zigbee2MQTT version: 1.22.1 (and also tried latest dev: 1.22.1-dev commit: b0585172) Python version: pi@domoticz:~ $ python --version: Python 2.7.16 | pi@domoticz:~ $ python3 --version: Python 3.7.3 Domoticz version: Version: 2021.1 (build 13949) Plugin version: 3.1.0 BETA
For example, as you can see, the device ending with "_th" isn't updated anymore:
Zigbee2MQTT Web Gui is showing the correct values:
It looks like it stopped working around 9 december. Can't remember what exaclty changed. I think it whas the update to Zigbee2MQTT version 1.22.1 and the latest BETA plugin of Zigbee2MQTT plugin. Howver, it shows up correctly in Zigbee2MQTT web gui, so i think there is something broken in the plugin.
Yeah stas, can you please fix this? The "_th" devices are not used any longer. I don't need pressure, so I would like to have them back if possible. See this commit WSDCGQ11LM is the device. So that it adds/creates (Temperature + Humidity + Barometer) for a thb device, but also a (Temperature + Humidity)?
Try to just remove this _th
device from Domoticz and restart the plugin, after that plugin should re-create the broken device
When removing the device i will lose all history. Is there an other option to fix this?
Try to just remove this
_th
device from Domoticz and restart the plugin, after that plugin should re-create the broken device
AFAIK it only creates a T+H+B device and not a T+H device. Is that correct?
I removed 3 temperature sensors and restarted Domoticz to get them recreated.
They all show this information (so no temp and so on):
It didn't work for me neither, but did you wait at least 50 minutes to receive a device update? Aqara/Xiaomi battery devices send data every 50 minutes.
Yes, thank you. I see most of them are updated now. 2 are missing and i think their battery needs to be replaced. But what happend with the plugin? Looks like things has changed since i don't have _th devices anymore. They all show their zigbee address as id an the plugin creates unit numbers.
Any update on this? Are temp+hum devices created again or only temp+hum+bar? I'm still on v3.0 because of this...
I'm on latest beta 3.1. i removed the devices and they are recreated and after this they are working again. You will lose your history by recreating the devices.
Are they created as temp + humidity only or as temp + humidity + barometer? Or both?
I have: Temp Temp + Humidity Humidity Temp + Humidity + Baro Baro
@stas-demydiuk can we get the _th device back again? year ago or so we also asked for it. You made the _th device back. Don't want to deleted it because of the log of 4 years and longer. It makes now an thb device, but you can't replace those in domoticz.
@rolfie23, I have updated and the plugin created a temp, hum, barom, temp+hum and a temp+hum+barom device for each Aqara temperature sensor. I'm on the latest commit. Working fine except the SQL errors, but everything works.
@rolfie23, I have updated and the plugin created a temp, hum, barom, temp+hum and a temp+hum+barom device for each Aqara temperature sensor. I'm on the latest commit. Working fine except the SQL errors, but everything works.
Okay, here that didn't happen. Going to look when I have some time. Reverted back to dev branche, errors also gone. Definitely not stable yet.
This is what 1 of my Aqara tempsensors looks like on the latest plugin version:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.