How to keep historical data when changing battery in weather sensor

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
User avatar
Bernd
Posts: 27
Joined: Tuesday 04 February 2014 8:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: The Netherlands, De Wijk
Contact:

How to keep historical data when changing battery in weather sensor

Post by Bernd »

I know it is written somewhere in this forum. I used it before with success. But the batteries last too long to remember how I did it.
I searched with different phrases but had no luck.

I have different weather sensors, communicating over 433 MHz and received by RFXCOM. The ID changed from 3000 to A600.
I would like to keep the historical data. How do I do that?

Thank you.
Raspberry Pi 4 2GB (RPi OS Light)
RFXCOM RFXtrx433E, firmware version = 1025
User avatar
waltervl
Posts: 5846
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: How to keep historical data when changing battery in weather sensor

Post by waltervl »

Use the replace function to replace the old Domoticz device by the new with including the historical data. See the wiki for instructions: https://www.domoticz.com/wiki/Managing_ ... 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
User avatar
Bernd
Posts: 27
Joined: Tuesday 04 February 2014 8:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: The Netherlands, De Wijk
Contact:

Re: How to keep historical data when changing battery in weather sensor

Post by Bernd »

YES, that did the trick!
I have printed the guide, for next time ;)

Thank you!
Raspberry Pi 4 2GB (RPi OS Light)
RFXCOM RFXtrx433E, firmware version = 1025
User avatar
Bernd
Posts: 27
Joined: Tuesday 04 February 2014 8:44
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: The Netherlands, De Wijk
Contact:

Re: How to keep historical data when changing battery in weather sensor

Post by Bernd »

May I suggest to change the name of the article "Replace device" to "Replace battery" ?
My search was for battery, which gave no results.
Raspberry Pi 4 2GB (RPi OS Light)
RFXCOM RFXtrx433E, firmware version = 1025
User avatar
waltervl
Posts: 5846
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: How to keep historical data when changing battery in weather sensor

Post by waltervl »

Replace battery is not the only use case to replace a domoticz device. Could also be replacing electricity meters, changing from Zwave OZW to ZwaveJS-UI etc.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest