Migrate P1 data

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Tommie
Posts: 8
Joined: Thursday 22 December 2016 23:20
Target OS: Linux
Domoticz version:
Contact:

Migrate P1 data

Post 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!
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Migrate P1 data

Post 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.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Tommie
Posts: 8
Joined: Thursday 22 December 2016 23:20
Target OS: Linux
Domoticz version:
Contact:

Re: Migrate P1 data

Post 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 :?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest