In deconz UI => Devices => Sensors
I’m talking about this
Then deconz is wrong. The aqara motion sensor has no hardware on board to measure temperature.
this is why I was astonished… thank you
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.
CFC
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!
'0x00158d0004632138':
friendly_name: Shower Motion
'0x00158d00044d15a2':
friendly_name: Bathroom Motion
temperature_calibration: -5
temperature_precision: 1
'0x00158d00053fbc19':
friendly_name: Bedroom Motion
temperature_calibration: -7
temperature_precision: 1
'0x00158d0004869868':
friendly_name: Living Room Motion
temperature_calibration: -9
temperature_precision: 1
'0x00158d000485f1d2':
friendly_name: Office Motion
temperature_calibration: -7
temperature_precision: 1
(Shower Motion is just a RTCGQ01LM so no temp sensor)
Hmm I tried this and can’t get it to work. Tried both your setup and this:
'0x00158d00047beb6b':
friendly_name: aqara_motion_2
temperature_calibration: -8
Howeve, I’m not seeing any calibration, even when I force report the sensor again. Thoughts?
Did you restart the add-on?
My /config/zigbee2mqtt/devices.yaml
:
'0x00158d0004632138':
friendly_name: Outside Motion
'0x00158d00044d15a2':
friendly_name: Bathroom Motion
temperature_calibration: -5
temperature_precision: 1
'0x00158d00053fbc19':
friendly_name: Bedroom Motion
temperature_calibration: -7
temperature_precision: 1
'0x00158d0004869868':
friendly_name: Living Room Motion
temperature_calibration: -9
temperature_precision: 1
'0x00158d000485f1d2':
friendly_name: Office Motion
temperature_calibration: -7
temperature_precision: 1
'0xb0ce18140301b932':
friendly_name: Office Light 1
'0xb0ce181403014ff2':
friendly_name: Office Light 2
'0xb0ce181403010f0a':
friendly_name: Office Light 3
'0xb0ce181403016c90':
friendly_name: Bedroom Lamp 1
'0xb0ce181403011043':
friendly_name: Bedroom Lamp 2
'0x04cf8cdf3c7d2e8a':
friendly_name: Living Room Lux
'0x04cf8cdf3c7723ef':
friendly_name: South Patio
'0x00158d0002b3488d':
friendly_name: Outside Weather
'0x00158d0005940c5b':
friendly_name: Aquarium Light
'0x00158d000572c90f':
friendly_name: Button 1
'0x00124b001e728770':
friendly_name: Cactus Light
'0x001788010926fed5':
friendly_name: Phillips Hue Switch
'0x00124b0023b3687f':
friendly_name: Kitchen Motion
And my version:
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.
J
I’ve made this change but doesn’t seem to work adjusting temperature down by 8 Deg. Running zigbee2mqtt version 1.18.1-1 on HassOS 2022.3.0.
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:
@francisp but when I look at availability of upgrades there are none:
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?
Thanks
Rob
Remove the daniel welch repository, and add the official one. No need to change settings.
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
Hey @mkuhnke - did you ever figure this out? I’ve paired Aqara + ZHA and motion works great but my temperature registered at 95 F and that’s what it’s stuck at.
nope, I just live with the fact that they are only somewhat close to accurate