How get history from old sensordevice into newdevice

Subforum for general discussions. Do not dump your questions/problems here, but try to find the subforum where it belongs!

Moderators: leecollings, remb0

Post Reply
BartSr
Posts: 489
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.7
Location: Netherlands
Contact:

How get history from old sensordevice into newdevice

Post by BartSr »

Hi. The manual describes how to get data from a new device into an old device. I am looking fof doing the other way around.
Why?
I have a number of esp's 8266 which collect data from dallas sensors. Data transferred via idx to Dz.
Espeasy got a new controller in esp32 which has also auto discovery. Especially for HA
I have made an upgradd from esp8266 to esp32.
Currently I am running Dz and HA in parallel. For that I enabled the OpenHab controller in espeasy. As Mqtt AD is active in Dz All temp devices were discovered.
Now I want to keep the new device but should like to include the old history.
Would that be possible and if yes how.

Thanks so far
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
BartSr
Posts: 489
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.7
Location: Netherlands
Contact:

Re: How get history from old sensordevice into newdevice

Post by BartSr »

Found my answer. Just swap old and new from instructions on page 20 of the manual
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
BartSr
Posts: 489
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.7
Location: Netherlands
Contact:

Re: How get history from old sensordevice into newdevice

Post by BartSr »

mmm. not fully Oke, I just found that compare temp (last graphic) only took 2025 not former years
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
User avatar
waltervl
Posts: 6677
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: How get history from old sensordevice into newdevice

Post by waltervl »

BartSr wrote: Friday 05 December 2025 10:53 Found my answer. Just swap old and new from instructions on page 20 of the manual
What manual? Link?
This should be the manual to follow to replace an old device with a new device in Domoticz: https://wiki.domoticz.com/Managing_Devi ... ace_device
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
BartSr
Posts: 489
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.7
Location: Netherlands
Contact:

Re: How get history from old sensordevice into newdevice

Post by BartSr »

Hi Walter, it's the manual once you press the button on the 'about domoticz' page. In fact same info as per yr link.
Meanwhile it's strange that the last graphic lost info of previous years.
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
User avatar
waltervl
Posts: 6677
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: How get history from old sensordevice into newdevice

Post by waltervl »

That PDF manual is from 2015 and should not be used, lots of things have been changed since then. But Gizmocuz refuses to remove it ;-)
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
BartSr
Posts: 489
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.7
Location: Netherlands
Contact:

Re: How get history from old sensordevice into newdevice

Post by BartSr »

Walter agreed, but my old brains remember not always as it should 😀

But we'r drifting from the topic. Why is all data of previous years gone once you replace a device?
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
BartSr
Posts: 489
Joined: Sunday 03 July 2016 16:16
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.7
Location: Netherlands
Contact:

Re: How get history from old sensordevice into newdevice

Post by BartSr »

I'm the only one facing this unwanted behaviour?
Raspberry pi 3b
Arduino
KAKU
RfxCom
Zwave2MQTT
OTGW
Chinese sensors temp (Dallas),movement
Tasmota
Esp8266 / 32 espeasy
Zigbee2MQTT
Post Reply

Who is online

Users browsing this forum: RonkA and 1 guest