Zigbee for Domoticz, Transfer old Log from old device to new device, Error

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Post Reply
Knight
Posts: 36
Joined: Thursday 12 February 2015 22:59
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Contact:

Zigbee for Domoticz, Transfer old Log from old device to new device, Error

Post by Knight »

I don't understand how to transfer the log, When i press "Replace" on the old device and choose the new widget created by Zigbee for Domoticz. I lost the widget connection in zigbee for domoticz.

The Domoticz widgets in the red square disappears

Plugin: 7.1.009 [4.229]
Firmware: UNK - 6.10.3.0 build 297
Attachments
Z4D.jpg
Z4D.jpg (138.76 KiB) Viewed 1604 times
Knight
Posts: 36
Joined: Thursday 12 February 2015 22:59
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Contact:

Re: Zigbee for Domoticz, Transfer old Log from old device to new device, Error

Post by Knight »

When i Press replace I got this message in the log

2024-03-02 17:21:23.826 Status: Zigbee Sonoff Cordinator: onDeviceRemoved - removing End Device
User avatar
waltervl
Posts: 5865
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Zigbee for Domoticz, Transfer old Log from old device to new device, Error

Post by waltervl »

It should work 2 ways. It depends on the last update time. So the old device should not be updated anymore so should have an old last seen date.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Knight
Posts: 36
Joined: Thursday 12 February 2015 22:59
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Contact:

Re: Zigbee for Domoticz, Transfer old Log from old device to new device, Error

Post by Knight »

My method works with rfcom 433mhz and OpenZwave so I'm thinking the same tactics should have worked.

I even tried creating a fake temp sensor and moved the log to it and then transferred it to a Zigbeefordomoticz temp sensor.

Unfortunately, the intercession between domoticz and zigbee for domoticz disappears. Everything inside the red box disappears.
User avatar
waltervl
Posts: 5865
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Zigbee for Domoticz, Transfer old Log from old device to new device, Error

Post by waltervl »

Could perhaps be an issue when multiple Domoticz devices are attached to the same zigbee node?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigbee for Domoticz, Transfer old Log from old device to new device, Error

Post by pipiche »

I'm not sure I understood what you want to do, but from what you described, indeed the plugin doesn't handle that, as it is not notified about this.
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
Knight
Posts: 36
Joined: Thursday 12 February 2015 22:59
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Contact:

Re: Zigbee for Domoticz, Transfer old Log from old device to new device, Error

Post by Knight »

I have some zigbee sensors connected true xaomi gateway. I want to move/transfer them to the new zigbee for domoticz network.

My problem is that I also want to save the old sensorlog in domoticz when i migrate to the new zigbee for domoticz network.
User avatar
waltervl
Posts: 5865
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Zigbee for Domoticz, Transfer old Log from old device to new device, Error

Post by waltervl »

That is possible with the replace function if the old and the new domoticz devices (eg temperature, energy counter etc) are of the same type. That is not always the case as Hardware gateways interpret combined devices sometimes differently.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
lost
Posts: 660
Joined: Thursday 10 November 2016 9:30
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zigbee for Domoticz, Transfer old Log from old device to new device, Error

Post by lost »

Did not dig into this at the time because this was not data I really needed to keep, but a few weeks ago when I started to go zigbee (using zigbee4domoticz to avoid MQTT hassle) I changed a zwave plug that reports power consumption by another zigbee one that also reports power: I moved this one to optimize meshing for both protocols (zwave one moved to an area with poor meshing, zigbee one to have a repeater in a place where there was none).

Never managed to have replace working for the meter, so I gave up. This never was a problem between zwave devices sharing same characteristics, did so several times in the past... So not sure there is nothing more to check there, maybe not between protocols managed by domoticz core (this is supposed to work between OZW and MQTT-AD for instance, as this was needed for those that did the swap to zwavejs) but between those in core and plugin???
User avatar
waltervl
Posts: 5865
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Zigbee for Domoticz, Transfer old Log from old device to new device, Error

Post by waltervl »

It is not hardware protocol but the Domoticz device has to be the same. You cannot merge a old temp/hum device into a new temp device.
You also cannot merge and old electric usage device into a electric instant and usage device. So check both Domoticz devices in the device list and they have to be the same.
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 0 guests