Announcement

Collapse
No announcement yet.

Insteon Device Polling Problems

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Insteon Device Polling Problems

    Today I noticed that auto-polling was not producing the correct status for the switches, so I decided to request HS to poll for the status. It came back with the incorrect status for several switches. I decided to use SDM directly to see if HS was just reporting bad status from SDM, but to my surprise I found that the SDM could poll the switches with total reliability. Here is what I put in the IE browser address bar:
    http://192.168.0.7:9020/abc.txt?getOnLevelText=01.15.9A

    And it sent back (correctly, as the switch was off):
    eventraw=03 eventraw=04 receiveinsteonraw=04 01 15 9A 00 D5 F7 25 00 00 getOnLevelText=01.15.9A,OFF

    This is what HS reported for the same switch:
    Polling: Attic Hall (Status is: 28%)

    Here is the "Config" definition for the switch:
    Insteon Address: 01.15.9A
    Device Name: Hall
    Device Location: Attic
    Device Type: Unknown
    Polling Interval: 10

    I clicked on "poll" several times and HS reported a bad status, then it started working again with correct status. Now I did make the request for one of the switches using SDM around the time that HS reported correctly. But I have ruled that out as being the reason because I checked the SDM log file and it reported correctly for that switch, not just when I polled it via SDM, but from past HS polls that had taken place. Also, HS must look to the SDM just like my request via web page addressing, so I believe this is a plugin bug.

    Another piece of info is that I do have other switches named "Hall" in another "location", however the other "Hall" device was at 15%. Another switch in the "Attic" "Office" was at 28%, just not this one. SDM appears to have responded correctly in all cases. - Oh, I did not have detailed HS Insteon logging on at the time....

    #2
    The SDM can get out of sync if a report request fails, causing all subsequent responses to be incorrect. SH knows about it and hopefully it will be fixed in the next SDM release. The SDM logs correctly but the command responses back from the original call are not correct. There is no way to detect this at this time.

    Jon


    Originally posted by danielperez
    Today I noticed that auto-polling was not producing the correct status for the switches, so I decided to request HS to poll for the status. It came back with the incorrect status for several switches. I decided to use SDM directly to see if HS was just reporting bad status from SDM, but to my surprise I found that the SDM could poll the switches with total reliability. Here is what I put in the IE browser address bar:
    http://192.168.0.7:9020/abc.txt?getOnLevelText=01.15.9A

    And it sent back (correctly, as the switch was off):
    eventraw=03 eventraw=04 receiveinsteonraw=04 01 15 9A 00 D5 F7 25 00 00 getOnLevelText=01.15.9A,OFF

    This is what HS reported for the same switch:
    Polling: Attic Hall (Status is: 28%)

    Here is the "Config" definition for the switch:
    Insteon Address: 01.15.9A
    Device Name: Hall
    Device Location: Attic
    Device Type: Unknown
    Polling Interval: 10

    I clicked on "poll" several times and HS reported a bad status, then it started working again with correct status. Now I did make the request for one of the switches using SDM around the time that HS reported correctly. But I have ruled that out as being the reason because I checked the SDM log file and it reported correctly for that switch, not just when I polled it via SDM, but from past HS polls that had taken place. Also, HS must look to the SDM just like my request via web page addressing, so I believe this is a plugin bug.

    Another piece of info is that I do have other switches named "Hall" in another "location", however the other "Hall" device was at 15%. Another switch in the "Attic" "Office" was at 28%, just not this one. SDM appears to have responded correctly in all cases. - Oh, I did not have detailed HS Insteon logging on at the time....
    Jon Ort
    JonOrt@The--Orts.com
    (Remove the dashes in the address, spam is getting out of hand)

    Comment


      #3
      Thanks for the update.
      - Daniel

      Comment


        #4
        Get beta .04 - polling issues should be gone.

        Jon


        Originally posted by danielperez
        Thanks for the update.
        - Daniel
        Jon Ort
        JonOrt@The--Orts.com
        (Remove the dashes in the address, spam is getting out of hand)

        Comment


          #5
          Originally posted by Oman
          Get beta .04 - polling issues should be gone.

          Jon
          Is .04 available yet?

          Comment


            #6
            Nevermind - it just showed up.

            Comment


              #7
              This error sounds familiar

              So far reboot and restarts have not solved this one. How do I know if the upgrade worked? Where is the ".04" version number in the log?

              1/20/2006 1:46:29 AM - INSTEONBASIC - Error in InitPlugin: System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure at SDM3Server.ISDM3.set_blocking(Boolean Value) at HSPI_INSTEONBASIC.HSPI.InitPlugin(Int32 Mode)
              1/20/2006 1:46:29 AM - Error - Initializing interface: INSTEONBASIC->System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure at SDM3Server.ISDM3.set_blocking(Boolean Value) at HSPI_INSTEONBASIC.HSPI.InitPlugin(Int32 Mode)


              Originally posted by Oman
              Get beta .04 - polling issues should be gone.

              Jon

              Comment


                #8
                Got past that, now look at the polling status...

                Polling: 1st Floor Living Room (Status is: getOnLevelText=E002)
                Polling: 2nd Floor Hall (Status is: OFF)
                Polling: 2nd Floor Hall Secondary (Status is: getOnLevelText=E002)
                Polling: Attic Office (Status is: getOnLevelText=E002)
                Polling: Attic Hall (Status is: getOnLevelText=E002)
                Polling: Attic Office Secondary (Status is: getOnLevelText=E002)

                And the log:
                1/20/2006 1:55:18 AM INSTEONBASIC Attempting to poll
                1/20/2006 1:55:18 AM INSTEONBASIC Got 'getOnLevelText=E002:' From Poll request
                1/20/2006 1:55:18 AM INSTEONBASIC Setting status and value for ^2
                1/20/2006 1:55:18 AM INSTEONBASIC Ignoring SetIO for ^2 Cmd: 19 Bright: 0 because it was generated internally
                1/20/2006 1:55:18 AM INSTEONBASIC Ignoring SetIO for ^2 Cmd: 3 Bright: 0 because it was generated internally
                1/20/2006 1:55:18 AM INSTEONBASIC Attempting to poll 01.15.9B
                1/20/2006 1:55:19 AM INSTEONBASIC OT: getOnLevelText=E002:PARM1 MISSING
                1/20/2006 1:55:20 AM INSTEONBASIC S:00 D5 F7 01 15 9B 05 19 00---Decode: Src[00.D5.F7] Dst[01.15.9B] Cmd:Status Request 00
                1/20/2006 1:55:20 AM INSTEONBASIC Got 'OFF' From Poll request
                1/20/2006 1:55:20 AM INSTEONBASIC Setting status and value for ^1
                1/20/2006 1:55:20 AM INSTEONBASIC Ignoring SetIO for ^1 Cmd: 19 Bright: 0 because it was generated internally
                1/20/2006 1:55:20 AM INSTEONBASIC Ignoring SetIO for ^1 Cmd: 3 Bright: 0 because it was generated internally
                1/20/2006 1:55:20 AM INSTEONBASIC Attempting to poll
                1/20/2006 1:55:21 AM INSTEONBASIC Got 'getOnLevelText=E002:' From Poll request
                1/20/2006 1:55:21 AM INSTEONBASIC Setting status and value for ^3
                1/20/2006 1:55:21 AM INSTEONBASIC Ignoring SetIO for ^3 Cmd: 19 Bright: 0 because it was generated internally
                1/20/2006 1:55:21 AM INSTEONBASIC Ignoring SetIO for ^3 Cmd: 3 Bright: 0 because it was generated internally
                1/20/2006 1:55:21 AM INSTEONBASIC Attempting to poll
                1/20/2006 1:55:21 AM INSTEONBASIC Got 'getOnLevelText=E002:' From Poll request
                1/20/2006 1:55:21 AM INSTEONBASIC Setting status and value for ^5
                1/20/2006 1:55:21 AM INSTEONBASIC Ignoring SetIO for ^5 Cmd: 19 Bright: 0 because it was generated internally
                1/20/2006 1:55:21 AM INSTEONBASIC Ignoring SetIO for ^5 Cmd: 3 Bright: 0 because it was generated internally
                1/20/2006 1:55:21 AM INSTEONBASIC Attempting to poll
                1/20/2006 1:55:21 AM INSTEONBASIC OT: getOnLevelText=E002:PARM1 MISSING
                1/20/2006 1:55:21 AM INSTEONBASIC Got 'getOnLevelText=E002:' From Poll request
                1/20/2006 1:55:21 AM INSTEONBASIC Setting status and value for ^4
                1/20/2006 1:55:21 AM INSTEONBASIC Ignoring SetIO for ^4 Cmd: 19 Bright: 0 because it was generated internally
                1/20/2006 1:55:21 AM INSTEONBASIC Ignoring SetIO for ^4 Cmd: 3 Bright: 0 because it was generated internally
                1/20/2006 1:55:21 AM INSTEONBASIC Attempting to poll
                1/20/2006 1:55:21 AM INSTEONBASIC Got 'getOnLevelText=E002:' From Poll request
                1/20/2006 1:55:21 AM INSTEONBASIC Setting status and value for ^6
                1/20/2006 1:55:21 AM INSTEONBASIC Ignoring SetIO for ^6 Cmd: 19 Bright: 0 because it was generated internally
                1/20/2006 1:55:21 AM INSTEONBASIC Ignoring SetIO for ^6 Cmd: 3 Bright: 0 because it was generated internally
                1/20/2006 1:55:22 AM INSTEONBASIC OT: getOnLevelText=E002:PARM1 MISSING
                1/20/2006 1:55:22 AM INSTEONBASIC OT: getOnLevelText=E002:PARM1 MISSING

                Comment


                  #9
                  Insteon Status Issues

                  I am also having problems with the correct Insteon Status. I turn a switch on and the HS status indiocates ON, but the switch never turned on?? This caused reliability problems.

                  I am using beta 3 plugin

                  Comment


                    #10
                    You are not using beta 5. You can tell what you are using by looking at the very start of the HomeSeer log (no matter what debugging level you have in the plug-in). There will be a line like Plug-in INSTEONBASIC 1.0.0.3

                    Jon


                    Originally posted by danielperez
                    Polling: 1st Floor Living Room (Status is: getOnLevelText=E002)
                    Polling: 2nd Floor Hall (Status is: OFF)
                    Polling: 2nd Floor Hall Secondary (Status is: getOnLevelText=E002)
                    Polling: Attic Office (Status is: getOnLevelText=E002)
                    Polling: Attic Hall (Status is: getOnLevelText=E002)
                    Polling: Attic Office Secondary (Status is: getOnLevelText=E002)

                    And the log:
                    1/20/2006 1:55:18 AM INSTEONBASIC Attempting to poll
                    1/20/2006 1:55:18 AM INSTEONBASIC Got 'getOnLevelText=E002:' From Poll request
                    1/20/2006 1:55:18 AM INSTEONBASIC Setting status and value for ^2
                    1/20/2006 1:55:18 AM INSTEONBASIC Ignoring SetIO for ^2 Cmd: 19 Bright: 0 because it was generated internally
                    1/20/2006 1:55:18 AM INSTEONBASIC Ignoring SetIO for ^2 Cmd: 3 Bright: 0 because it was generated internally
                    1/20/2006 1:55:18 AM INSTEONBASIC Attempting to poll 01.15.9B
                    1/20/2006 1:55:19 AM INSTEONBASIC OT: getOnLevelText=E002:PARM1 MISSING
                    1/20/2006 1:55:20 AM INSTEONBASIC S:00 D5 F7 01 15 9B 05 19 00---Decode: Src[00.D5.F7] Dst[01.15.9B] Cmd:Status Request 00
                    1/20/2006 1:55:20 AM INSTEONBASIC Got 'OFF' From Poll request
                    1/20/2006 1:55:20 AM INSTEONBASIC Setting status and value for ^1
                    1/20/2006 1:55:20 AM INSTEONBASIC Ignoring SetIO for ^1 Cmd: 19 Bright: 0 because it was generated internally
                    1/20/2006 1:55:20 AM INSTEONBASIC Ignoring SetIO for ^1 Cmd: 3 Bright: 0 because it was generated internally
                    1/20/2006 1:55:20 AM INSTEONBASIC Attempting to poll
                    1/20/2006 1:55:21 AM INSTEONBASIC Got 'getOnLevelText=E002:' From Poll request
                    1/20/2006 1:55:21 AM INSTEONBASIC Setting status and value for ^3
                    1/20/2006 1:55:21 AM INSTEONBASIC Ignoring SetIO for ^3 Cmd: 19 Bright: 0 because it was generated internally
                    1/20/2006 1:55:21 AM INSTEONBASIC Ignoring SetIO for ^3 Cmd: 3 Bright: 0 because it was generated internally
                    1/20/2006 1:55:21 AM INSTEONBASIC Attempting to poll
                    1/20/2006 1:55:21 AM INSTEONBASIC Got 'getOnLevelText=E002:' From Poll request
                    1/20/2006 1:55:21 AM INSTEONBASIC Setting status and value for ^5
                    1/20/2006 1:55:21 AM INSTEONBASIC Ignoring SetIO for ^5 Cmd: 19 Bright: 0 because it was generated internally
                    1/20/2006 1:55:21 AM INSTEONBASIC Ignoring SetIO for ^5 Cmd: 3 Bright: 0 because it was generated internally
                    1/20/2006 1:55:21 AM INSTEONBASIC Attempting to poll
                    1/20/2006 1:55:21 AM INSTEONBASIC OT: getOnLevelText=E002:PARM1 MISSING
                    1/20/2006 1:55:21 AM INSTEONBASIC Got 'getOnLevelText=E002:' From Poll request
                    1/20/2006 1:55:21 AM INSTEONBASIC Setting status and value for ^4
                    1/20/2006 1:55:21 AM INSTEONBASIC Ignoring SetIO for ^4 Cmd: 19 Bright: 0 because it was generated internally
                    1/20/2006 1:55:21 AM INSTEONBASIC Ignoring SetIO for ^4 Cmd: 3 Bright: 0 because it was generated internally
                    1/20/2006 1:55:21 AM INSTEONBASIC Attempting to poll
                    1/20/2006 1:55:21 AM INSTEONBASIC Got 'getOnLevelText=E002:' From Poll request
                    1/20/2006 1:55:21 AM INSTEONBASIC Setting status and value for ^6
                    1/20/2006 1:55:21 AM INSTEONBASIC Ignoring SetIO for ^6 Cmd: 19 Bright: 0 because it was generated internally
                    1/20/2006 1:55:21 AM INSTEONBASIC Ignoring SetIO for ^6 Cmd: 3 Bright: 0 because it was generated internally
                    1/20/2006 1:55:22 AM INSTEONBASIC OT: getOnLevelText=E002:PARM1 MISSING
                    1/20/2006 1:55:22 AM INSTEONBASIC OT: getOnLevelText=E002:PARM1 MISSING
                    Jon Ort
                    JonOrt@The--Orts.com
                    (Remove the dashes in the address, spam is getting out of hand)

                    Comment


                      #11
                      First off - please use the current beta.

                      There is an issue with HomeSeer 2 and devices take a small amount of time to confirm their status (like Insteon does if the switch can't be reached). If the plug-in takes more than a fraction of a second to set the value of the light to "on" it assumes it is off. So the plug-in sets the value to what you asked for, then if the status comes back from the switch as being unreachable then it sets it to unknown since there is no way to know if the switch did anything.

                      Jon


                      Originally posted by lhm
                      I am also having problems with the correct Insteon Status. I turn a switch on and the HS status indiocates ON, but the switch never turned on?? This caused reliability problems.

                      I am using beta 3 plugin
                      Jon Ort
                      JonOrt@The--Orts.com
                      (Remove the dashes in the address, spam is getting out of hand)

                      Comment


                        #12
                        I also had the problem that the polling function returned an error message saying that it failed. In addition, I was having spotty x10 and Insteon control, however, I noticed that the Insteon status light was blinking about one time per second. Similar to other issues associated with the 2414U described in other threads. However, after hours and hours of trying different combinations of the solutions noted, I connected up my X10 signal quality display, and low and behold, I was getting a J3 command every second even with the 2414U unpluged. As it turned out one of my IRLincs had failed and was transmitting this signal along with enough noise that it was blocking and jamming the 2414U unit from working properly.

                        Just goes to show you how difficult it is to try to determine a hardware problem from a software one!

                        Everything is working PERFECT!
                        -Todd

                        ____________________________________________________________ ________________
                        HS2Pro: 2.5.0.81 :: HS3Pro (beta) || Plugins:| SmartHome PowerLinc USB, Global Cache, BLBackup, DooCPU Monitor, DooMotion, BLOutlook, BLIcon, BLOutgoingCalls, OutgoingCalls, ROC-Rnd, HSTouch iPhone, UPS Monitor, DooMenuBar, BLSpeech, HSTouch Server, WAF AB8SS, mcsTemperature, VWS, BLChart, RFXCOM, ISY Insteon, iAutomate RFID, iTunes, NetCAM, DSC Security, Nest

                        Comment

                        Working...
                        X