Hi,
Due to a re-installation I've added a new sensor (with a new IDX) for my Solar panels. Is it possible to link the old data to the new sensor based on the IDX?
Database
Moderators: leecollings, remb0
- Egregius
- Posts: 2582
- Joined: Thursday 09 April 2015 12:19
- Target OS: Linux
- Domoticz version: v2024.7
- Location: Beitem, BE
- Contact:
Re: Database
You could update the database directly.
-
- Posts: 7
- Joined: Friday 19 February 2016 15:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Database
Yes I know, but where is the history stored? I queried the database but I can't find the history of my solar panels.......
- Egregius
- Posts: 2582
- Joined: Thursday 09 April 2015 12:19
- Target OS: Linux
- Domoticz version: v2024.7
- Location: Beitem, BE
- Contact:
Re: Database
Probably in tables meter and meter_calendar
-
- Posts: 7
- Joined: Friday 19 February 2016 15:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Database
I will give it a try......
-
- Posts: 722
- Joined: Friday 02 October 2015 12:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Finland
- Contact:
Re: Database
When you have both new and old in Domoticz open the edit window of the old and select "Replace...", then select the new as the replacement and your old data will be moved to the new sensor.Noppie wrote:Hi,
Due to a re-installation I've added a new sensor (with a new IDX) for my Solar panels. Is it possible to link the old data to the new sensor based on the IDX?
But yes, you can do the same directly by editing the database, just a lot easier via the UI
-
- Posts: 7
- Joined: Friday 19 February 2016 15:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Database
Thanks Nautilus,
unfortunately I deleted the old one so, Replacing isn't an option anymore.....
unfortunately I deleted the old one so, Replacing isn't an option anymore.....
Who is online
Users browsing this forum: No registered users and 1 guest