I’ve been using OH for a while now, started with OH3 and am now at OH 4.3.8
I have quite a few devices added from zigbee2mqtt topics that have the following format for their UID:
Where is this change coming from? Is this something that changed with z2m or is it something that changed with OH?
And to avoid getting the 30+ items in the Inbox coming back at every reboot, what would you suggest that I do?
It’s probably in OH, not mqtt2zigbee. The HomeAssistant binding has undergone a number of changes over the years. When you move to OH 5 the HomeAssistant binding is now a separately installed binding instead of a subbinding that comes bundled with the MQTT binding and consequently the Thing IDs change again. (homeassistant:device:broker:...).
The upgrade script will handle installing the HomeAssistant binding for you if you are using it and the HomeAssistant binding works with both the old style and new style Thing IDs so you shouldn’t have to do anything after an upgrade. But newly discovered Things will have the new Thing ID format.
I don’t know. I opted to replace my Things with the new ones to test out the new(ish) feature that lets you link the Channels to preexisting Items when using “Add equipment to model” and “Add points to model”. I deleted my old Things before I even checked the Inbox.
disable the old Thing(s)
go to the inbox and scan for HomeAssistant Things (if they don’t already show up there)
accept the HomeAssistant Thing(s) from the inbox
from the Channels tab of each accepted Thing click “Add points to model” and for each Channnel select “existing Item” and selet the Item that was previously linked to the old Thing.
once everything is linked, return to the disabled Thing(s), click “unlink Items” and then delete the Items
If they do appear there, you can just ignore them (i.e. select them and click the “ignore” button), assuming everything works as it’s supposed to with the old Things. I haven’t seen any reports of problems using the old Things but YMMV. I think the breaking changes section for OH 5.1 tells you to recreate the Things so there may be a reason to I don’t know. But I do know others have just continued running with the old UIDs without problem.
That’s already what I do with OH4 but every time I restart the service, they are back in the inbox.
I asked about that in the past and was told this is “as designed” marking a device as ignored in the inbox is not persisted.
I’m pretty sure that has been changed in OH 5. I’m not seeing that behavior. I have a service running on my network that reports on all the devices on my LAN to MQTT using HomeAsistant, both IPv4 and IPv6. I’ve nearly 200 ignored Things, so I would notice if they kept coming back. Once ignored they seem to remain in the ignored list.