I have 2 C7 Hubs, both running latest firmware and rebooted as part of troubleshooting.
I don't seem to have any ghost Z-Wave devices on either hub.
I have 2 recently added Zooz ZEN05 outdoor plugs to control my Christmas lights. Really upgrades of older outdoor plugs.
The plugs are both included on my secondary hub "H2". Everything works here.
They are both shared with my primary hub "H1", where the majority of my rules run.
On H1, I can go to the device page of ether plug and nothing happens when I click on On or Off. Nothing in logs of either hub. Rules on H1 don't work with these devices either.
On H2, if I click on On or Off, the device changes state and the change of state is reflected on the device page of H1.
I tried a generic z wave driver, same results.
Other devices, RGB controllers, switches, locks seem (I didn't go through and test every one) to be working.
I have older ZEN05 on H1, and it works via Hub Mesh on H2 as expected.
I did use the Settings -> "Swap Apps Device" tool to replace the previous outdoor switches. Everything looks as expected, but I haven't used this tool much.
Devices are in enough rules I don't really want to delete and re-add devices.
Have you tried removing the devices from hub mesh and re-adding them? I think when you remove the device on the source hub it merely goes offline on the target hub, but the device stays in all your rules etc.
I believe you are correct. I suppose you could create a dummy device on H1, use device swap to swap in the dummy device, delete the mesh device, recreate it, and then swap back. But that's kinda ugly.
If you were sort of randomly missing events I would suggest maybe a network issue but if it's just these two devices it sounds really odd. Are you using UDP or TCP for sync? If you're using UDP you could try TCP. UDP is a connectionless protocol, while TCP is not. There is more overhead with TCP but it is less likely a packet would get dropped. But honestly it's a stretch based on what you're seeing.
Again, changes on H2 are immediately reflected on H1 device page, so I don't think it's a TCP/IP or Z-Wave network issue. I'm willing to believe I could be wrong about that.
I'm also not in a huge hurry to resolve this so I'm interested in seeing if there's a better solution than delete / recreate even if I could use a dummy device to simplify the proceedure.
I've played around with some virtual switches and one simple rule. I can kind of see what's going on. In short I was doing it "wrong". I was trying to use Settings -> Swap Device in Apps on the remote hub for hub mesh linked devices. It's not that simple. In fact, after a few minutes of trying to figure it out, I don't see the right set of steps between the two hubs.
It would be nice if there were a section of documentation regarding the how using hub mesh affects certain other aspects of using Hubitat:
Using the Mobile App with 2 or more hubs
How to use Settings -> Swap Device in Apps with multiple hubs
Using multiple hubs with Lock Code Manager (can't "Enable lockCode encryption")
Maybe other issues I haven't encountered
I know how I've worked through these issues, but I'm not confident I couldn't do it better.