Zigbee2mqtt plugin and temp sensor update frequency
Posted: Monday 22 March 2021 13:32
Hello all,
As I wrote in some previous posts, I am using zigbee21mqtt, the zigbee2mqtt-plugin and some aqara zigbee devices in my home automation.
I was playing with the graphs in dashticz. But I noticed the graph in both Dashticz and Domoticz have a very staircase look.
I dug into this and noticed there are datapoints every 5 minutes. But since the sensors send an update much less frequently, there are a lot of consecutive datapoints with the same value. And this is causing the staircase look.
Below I attached a screenshot. I changed the graph type to barchart to show explicitely how many datapoints there are in the graph. Each red line is a datapoint in the table. But the number of measurements coming from the temperature sensor are actually much less.
Regards,
Does anyone know where the 5minute interval is coming from? Is this domoticz internal? Is this due to the plugin? Is there anywhere to set this? Or should I dig into the code?
Bert
As I wrote in some previous posts, I am using zigbee21mqtt, the zigbee2mqtt-plugin and some aqara zigbee devices in my home automation.
I was playing with the graphs in dashticz. But I noticed the graph in both Dashticz and Domoticz have a very staircase look.
I dug into this and noticed there are datapoints every 5 minutes. But since the sensors send an update much less frequently, there are a lot of consecutive datapoints with the same value. And this is causing the staircase look.
Below I attached a screenshot. I changed the graph type to barchart to show explicitely how many datapoints there are in the graph. Each red line is a datapoint in the table. But the number of measurements coming from the temperature sensor are actually much less.
Regards,
Does anyone know where the 5minute interval is coming from? Is this domoticz internal? Is this due to the plugin? Is there anywhere to set this? Or should I dig into the code?
Bert