Zwave devices not reachable after USB port change

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
HGFBoris
Posts: 7
Joined: Saturday 23 December 2017 16:05
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Zwave devices not reachable after USB port change

Post by HGFBoris »

Hey everybody!

I'm running domoticz 2020.2 on a Raspi 3b+ without any problems since month. Now I did do a backup using the raspi card tool. When I deconnected the sd card the system went nuts. The zwave.me stick wasn't shown in hardware anymore - everything gone.

Now I plugged it into a different USB port (changed also the power supply to 3 Amp) and added the zwave stick as new hardware. Now I can see all zwave devices (if I go to zwave configuration) and can controll them over the panel - but when I'm using domoticz switches and scripts it tells me, that the device (with IDx number) is not connected or reachable. The link between the hardware and the IDx seems to be "broken". What can I do to fix it?

Please don't tell me to rebind all devices... please please... the zwace network is up and running...

Thanks folks!

Boris
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Zwave devices not reachable after USB port change

Post by EddyG »

Solution could be to make your USB device use the same port ALL the time.
See: https://www.domoticz.com/wiki/PersistentUSBDevices
Because sometimes after reboot, or when you manually change the USB port of a device the OS comes up with an other USB port for the device.
That might depend on the booting order and/or different racing conditions of services etc. during boot.
If you do that, normally the Zwave network will come up again without loss.
HGFBoris
Posts: 7
Joined: Saturday 23 December 2017 16:05
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zwave devices not reachable after USB port change

Post by HGFBoris »

EddyG wrote: Wednesday 28 October 2020 9:15 Solution could be to make your USB device use the same port ALL the time.
See: https://www.domoticz.com/wiki/PersistentUSBDevices
Because sometimes after reboot, or when you manually change the USB port of a device the OS comes up with an other USB port for the device.
That might depend on the booting order and/or different racing conditions of services etc. during boot.
If you do that, normally the Zwave network will come up again without loss.
thanks for your help!
I did all the steps and assigned as supposed in the link - but without a change... I can reach ZWave devices through ozwcp but not with domoticz...
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Zwave devices not reachable after USB port change

Post by EddyG »

Do you have Setup -> Settings -> "Accept new Hardware Devices" enabled?
Because you added the Zwave device as new hardware you probably have a new Hardware IDX assigned to the Zwave stick.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest