Page 1 of 1

When changing temp sensor most history lost. Bug?

Posted: Sunday 14 December 2025 12:43
by BartSr
I had to change a temp device. I followed the instructions to keep all history values but I ended with only history of this year. Should it be a bug or is there another way to keep history of many years?

Re: When changing temp sensor most history lost. Bug?

Posted: Sunday 14 December 2025 13:50
by waltervl
Could be an issue in your database table with the old values.
You can check with SQLite DB browser on a backup before the replacement what could be the issue.

Re: When changing temp sensor most history lost. Bug?

Posted: Sunday 14 December 2025 16:05
by BartSr
What might be an issue Walter? Where/ what to check?

Re: When changing temp sensor most history lost. Bug?

Posted: Sunday 14 December 2025 18:24
by waltervl
I dont know, some inconsistency somewhere.

Re: When changing temp sensor most history lost. Bug?

Posted: Sunday 14 December 2025 18:32
by BartSr
Walter, do you know where to find thd routine in the source? To me ik looks like an SQL error but I don't have the skills to figure out where tk look kn the sourcecode

Re: When changing temp sensor most history lost. Bug?

Posted: Sunday 14 December 2025 20:01
by waltervl
It is not a normal error as it does normally do all history data. So something probably is wrong in your data that gives an hickup.

I also have no idea where the replacement function including SQL query is. But better look at your database first.