DS18B20 ID changed

Moderator: leecollings

Post Reply
SumDum
Posts: 9
Joined: Thursday 28 November 2019 10:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

DS18B20 ID changed

Post by SumDum »

Hi,

I have, or rather had, a pi zero monitoring the flow & return temperatures of a solar thermal system. The pi died, it's a fairly damp environment it lived in. Rest in peace little one.
Now, I have all my domoticz pi set up to backup to a local ftp server every night so I have the database. So I dug out an old Pi 1 B+, installed everything & restored the database, all settings restored.
Except that the DS18B20 are not associated with the old devices any more, they show up with new IDs:
Q1.jpg
Q1.jpg (31.12 KiB) Viewed 1313 times
The old IDs match the first 4 digits of the devices and the owfs directories show up exactly as they should:
Q2.jpg
Q2.jpg (21.28 KiB) Viewed 1313 times
I tried deleting the new devices & restarting domoticz but they just come back with the new IDs.

How can I correct this so that the latest data is logged with the historic data?

Cheers
SumDum
Kedi
Posts: 561
Joined: Monday 20 March 2023 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Somewhere in NL
Contact:

Re: DS18B20 ID changed

Post by Kedi »

Try the replace function in the widget.
Logic will get you from A to B. Imagination will take you everywhere.
SumDum
Posts: 9
Joined: Thursday 28 November 2019 10:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: DS18B20 ID changed

Post by SumDum »

Great, thank you Kedi.

SumDum
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests