Insteon Health Test Tool app now available

Posted on
Mon Jun 30, 2014 10:25 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Insteon Health Test Tool app now available

just FYI:

my PowerLinc 2413U modem connection died (at the bottom of the indigo main windows the insteon part was red ) while the survey was running.

did a indigo server shutdown
a modem power recycle
and a mac server recycle

after the second power recycle things came back..

Posted on
Tue Jul 01, 2014 3:30 am
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Insteon Health Test Tool app now available

kw123 wrote:
using latest indigo 6.0.13,
got the following error.

Code: Select all
 Starting plugin "Survey Plugin 2.20" (pid 8149)
  Started plugin "Survey Plugin 2.20"
  Survey Plugin                   1 Pass Survey Requested....
  Survey Plugin                   Survey Pass - 1
  Error                           resending previous command (reply mismatch)

Jun 30, 2014, 9:59:53 PM
  Survey Plugin                      LampLink ?? Timed-Out, No Reply Received
  Survey Plugin                      outsideGarageLights Timed-Out, No Reply Received
  Survey Plugin                      pool temp io linc Timed-Out, No Reply Received
  Survey Plugin                      spare micro Timed-Out, No Reply Received
  Survey Plugin Error             Error in plugin execution MenuAction:

Traceback (most recent call last):
  File "plugin.py", line 321, in survey_1pass_manualUpdate
  File "plugin.py", line 263, in gather_data
<type 'exceptions.ValueError'>: IllegalParameterError -- plugin does not define method sendDevicePing



Strange. I'll take a look at it tonight, and see if I can diagnose it.

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Tue Jul 01, 2014 3:41 pm
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Insteon Health Test Tool app now available

kw123 wrote:
just FYI:

my PowerLinc 2413U modem connection died (at the bottom of the indigo main windows the insteon part was red ) while the survey was running.

did a indigo server shutdown
a modem power recycle
and a mac server recycle

after the second power recycle things came back..


Weird, there's nothing that the survey plugin can do that would cause this, to my knowledge. All I am doing is telling Indigo to ping the device, and getting the results back.

If you could keep an eye on this..

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Tue Jul 01, 2014 3:51 pm
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Insteon Health Test Tool app now available

kw123 wrote:
using latest indigo 6.0.13,
got the following error.

Code: Select all
 Starting plugin "Survey Plugin 2.20" (pid 8149)
  Started plugin "Survey Plugin 2.20"
  Survey Plugin                   1 Pass Survey Requested....
  Survey Plugin                   Survey Pass - 1
  Error                           resending previous command (reply mismatch)

Jun 30, 2014, 9:59:53 PM
  Survey Plugin                      LampLink ?? Timed-Out, No Reply Received
  Survey Plugin                      outsideGarageLights Timed-Out, No Reply Received
  Survey Plugin                      pool temp io linc Timed-Out, No Reply Received
  Survey Plugin                      spare micro Timed-Out, No Reply Received
  Survey Plugin Error             Error in plugin execution MenuAction:

Traceback (most recent call last):
  File "plugin.py", line 321, in survey_1pass_manualUpdate
  File "plugin.py", line 263, in gather_data
<type 'exceptions.ValueError'>: IllegalParameterError -- plugin does not define method sendDevicePing



Okay, I don't see anything that can cause this?

Can you contact me at Benjamin AT schollnick DOT net, and I'll send you an updated version with some optional debugging code?

- Ben

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Tue Jul 01, 2014 6:10 pm
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: Insteon Health Test Tool app now available

That error can occur if you try to call the ping method on a plugin device. See the example code I posted earlier in this thread on how you should find which devices to ping.

Image

Posted on
Tue Jul 01, 2014 6:28 pm
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Insteon Health Test Tool app now available

matt (support) wrote:
That error can occur if you try to call the ping method on a plugin device. See the example code I posted earlier in this thread on how you should find which devices to ping.


:? I don't see any code in your example, that is explicitly eliminating plugins, although conversely you are calling just the Zwave and Insteon devices, which could have that side effect.

But what plugins support a StatusRequest? I'm checking explicitly to see that the device supports the " supportsStatusRequest " boolean?

I'll look at this again, I just was trying to prevent having to call the Insteon and ZWave devices in separate loops. That would cause duplicate code, and seemed inefficient.

- Benjamin

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Tue Jul 01, 2014 6:48 pm
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Insteon Health Test Tool app now available

bschollnick2 wrote:
although conversely you are calling just the Zwave and Insteon devices, which could have that side effect.


Exactly.

bschollnick2 wrote:
But what plugins support a StatusRequest? I'm checking explicitly to see that the device supports the " supportsStatusRequest " boolean?


Any plugin device that the developer has configured to support a status request.

bschollnick2 wrote:
I'll look at this again, I just was trying to prevent having to call the Insteon and ZWave devices in separate loops. That would cause duplicate code, and seemed inefficient.


So then look at the protocol property of the device to see if it's Zwave or Insteon (defined as a indigo.kProtocol) as well as supportsStatusRequest.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Thu Jul 03, 2014 7:47 am
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Insteon Health Test Tool app now available

matt (support) wrote:
That error can occur if you try to call the ping method on a plugin device. See the example code I posted earlier in this thread on how you should find which devices to ping.


Okay, with this in mind, I have made some changes.

https://dl.dropboxusercontent.com/u/241 ... 0v2.21.zip

v2.21 (2014-07-03)
++++++++++++++++++
* Fixed issue where pinging a Plugin device could cause a problem with the HA Interface.
* Fixed ZWave survey bug
* Added code to deal with Zwave subdevices

v2.20 (2014-06-30)
++++++++++++++++++
* Fixed percentage errors with Fanlincs
* Added code to deal with Zwave subdevices
* First version to support ZWave devices

2.10 (2014-06-27)
+++++++++++++++++
* Switched to using the Ping results from Indigo’s API. This should be more accurate and dependable.
* Switched to API v1.16 Ping Command
* v2.10 REQUIRES Indigo v6.0.13 or higher, due to the dependency on API v1.16.
* Using Indigo API V1.16’s Ping command, so we can now test Insteon and Z-Wave (Pending) devices in a cross-platform manner.
* Started to update to PEP 8 standards
* v2.10 now uses the WaitUntilIdle Server command, so this should help prevent any stalls from other requests from Indigo.
* Due to the switch to Indigo’s results, I am switching the timings to Milliseconds, instead of seconds.
Last edited by bschollnick2 on Sun Aug 10, 2014 5:13 am, edited 1 time in total.

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Thu Jul 03, 2014 8:40 am
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Insteon Health Test Tool app now available

So did you go with filtering on kProtocol?

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Thu Jul 03, 2014 9:05 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Insteon Health Test Tool app now available

no more error message, output looks good also for z-wave


POTENTIAL ISSUE:

- the poolPump when off (no schedule / trigger to do this in indigo). It is an insteon 30A Load Controller for 220Volt
- does not display z-wave repeaters, may be they do not answer.

Jul 3, 2014, 9:56:22 AM
Stopping plugin "Survey Plugin" (pid 536)
Stopped plugin "Survey Plugin"
Upgrading plugin "Survey Plugin" to newer version 2.21 (previous version moved to trash)
Loading plugin "Survey Plugin 2.21"
Starting plugin "Survey Plugin 2.21" (pid 57481)
Started plugin "Survey Plugin 2.21"

Jul 3, 2014, 9:56:43 AM
Survey Plugin 1 Pass Survey Requested....
Survey Plugin Survey Pass - 1
Received INSTEON "poolPump" off (button 2)
Survey Plugin imeter1 Timed-Out, No Reply Received
Received INSTEON "poolPump" off (button 2)
Survey Plugin LampLink ?? Timed-Out, No Reply Received
Received INSTEON "poolPump" on (button 2)
Received INSTEON "poolPump" off (button 2)
Survey Plugin outsideGarageLights Timed-Out, No Reply Received
Survey Plugin spare micro Timed-Out, No Reply Received
Survey Plugin spare not connected Timed-Out, No Reply Received
Survey Plugin Total Successes - 67
Survey Plugin Total Failures - 5
Survey Plugin Done processing devices


[edit]: running it again, poolPump stayed on... looks fine
only Open issue from my side: z-wave repeaters do not show

This is a great tool thanks so much

Karl

Posted on
Thu Jul 03, 2014 11:24 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Insteon Health Test Tool app now available

running it again, poolPump goes wild!
Code: Select all
Jul 3, 2014, 12:15:37 PM
  Survey Plugin                   3 Pass Survey Requested....
  Survey Plugin                   Survey Pass - 1
  Received INSTEON                "poolPump" on (button 2)
  Received INSTEON                "poolPump" off (button 2)
  Received INSTEON                "poolPump" on (button 2)
  Received INSTEON                "poolPump" off (button 2)
  Survey Plugin                      LampLink ?? Timed-Out, No Reply Received
  Received INSTEON                "poolPump" on (button 2)
  Received INSTEON                "poolPump" on (button 2)
  Received INSTEON                "poolPump" off (button 2)
  Survey Plugin                      outsideGarageLights Timed-Out, No Reply Received
  Survey Plugin                      spare micro Timed-Out, No Reply Received
  Survey Plugin                      spare not connected Timed-Out, No Reply Received
  Received INSTEON                "poolPump" on (button 2)
  Survey Plugin                   Survey Pass - 2
  Received INSTEON                "poolPump" off (button 2)
  Received INSTEON                "poolPump" on (button 2)
  Received INSTEON                "poolPump" off (button 2)
  Received INSTEON                "poolPump" on (button 2)
  Received INSTEON                "poolPump" off (button 2)
  Survey Plugin                      LampLink ?? Timed-Out, No Reply Received
  Received INSTEON                "poolPump" on (button 2)
  Received INSTEON                "poolPump" off (button 2)
  Survey Plugin                      outsideGarageLights Timed-Out, No Reply Received
  Received INSTEON                "poolPump" on (button 2)
  Received INSTEON                "poolPump" off (button 2)
  Survey Plugin                      spare micro Timed-Out, No Reply Received
  Survey Plugin                      spare not connected Timed-Out, No Reply Received
  Survey Plugin                   Survey Pass - 3
  Received INSTEON                "poolPump" on (button 2)
  Received INSTEON                "poolPump" off (button 2)
  Received INSTEON                "poolPump" on (button 2)
  Received INSTEON                "poolPump" off (button 2)
  Survey Plugin                      LampLink ?? Timed-Out, No Reply Received
  Received INSTEON                "poolPump" on (button 2)
  Received INSTEON                "poolPump" off (button 2)
  Survey Plugin                      outsideGarageLights Timed-Out, No Reply Received
  Survey Plugin                      outsideGaragePoolOutlet Timed-Out, No Reply Received
  Survey Plugin                      spare micro Timed-Out, No Reply Received
  Survey Plugin                      spare not connected Timed-Out, No Reply Received
  Survey Plugin                   Total Successes - 203
  Survey Plugin                   Total Failures - 13
  Survey Plugin                   Done processing devices


actually the poolPump seems a bit nervous it goes on and off during the test. could this be a signal issue?
Tthe response time looks good, see attached screen-shot
There is another device (same type) next to the poolPump and that does not give any issues. poolPump has tiny bit better response time (250mSec vs 260mSec.)

the poolHeater has a newer firmware.
Attachments
Screen Shot 2014-07-03 at 12.22.27 PM.png
Screen Shot 2014-07-03 at 12.22.27 PM.png (26.11 KiB) Viewed 7517 times
Screen Shot 2014-07-03 at 12.19.34 PM.png
Screen Shot 2014-07-03 at 12.19.34 PM.png (41.78 KiB) Viewed 7517 times

Posted on
Thu Jul 03, 2014 11:32 am
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Insteon Health Test Tool app now available

jay (support) wrote:
So did you go with filtering on kProtocol?


Yes. If I hadn't, I would have had to duplicate the loop, and several tests. It was jus the simplest way to do this, without having to re-engineer the core logic.

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Thu Jul 03, 2014 11:35 am
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Insteon Health Test Tool app now available

kw123 wrote:
running it again, poolPump goes wild!


I am unaware of any reason that the survey tool could do anything that would cause this.

But my first thought is, do you have any Triggers that affect the pool pump? If you disable them, does that change the behavior?

I haven't noticed anything here when testing.

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Posted on
Thu Jul 03, 2014 12:34 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: Insteon Health Test Tool app now available

yes, I have a schedule at noon to switch poolPump off and on at 7pm, --- switched that one off , same result and it is only ONE specific device.

I tend to assume it is the device.

it is actually really bad to switch this motor on and off frequently.

Karl

Code: Select all
Jul 3, 2014, 1:29:43 PM
  Survey Plugin                   3 Pass Survey Requested....
  Survey Plugin                   Survey Pass - 1
  Received INSTEON                "poolPump" off (button 2)
  Received INSTEON                "poolPump" on (button 2)
  Survey Plugin                      LampLink ?? Timed-Out, No Reply Received
  Sent INSTEON                    "poolHeater" off
  Survey Plugin                      outsideGarageLights Timed-Out, No Reply Received
  Received INSTEON                "poolPump" off (button 2)
  Received INSTEON                "poolPump" on (button 2)
  Survey Plugin                      spare micro Timed-Out, No Reply Received
  Survey Plugin                      spare not connected Timed-Out, No Reply Received
  Survey Plugin                   Survey Pass - 2
  Received INSTEON                "poolPump" off (button 2)
  Survey Plugin                      LampLink ?? Timed-Out, No Reply Received
  Survey Plugin                      outsideGarageLights Timed-Out, No Reply Received
  Received INSTEON                "poolPump" on (button 2)
  Survey Plugin                      spare micro Timed-Out, No Reply Received
  Survey Plugin                      spare not connected Timed-Out, No Reply Received
  Survey Plugin                   Survey Pass - 3
  Received INSTEON                "poolPump" off (button 2)
  Received INSTEON                "poolPump" on (button 2)
  Received INSTEON                "poolPump" off (button 2)
  Survey Plugin                      LampLink ?? Timed-Out, No Reply Received
  Received INSTEON                "poolPump" on (button 2)
  Received INSTEON                "poolPump" off (button 2)
  Survey Plugin                      outsideGarageLights Timed-Out, No Reply Received
  Survey Plugin                      outsideGaragePoolOutlet Timed-Out, No Reply Received
  Survey Plugin                      spare micro Timed-Out, No Reply Received
  Survey Plugin                      spare not connected Timed-Out, No Reply Received
  Received INSTEON                "poolPump" on (button 2)
  Survey Plugin                   Total Successes - 203
  Survey Plugin                   Total Failures - 13
  Survey Plugin                   Done processing devices

Posted on
Thu Jul 03, 2014 2:18 pm
bschollnick2 offline
Posts: 1355
Joined: Oct 17, 2004
Location: Rochester, Ny

Re: Insteon Health Test Tool app now available

kw123 wrote:
yes, I have a schedule at noon to switch poolPump off and on at 7pm, --- switched that one off , same result and it is only ONE specific device.
I tend to assume it is the device.

it is actually really bad to switch this motor on and off frequently.


Matt, and Jay,

I'm stumped here? Is there anyway that sending a ping command could cause a device to randomly turn on and off?

- Ben

------
My Plugins for Indigo (v4, v5, and v6) - http://bit.ly/U8XxPG

Security Script for v4 - http://bit.ly/QTgclf
for v5 - http://bit.ly/T6WBKu

Support Forum(s) - http://www.perceptiveautomation.com/userforum/viewforum.php?f=33

Who is online

Users browsing this forum: No registered users and 0 guests