Get historical values from managed counter

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
ressof
Posts: 60
Joined: Thursday 20 April 2017 7:20
Target OS: Linux
Domoticz version: Latest
Contact:

Get historical values from managed counter

Post by ressof »

Hi

Is there a way of getting historical values from a managed counter? You can add values via updateHistory but is there a way of getting them back later on?
User avatar
waltervl
Posts: 5391
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Get historical values from managed counter

Post by waltervl »

Easiest is through the log and report page. To export data use the graphs export function in the hamburger menu

You can also use a dzvents script to calculate on historical data.
See for example https://domoticz.com/forum/viewtopic.php?t=25156

This is al valid for all types of counters and not only a managed counter.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest