Page 1 of 1

Get historical values without persistent data option

Posted: Sunday 12 January 2020 21:10
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

Re: Get historical values without persistent data option

Posted: Sunday 12 January 2020 22:10
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.

Re: Get historical values without persistent data option

Posted: Monday 13 January 2020 18:01
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

Re: Get historical values without persistent data option

Posted: Monday 13 January 2020 20:19
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