Option to change logging frequency of temperature devices

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
foxite
Posts: 1
Joined: Saturday 14 November 2020 20:52
Target OS: -
Domoticz version:
Contact:

Option to change logging frequency of temperature devices

Post by foxite »

I built a system which publishes the temperature of a pump to MQTT every minute. Domoticz lets me see the current and historical temperature.

The only downside to this setup is that the graph is updated every 5 minutes, while the source updates every minute. I wasn't able to find a way to change the logging frequency of this graph. Assuming there is no way to do it, I'd like to propose this feature.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Option to change logging frequency of temperature devices

Post by waaren »

foxite wrote: Saturday 14 November 2020 20:57 I built a system which publishes the temperature of a pump to MQTT every minute. Domoticz lets me see the current and historical temperature.

The only downside to this setup is that the graph is updated every 5 minutes, while the source updates every minute. I wasn't able to find a way to change the logging frequency of this graph. Assuming there is no way to do it, I'd like to propose this feature.
You can use the push functionality to influxDB if the 5 minute interval does not suite your needs. The required code modifications and the performance and database size implications of changing the 5 minutes interval for sensors would be quite significant and therefore not likely to be implemented.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Option to change logging frequency of temperature devices

Post by EddyG »

Subscribe to domoticz/out and process in node-red the data every minute.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest