Hi! I wanted to add another "Me too!" and what has been a workaround for me lately.
Domoticz and Z-Wave JS have been working perfectly since I migrated from OpenZWave, until a few weeks back
I run Z-wave JS, Mosquitto and Domoticz on the same FreeBSD virtual machine. Since I upgraded from 2023.1 to 2024.4 I've seen a few switches and dimmers just not respond in Domoticz at all and when trying to flip switches and dimmers via Domoticz I just get the following (for the corresponding device, this is trying to turn off some lights using a timer on each device in Domoticz):
Code: Select all
2024-02-23 00:00:01.910 Error: Z-Wave JS UI: Switch not found!? (zwavejs2mqtt_0xd845223d_10-37-0-currentValue/Kitchen - Window light)
2024-02-23 00:00:01.910 Error: Error sending switch command, DevID: 6, Time: 2024-02-23 00:00:01
2024-02-23 00:00:01.910 Error: Z-Wave JS UI: Switch not found!? (zwavejs2mqtt_0xd845223d_8-37-0-currentValue/Livingroom - Window Lights)
2024-02-23 00:00:01.910 Error: Error sending switch command, DevID: 3, Time: 2024-02-23 00:00:01
2024-02-23 00:00:01.910 Error: Z-Wave JS UI: Switch not found!? (zwavejs2mqtt_0xd845223d_7-37-0-currentValue/Office - Screen backlight)
2024-02-23 00:00:01.910 Error: Error sending switch command, DevID: 2, Time: 2024-02-23 00:00:01
2024-02-23 00:00:01.910 Error: Z-Wave JS UI: Switch not found!? (zwavejs2mqtt_0xd845223d_59-51-0-currentColor/Balcony - Light)
2024-02-23 00:00:01.910 Error: Error sending switch command, DevID: 830, Time: 2024-02-23 00:00:01
What I have found worked for me (until next time I have to reboot the Domoticz VM, or restart just Z-Wave JS/Domoticz) is going into Z-wave JS UI Web, click/expand on the affected device > Home Assistant > Rediscover node > Yes. I see in the Domoticz-logs that the device is rediscovered. Then go to Node still in Z-wave JS UI and flip the switch a few times (maybe once is enough, not sure). Then finally after a few seconds Domoticz can turn on and off the device as intended again.
It's often a gamble how many devices are not initially synced or stops working. And sometimes they seem to "auto heal" and start working after a few hours by themselves if I don't have the energy to find out which devices I have to manually rediscover.
Currently running these versions of stuff:
FreeBSD 13.2
Aeotec Z-Stick 7
Domoticz 2024.4
Z-Wave JS UI 9.9.0
Z-Wave JS 12.4.4
Mosquitto 2.0.15
I currently have 52 devices in my Z-Wave network and I haven't found any setting to increase timeouts or whatever which was recommended with the old OpenZWave. I recall having read somewhere that it is recommended to increase some timeout if you have many devices with OpenZWave.
I'd be happy to help send logs or more info to get to the bottom of this, but I don't know if it's an issue with Z-Wave JS or Mosquitto or Domoticz, but gotta start somewhere! Then I found this forum topic and thought I'd give it a shot!