Disable an interface remotely.

Posted on
Tue Feb 25, 2020 7:46 pm
HEGarrard offline
Posts: 40
Joined: Sep 09, 2014

Disable an interface remotely.

Is it possible to disable Insteon/X10 Interface and ZWave Interface remotely?

I have had instances where a device (either insteon or zwave) gets into an "infinite loop" of the device going on and then off ... on and off. The only way I have found to stop this is disable the Insteon/X10 and ZWave interfaces and then enable the interfaces.

I use the Indigo app on my iPhone and I would like to be able to disable and enable the interfaces using the app. Is this possible?
Can I write a PYTHON script or use built-in SERVER ACTIONS on a control page?

OR is there another way of stopping the interfaces remotely, using a trigger???

Thank you!

Posted on
Tue Feb 25, 2020 7:52 pm
FlyingDiver offline
User avatar
Posts: 7221
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Disable an interface remotely.

Have you tried creating an action group with a "Server Actions -> Reset Interface Connections" action in it?

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Tue Feb 25, 2020 8:05 pm
HEGarrard offline
Posts: 40
Joined: Sep 09, 2014

Re: Disable an interface remotely.

Thanks for your reply!

I tried "Server Actions -> Reset Interface Connections" and this did not work.

After posting the message - I stumbled on a solution for ZWave using Python Script ....

pluginId = "com.perceptiveautomation.indigoplugin.zwave"
plugin = indigo.server.getPlugin(pluginId)
plugin.restart()

I was unable to find any way of disabling the Insteon/X10 interface using python script.

Posted on
Wed Feb 26, 2020 9:14 am
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Disable an interface remotely.

The Reset Interface Connections action is the closest thing we have to restarting the Insteon interface.

I would encourage you to figure out where in your logic you're generating the infinite loop - solving the actual problem rather than treating the symptom is usually the best course of action.

Indigo does its best to detect infinite loops, but it can't always (particularly when a script is involved). See the General tab in the Indigo Preferences for setting loop detection.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 19 guests