Restart Z-Wave Interface

This forum is for questions about Action Groups and Actions. If you're asking yourself "can Indigo do X" then this is may be the place to ask.
MarcoGT
Posts: 1111
Joined: Thu Sep 11, 2014 1:06 pm
Location: Germany

Restart Z-Wave Interface

Post by MarcoGT »

Hi all,

yesterday at my parents' house there was a power black out.
MacMini restarted and everything was fine, but the Z-Wave interface had some problem (it was red in the left bottom corner); using the Menu, I restarted it.

I did a quick search inside Server Actions and I found something similar, to restart the Interfaces when needed.
I would like to perform this action after the black out. I saw there is a "power failure" trigger; when is this trigger invoked? Do I need an UPS to get this trigger working?

Do you have something similar?

Thanks
Marco
User avatar
matt (support)
Site Admin
Posts: 21453
Joined: Mon Jan 27, 2003 1:17 pm
Location: Texas
Contact:

Re: Restart Z-Wave Interface

Post by matt (support) »

Unfortunately, both the power failure trigger and the reset interfaces action only apply to power line based interfaces (X10 and INSTEON). We need to change the verbiage to be more clear.

Although Indigo cannot detect a power failure without a power line based interface (INSTEON/X10), you can create an Action Group that performs the Z-Wave reset by having it execute the following embedded python script:

Code: Select all

pluginId = "com.perceptiveautomation.indigoplugin.zwave"
plugin = indigo.server.getPlugin(pluginId)
plugin.restart()
Image
MarcoGT
Posts: 1111
Joined: Thu Sep 11, 2014 1:06 pm
Location: Germany

Re: Restart Z-Wave Interface

Post by MarcoGT »

Hi Matt,

thanks for the clarification.

Ok, then I will put the restart of the Z-Wave interface after the Indigo Server start (with a delay of couple of mins)

Thanks
Post Reply

Return to “Action Groups and Actions”