Page 1 of 1

Options to show older data on year graphs

Posted: Monday 05 December 2022 18:36
by JackVeraart
I like the way I can zoom and select periods on the day, month and year graphs.
For the day graph there are functions to show 1, 3 or 7 days day and also to show last 3 hours or last hour.
On the year graph there are options to see 1 or 3 months and 1 or 2 weeks.

Would it be an idea to move the 1 and 2 weeks to the month graph and replace them on the year graph by functions for more years.
Maybe prev and next so you can step back and forth between whole years ?

I think data is available.
When I look in the database in the table Percentage_Calendar with the query below I see a lot of old daily data which could be shown :

select * from Percentage_Calendar order by Date asc ;

many thanks in advance for the nice implementation ;) ,

Jack

Re: Options to show older data on year graphs

Posted: Wednesday 07 December 2022 20:07
by waltervl
For a lot of sensor devices there is the report button in the log page where you can see the previous years/month and day value. For percentage sensor there is no report function (I do not know why) For more info on report function see wiki page https://www.domoticz.com/wiki/Managing_ ... ice_Report

Re: Options to show older data on year graphs

Posted: Wednesday 22 March 2023 18:56
by JackVeraart
I think my question should be if it is possible to create a report button for the log page of the Custom Sensor....

I never saw the report button because I do not use these sensor types.
Today I created a dummy device and added a lot of different types of sensors by using the web GUI and indeed there are sensors with a report button on the log page which gives a new screen where you can select the year.
I only create Custom Sensors using my own python plugins and I give them my own units an custom icons which I import via zip files.

I hope it is possible to create a report button for the log page of the Custom Sensor.

In the meantime I upgraded to Bullseye with Domoticz 2023.1