Page 1 of 1

DS18B20 ID changed

Posted: Thursday 16 November 2023 13:28
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 1644 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 1644 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

Re: DS18B20 ID changed

Posted: Thursday 16 November 2023 13:58
by Kedi
Try the replace function in the widget.

Re: DS18B20 ID changed

Posted: Thursday 16 November 2023 14:21
by SumDum
Great, thank you Kedi.

SumDum