I have a setup with approx 75 zigbee devices, in a total setup of approx 430 sensors. The setup includes 20 of the following motion sensors:
- Whenzhi - MTG075-ZB-RL (TZE204_iaeejhvf)
- Tuya - ZY-M100-S_2
The chatty behaviour of the sensors stresses my Rpi to the limit. In particular the motion sensors are very chatty. FYI, just one sensor !!!
Info 2023-11-19 19:48:09MQTT publish: topic 'zigbee2mqtt/MotionMasterBedroomToilet', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":3,"linkquality":144,"maximum_range":2.4,"minimum_range":1.35,"presence":false,"radar_sensitivity":7,"target_distance":0}'
Info 2023-11-19 19:48:11MQTT publish: topic 'zigbee2mqtt/MotionMasterBedroomToilet', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":3,"linkquality":148,"maximum_range":2.4,"minimum_range":1.35,"presence":false,"radar_sensitivity":7,"target_distance":0}'
Info 2023-11-19 19:48:13MQTT publish: topic 'zigbee2mqtt/MotionMasterBedroomToilet', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":3,"linkquality":148,"maximum_range":2.4,"minimum_range":1.35,"presence":false,"radar_sensitivity":7,"target_distance":0}'
Info 2023-11-19 19:48:14MQTT publish: topic 'zigbee2mqtt/MotionMasterBedroomToilet', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":3,"linkquality":100,"maximum_range":2.4,"minimum_range":1.35,"presence":false,"radar_sensitivity":7,"target_distance":0}'
Info 2023-11-19 19:48:16MQTT publish: topic 'zigbee2mqtt/MotionMasterBedroomToilet', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":3,"linkquality":96,"maximum_range":2.4,"minimum_range":1.35,"presence":false,"radar_sensitivity":7,"target_distance":0}'
Info 2023-11-19 19:48:17MQTT publish: topic 'zigbee2mqtt/MotionMasterBedroomToilet', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":3,"linkquality":100,"maximum_range":2.4,"minimum_range":1.35,"presence":false,"radar_sensitivity":7,"target_distance":0}'
Info 2023-11-19 19:48:19MQTT publish: topic 'zigbee2mqtt/MotionMasterBedroomToilet', payload '{"detection_delay":0,"fading_time":2,"illuminance_lux":3,"linkquality":96,"maximum_range":2.4,"minimum_range":1.35,"presence":false,"radar_sensitivity":7,"target_distance":0}'
Info 2023-11-19 19:48:21MQTT publish: topic 'zigbee2mqtt/MotionMasterBedroomToilet
It seems that most of the updates are triggered by the link quality. Obviously it is unnecessary to report the link quality every second.
I updated configuration.yaml with:
181 friendly_name: MotionMasterBedroomToilet
182 reporting:
183 - attribute: ‘presence’
184 min_interval: 0
185 max_interval: 65535
186 reportable_change: [1]
187 - attribute: ‘linkquality’
188 min_interval: 300
189 max_interval: 3600
190 reportable_change: [100]
191 - attribute: ‘illuminance’
192 min_interval: 300
193 max_interval: 3600
194 reportable_change: [5]
however the sensor is still as chatty as ever. The config file doesn’t seem to control this reporting.
Also tried to change the reporting settings in the webfront:
However only ‘Ota’ and ‘genTime’ seems available. I have been unsuccessful to change reporting settings of the devices.
I would really appreciate a solution to make the sensors less chatty to limit the stress on the rpi.
ps: I created a ‘TZE204_iaeejhvf.js’ file to handle the sensor since Z2M does not support in natively.