Reload Z-Wave stick

Posted on
Tue Dec 22, 2020 3:25 am
Bildhauer offline
Posts: 68
Joined: Sep 30, 2019
Location: 22113 Oststeinbek (near Hamburg), Germany

Reload Z-Wave stick

Hello,.

is there any script (Apple script or Python) I can us to reload a z-wave interface (e. g. Aeotec z-Wave stick) after multiple interface errors like this?

send getVersion failed after 9 attempts
Z-Wave Error restarting serial connection in 5.0 seconds
Interface Failure lost connection with interface

Doing it manually sometime helps so I would like to have it done automatically
-.
Best regards

Bildhauer

Posted on
Tue Dec 22, 2020 4:20 am
howartp offline
Posts: 4258
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Reload Z-Wave stick

I can’t remember if there’s an Action for this? Look in Actions > Server Actions.


Sent from my iPhone using Tapatalk Pro

Posted on
Tue Dec 22, 2020 1:47 pm
Bildhauer offline
Posts: 68
Joined: Sep 30, 2019
Location: 22113 Oststeinbek (near Hamburg), Germany

Re: Reload Z-Wave stick

There is an option to reset RF10 and Insteon interface using this.

Best regards

Bildhauer

Posted on
Tue Dec 22, 2020 2:37 pm
howartp offline
Posts: 4258
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Reload Z-Wave stick

@Matt / @Jay

Can this be feature-requested to do Zwave as well?

Peter

Posted on
Tue Dec 22, 2020 3:01 pm
jay (support) offline
Site Admin
User avatar
Posts: 16767
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Reload Z-Wave stick

It's on the list, we just haven't gotten around to it. This script will do it:

Code: Select all
zwave_interface = indigo.server.getPlugin("com.perceptiveautomation.indigoplugin.zwave)
if zwave_interface.isEnabled():
   zwave_interface.restart(waitUntilDone=True)


I don't have a lot of hope that it will solve the OP's issue - there is something that's causing the USB connection to the interface to fail and I wouldn't expect that restarting the plugin itself would fix the problem.

[MODERATOR NOTE]: moved to Python Scripting forum

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 3 guests