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....
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....
Comment