Get historical values without persistent data option

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
usky73
Posts: 39
Joined: Saturday 07 November 2015 9:53
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: france
Contact:

Get historical values without persistent data option

Post by usky73 »

Hi all

I can now get my gas meter data every day thanks to Pierre - https://github.com/empierre/domoticz_gaspar
This is a great feature but I want to use the values I got from my gas supplier using Dzvents. And this is the problem.
The data are in domoticz, I can see them.
But, the energy values reported are more than 24h delayed. Then in domoticz, I can see historical values but not the last values that is always 0.

In fact I need to read the value of yesterday. All the time.

Any idea on how to manage that ?

Thx in advance
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Get historical values without persistent data option

Post by waaren »

usky73 wrote: Sunday 12 January 2020 21:10 The data are in domoticz, I can see them.
But, the energy values reported are more than 24h delayed. Then in domoticz, I can see historical values but not the last values that is always 0.
In fact I need to read the value of yesterday. All the time.
From your description it is not clear to me where in domoticz this data can be seen.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
usky73
Posts: 39
Joined: Saturday 07 November 2015 9:53
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: france
Contact:

Re: Get historical values without persistent data option

Post by usky73 »

Hi Waaren,

Here is what I can see (sunday is yesterday value)
Image
https://ibb.co/xDp79bC

and what I can see (last update is not updating even if every day a new value is inserted for the previous day.
Image
https://ibb.co/kGZtWjs

history exist but I cannot acces to it.


Laurent
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Get historical values without persistent data option

Post by waaren »

usky73 wrote: Monday 13 January 2020 18:01 history exist but I cannot acces to it.
OK I understand now what happens. Empierre warns on his github page that this method is
!!!Experimental!!! Not all is working,
And I might add that it is also quite risky to use this on a production system. The method just pushes and deletes directly in the domoticz database without using the domoticz mechanism and by-passing the standard controls and safe guards by doing so.
Please don't ask support for this here but go to Empierre's github. In the mean time I would advise you to only use this on a test or development if at all.
It also has nothing to with dzVents persistent data or any other dzVents component
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest