https://wiki.domoticz.com/Managing_Devi ... ace_device
I'm planning to migrate values from an old Heat pump plugin to the one I created, not sure if that is possible.
So I have 2 Hardware running, WP and WPOLD

WPOLD has all the history I want to keep.
I'm thinking that I can point the WPOLD to a nonexisting IP for the heatpump so it will not fetch new information.
Then use the Replace device procedure from the wiki.
As an example, the Outside Temp avg. is Device idx 508 (old) and 4218 (new)
When initiating the Replace from 508. The new device will be deleted.
WHat will the Hardware Name, ID and Unit be of the remaining device?
Since the plugin is using Unit as a look up to handle device renames, I think devices like 511 to 4222 will make my life difficult.
So I think if those do not match up anymore things will go bonkers.