ralong
(Oskar Gawlik)
October 22, 2021, 2:48pm
1
I have 3 Xiaomi RTCGQ11LM
and i wanted to lower the occupancy_timeout
So i did the mod from the site:
Usually Xiaomi motion sensor is detected every two minutes. But with a little work, you can change that time to 5 seconds. A year ago I made my Xiaomi motion sensors to Super motion sensors. Even after a year, Xiaomi motion sensors are working very...
Reading time: 6 mins 🕑
Likes: 22 ❤
But custom configuration in HA doesn’t apear to change anything.
I even changed the temperature calibration to +20 and after few weeks no change
Heres my devices.yaml file:
'0x00158d0006f78480':
friendly_name: Aqara PIR sensor1
temperature_calibration: -5
temperature_precision: 2
occupancy_timeout: 60
'0x00158d0006f78330':
friendly_name: Aqara PIR sensor2
temperature_calibration: -5
temperature_precision: 2
occupancy_timeout: 60
'0x00158d0006a15867':
friendly_name: Aqara PIR sensor3
temperature_calibration: 20
temperature_precision: 2
occupancy_timeout: 10
Can anyone help me? is this confing wrong, am I missing something?
bachoo786
(Bachoo786)
October 22, 2021, 3:03pm
2
did you set the occupany_timeout in the configuration.yaml of your zigbee2mqtt as stated in the zigbee2mqtt docs?
Xiaomi RTCGQ11LM control via MQTT | zigbee2mqtt.io (in,modification%20is%20needed.
ralong
(Oskar Gawlik)
October 22, 2021, 3:23pm
3
I did this in file:
/config/zigbee2mqtt/devices.yaml
which is referenced in the zigbee config file:
/config/zigbee2mqtt/configuration.yaml
{
"external_converters": [],
"devices": [
"devices.yaml"
],
...
francisp
(Francis)
October 22, 2021, 3:58pm
4
I just added
temperature_calibration: -4
to one of my aqara pir sensors, restarted Zigbee2MQTT, 15 minutes later the temperature was adjusted.
1 Like
ralong
(Oskar Gawlik)
October 22, 2021, 4:26pm
5
That’s how its suposed to work!
Sadly mine doesnt, thats why im writing here
ralong
(Oskar Gawlik)
October 22, 2021, 5:57pm
6
@francisp
OK You helped. Thanks!
I needed to restart Zigbee2MQTT. Weirdly restarting HA did nothing. After changing the configuration I restarted HA more than 5 times.
It would be nice to add this info to instructions
because there is nothing about this.
1 Like
maxym
October 22, 2021, 7:17pm
7
z2m and ha works in own docker contaiers. Restarting HA doesn’t restart z2m.