Hello everybody.
I’ve just recived an aqara motion sensor.
I’ve noticed that apart the binary motion sensor and the lux one, it has also a temperature one.
The problem is that the last one has a completely uncorrect value since it says there are 29° C when a aqara multisensor gives me 19°C (which is more correct).
Am I the only one who has this difference of 10 degrees?
I have several, the temp variations are fro 2 - 7 degrees. They also only report in Centigrade. To solve it I made this little ditty sensor for each one and adjust the variations.
kitchen_temperature:
friendly_name: Kitchen temperature
unit_of_measurement: "°F"
value_template: '{{((((states.sensor.kitchen_motion.attributes.temperature)-3)*9/5)+32)|round(1)}}'
entity_id: sensor.kitchen_motion
BTW, I don’t get the temp attribute reported when using ZHA, only Deconz.
Thanks for this.
Am I interpreting the template correctly that you are using a 3 degree offset (in C) from the reading, and then converting it to F?
Just connected my sensor yesterday through Zigbee2MQTT and the temp is well off ~8 deg F too high.
I’ve just discovered that Zigbee2mqtt Home Assistant add-on permits configuring a temperature_calibration value to offset the RTCGQ11LM reported value via its devices.yaml and I now have sensible readings!
FWIW I just received one today. Paired it using ZHA. It includes the temperature, that temperature is in F and it measures 16 degrees on the high side (F). I’ll watch it to see if it’s consistent but chances are I’ll only be relying on the motion and lux.
That is a really old version of Zigbee2mqtt, we’re on 1.24.0 already. I suspect you still run the deprecated daniel welch add-on. Switch to the official one:
I also had trouble with a newer version of zigbee2mqtt (1.22.1) on a different HA implementation and ended up implementing ZHA. Just couldn’t get it to work. So thought I’d leave this old version until an official upgrade came along. See here
How do I upgrade Z2MQTT to a newer version when it’s not appearing as an available upgrade?
You need to add the addon from the new repository, turn off the old addon. Copy your settings from the old addon’s settings place to the new one’s and start the new addon. After you have confirmed that everything is working with the new, then you can remove the old addon.
I have this issue as well using Aqara P1 and ZHA - did you ever resolve it for yourself? I sent a message to Aqara but I’m not holding my breath. I find that all 12 of my sensors are off by 16F or 8F roughly