After migrate/reinstall cleanup

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

Moderators: leecollings, remb0

User avatar
Varazir
Posts: 452
Joined: Friday 20 February 2015 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: After migrate/reinstall cleanup

Post by Varazir »

btw, can I make new devices not being set to used by default ?
Raspberry PI 2 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
User avatar
Varazir
Posts: 452
Joined: Friday 20 February 2015 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: After migrate/reinstall cleanup

Post by Varazir »

If I remove the devices and turn z2m hw off and on they will be auto populated again.
In this case I don't care that much of the device ID as it's easy to change the script

Image
Raspberry PI 2 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
User avatar
gizmocuz
Posts: 2552
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: After migrate/reinstall cleanup

Post by gizmocuz »

Okey.... So.... the 'switch' is probably from the old Zigbee config? As this is persistent in your MQTT broker, you need to remove it manually with (for example) MQTT Explorer
That means, if you can control everything, and see the correct status for the *_identify_* that is
Quality outlives Quantity!
User avatar
Varazir
Posts: 452
Joined: Friday 20 February 2015 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: After migrate/reinstall cleanup

Post by Varazir »

gizmocuz wrote: Friday 06 June 2025 10:37 Okey.... So.... the 'switch' is probably from the old Zigbee config? As this is persistent in your MQTT broker, you need to remove it manually with (for example) MQTT Explorer
That means, if you can control everything, and see the correct status for the *_identify_* that is
I didn't copy the MQTT broker db when I reinstalled.
Something is strange.

MQTT
Image

Domoticz settings ( removed the IP adress.
Image

z2M settings
Image

Image
Raspberry PI 2 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
User avatar
Varazir
Posts: 452
Joined: Friday 20 February 2015 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: After migrate/reinstall cleanup

Post by Varazir »

This is the device we have been talking about Bokhylla

Image
Raspberry PI 2 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
User avatar
gizmocuz
Posts: 2552
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: After migrate/reinstall cleanup

Post by gizmocuz »

Just use MQTT Explorer and in the search box enter the big hex number 0x..... then you should see them
One of them is probably old data... or you get multiple devices from this node and then it's OK

Easy fix

- shutdown zigbee2mqtt (docker compose down)
- remove all config entries in the homeassistant topic for this device
- enable zigbee2mqtt (docker compose up)

Now you will see if you get a switch/sensor/select/button etc... If you do.. these are all part of this node
If this means multiple devices that are send to domoticz, fine.. use the one that works for you, hide the other ($ character in front of the name, or just don't add it)
Quality outlives Quantity!
User avatar
Varazir
Posts: 452
Joined: Friday 20 February 2015 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: After migrate/reinstall cleanup

Post by Varazir »

if I just keep set the _identify_ devices to unused I'm going to be fine. I think it's something new that z2m expose to MQTT/Domoticz.
It's confusing as they get named the same in domoticz. On it set to Button on device and the other a on/off device.
Raspberry PI 2 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
User avatar
gizmocuz
Posts: 2552
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: After migrate/reinstall cleanup

Post by gizmocuz »

Well, one of them probably works correctly, just rename the other.
You can probably google what the difference is between the two, or see it in the zigbee2mqtt web interface?
Anyway, it's working
Quality outlives Quantity!
User avatar
Varazir
Posts: 452
Joined: Friday 20 February 2015 22:23
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: After migrate/reinstall cleanup

Post by Varazir »

gizmocuz wrote: Sunday 08 June 2025 15:36 Well, one of them probably works correctly, just rename the other.
You can probably google what the difference is between the two, or see it in the zigbee2mqtt web interface?
Anyway, it's working
It just turns the device on and off to find it.

I removed all the devices that comes with the remote and renabled z2m. Updated my script and now it's working.

Fixed some of wrongly values in the db with the google Gemini and python script.
Raspberry PI 2 with RaZberry Controller 2016 ZWave+ and CC2531(zigbee)
Several IKEA devices/z-wave devices
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest