Page 1 of 1

Migrate P1 data

Posted: Sunday 06 September 2020 17:51
by Tommie
Hi All,

After a nearby lightning strike I've got a new 'smart meter' installed. And I've also installed an new P1 (usb) meter.

I added the P1 meter to Domoticz and removed the old one from the hardware tab (stupid me). Now I cannot see the history of the old meter.

Is there a way to recover the old data from the database and migrate it somehow to the new device(s)?

I've already browsed the database with an SQL lite browser. But I'm not sure witch table/row I would need (or if it is still there)...

Thanks in advance

Greets!

Re: Migrate P1 data

Posted: Sunday 06 September 2020 18:12
by waaren
Tommie wrote: Sunday 06 September 2020 17:51 Is there a way to recover the old data from the database and migrate it somehow to the new device(s)?
Only if you have a backup of the old database.

Re: Migrate P1 data

Posted: Monday 07 September 2020 8:18
by Tommie
waaren wrote: Sunday 06 September 2020 18:12 Only if you have a backup of the old database.
Hi waaren, thnx for the reply. Ok, let's see if I have an back-up ready :?