z03mmc icon indicating copy to clipboard operation
z03mmc copied to clipboard

update interval

Open YanchikAmb opened this issue 2 years ago • 5 comments
trafficstars

Hi! How I can change update interval in ZHA?

YanchikAmb avatar Nov 06 '23 10:11 YanchikAmb

  1. The default reporting behavior is fixed in https://github.com/devbis/z03mmc/commit/ec3f46c750dd31bb2b62b25b80c866a6ad4a0255 and will be in the next release. It will notify in 10 seconds if the value changed and in 5 minutes if value change didn't change more than the limit. For temp it is 0.1º, for humidity - 0.5%.

  2. I don't know how to set up reporting in ZHA, probably https://github.com/mdeweerd/zha-toolkit could help.

devbis avatar Nov 06 '23 11:11 devbis

When setting the value to 10 seconds, the shortest interval will be 20 seconds. The multiplicity of the timer triggering for polling changes in increments of 10 seconds is manifested.

pvvx avatar Nov 06 '23 21:11 pvvx

The default reporting behavior is fixed in https://github.com/devbis/z03mmc/commit/ec3f46c750dd31bb2b62b25b80c866a6ad4a0255 and will be in the next release. It will notify in 10 seconds if the value changed and in 5 minutes if value change didn't change more than the limit. For temp it is 0.1º, for humidity - 0.5%.

Does not work. Only one thing is transmitted - temperature, humidity or battery. Reason: The same timer is used for all reports.

Вариант обработки

pvvx avatar Nov 16 '23 00:11 pvvx

  1. The default reporting behavior is fixed in https://github.com/devbis/z03mmc/commit/ec3f46c750dd31bb2b62b25b80c866a6ad4a0255 and will be in the next release. It will notify in 10 seconds if the value changed and in 5 minutes if value change didn't change more than the limit. For temp it is 0.1º, for humidity - 0.5%.

  2. I don't know how to set up reporting in ZHA, probably https://github.com/mdeweerd/zha-toolkit could help.

Just wanted to bump on this. The current firmware chews through batteries and is making it quite uneconomical to run with Zigbee.

If this could be configurable it would go a long way to make this a long term option. Thanks so much if this is possible! Working great otherwise with Zigbee2MQTT.

GoodnessJSON avatar Feb 01 '24 04:02 GoodnessJSON

I have similar problems with battery life on my devices. Otherwise the FW works great!

+1 to allow configuration of reporting intervals and change thresholds for both temperature and humidity separately.

Also I noticed, the reports are even more frequent than they should be (10s during change, 5 mins otherwise)... I'm seeing same reports with minimal or no change in reported values.

Would be great if this could be addressed.

Example - duplicate report in same time - reported data are identical: Info 2024-06-04 19:46:55MQTT publish: topic 'zigbee2mqtt/Prostredi4', payload '{"battery":35,"comfort_humidity_max":60,"comfort_humidity_min":30,"comfort_temperature_max":26,"comfort_temperature_min":21,"enable_display":"ON","humidity":67.58,"humidity_calibration":0,"last_seen":"2024-06-04T17:46:55.354Z","linkquality":222,"show_smile":"SHOW","show_smiley":"SHOW","temperature":23.92,"temperature_calibration":null,"temperature_display_mode":"celsius","update":{"installed_version":285224961,"latest_version":285224961,"state":"idle"},"update_available":null,"voltage":2600}' Info 2024-06-04 19:46:55MQTT publish: topic 'zigbee2mqtt/Prostredi4', payload '{"battery":35,"comfort_humidity_max":60,"comfort_humidity_min":30,"comfort_temperature_max":26,"comfort_temperature_min":21,"enable_display":"ON","humidity":67.58,"humidity_calibration":0,"last_seen":"2024-06-04T17:46:55.363Z","linkquality":222,"show_smile":"SHOW","show_smiley":"SHOW","temperature":23.93,"temperature_calibration":null,"temperature_display_mode":"celsius","update":{"installed_version":285224961,"latest_version":285224961,"state":"idle"},"update_available":null,"voltage":2600}'

Example - reports after 10s but with minimal change in values (humidity change 0 and temperature change 0,03 degC): Info 2024-06-04 19:47:00MQTT publish: topic 'zigbee2mqtt/Prostredi7', payload '{"battery":58.5,"comfort_humidity_max":60,"comfort_humidity_min":30,"comfort_temperature_max":26,"comfort_temperature_min":21,"enable_display":"ON","humidity":69.82,"humidity_calibration":0,"last_seen":"2024-06-04T17:47:00.974Z","linkquality":222,"show_smiley":"SHOW","temperature":25.12,"temperature_calibration":null,"temperature_display_mode":"celsius","update":{"installed_version":285224961,"latest_version":285224961,"state":"idle"},"update_available":null}' Info 2024-06-04 19:47:10MQTT publish: topic 'zigbee2mqtt/Prostredi7', payload '{"battery":58.5,"comfort_humidity_max":60,"comfort_humidity_min":30,"comfort_temperature_max":26,"comfort_temperature_min":21,"enable_display":"ON","humidity":69.82,"humidity_calibration":0,"last_seen":"2024-06-04T17:47:10.755Z","linkquality":222,"show_smiley":"SHOW","temperature":25.09,"temperature_calibration":null,"temperature_display_mode":"celsius","update":{"installed_version":285224961,"latest_version":285224961,"state":"idle"},"update_available":null}'

camel1cz avatar Jun 04 '24 17:06 camel1cz