How to replace a Xiaomi Sensor keeping the same device ? Topic is solved

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
Masure
Posts: 35
Joined: Sunday 22 April 2018 11:23
Target OS: Windows
Domoticz version:
Contact:

How to replace a Xiaomi Sensor keeping the same device ?

Post by Masure »

Hi,

I have a defective Xiaomi temperature sensor. I can add the new one but I'd like to keep and continue the data history on the same Domoticz device.

How the best way to do that ? I don't mind if it requires doing sqlite database update while domoticz not running.

ps : The scripts are not the problem because I always use name to identify my devices in there.
Bigted
Posts: 68
Joined: Friday 12 December 2014 14:42
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Contact:

Re: How to replace a Xiaomi Sensor keeping the same device ?

Post by Bigted »

Did you read the manual, page 20 :lol:

Add the new device with a new name, you will have a new idx value

On the old device edit | replace, and select the new device

All the history will transfer

Remove the old device from setup | devices

Rename the new device with the old name
Masure
Posts: 35
Joined: Sunday 22 April 2018 11:23
Target OS: Windows
Domoticz version:
Contact:

Re: How to replace a Xiaomi Sensor keeping the same device ?

Post by Masure »

this is perfect !

I just made a google search without finding anything, I feel dumb :roll:
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest