Energy/Gas - More detailed view for previous days

Moderator: leecollings

Post Reply
wlevels
Posts: 16
Joined: Friday 16 September 2016 13:54
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.9700
Location: The Netherlands
Contact:

Energy/Gas - More detailed view for previous days

Post by wlevels »

Hi all,

Is there a way to see a more detailed view of energy/gas usage for earlier days?
When analysing my energy/gas usage it would be nice to see if the energy usage is higher then normal for like yesterday, that I could zoom in and see during what time there was high energy usage?

I can only see the detailed view for today, so I would need to make a screenshot at the end of every day if I want to look back?

Thanks!

Wesley
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Energy/Gas - More detailed view for previous days

Post by Egregius »

That's handled by the 'Short Log Sensors' setting (1-7 days).
If you wan't to keep it longer you'll need to put up a system to store in another database.
Keep in mind that your database size will grow if you change that setting.
wlevels
Posts: 16
Joined: Friday 16 September 2016 13:54
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.9700
Location: The Netherlands
Contact:

Re: Energy/Gas - More detailed view for previous days

Post by wlevels »

Egregius wrote:That's handled by the 'Short Log Sensors' setting (1-7 days).
If you wan't to keep it longer you'll need to put up a system to store in another database.
Keep in mind that your database size will grow if you change that setting.
Thanks for your reply!
Still running Domoticz on a RPI I had lying around to first testdrive it, let's see if it can handle the extra database size on the Raspberry until I eventually will upgrade to some better hardware :)
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Energy/Gas - More detailed view for previous days

Post by Egregius »

You could also try influxdb, there are already several members who use that to store their data.
I use the MySQL server of my webserver to store temperature and some other data that I want to keep and do my own analysis on.
Amsterdam020
Posts: 55
Joined: Saturday 05 March 2016 21:42
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5629
Contact:

Re: Energy/Gas - More detailed view for previous days

Post by Amsterdam020 »

I use a python script and a mysql database running on the same pi as domoticz
See viewtopic.php?f=65&t=16827
Rp3, youlesss, rfxcom, philips hue, dsb1820
wlevels
Posts: 16
Joined: Friday 16 September 2016 13:54
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.9700
Location: The Netherlands
Contact:

Re: Energy/Gas - More detailed view for previous days

Post by wlevels »

Thanks all for your input!

For now I changed the short log to 7 days, and I'm checking the possibility to use any database. I only have Domoticz running on a raspberry and I don't want to further burden it. I have a Synology NAS that should be able to run a Database using one of the available Apps for it, but maybe it's best to upgrade my Domoticz controller hardware so it can also handle an additional Database and the resource limits for expanding the environment are gone :)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest