Status responses seem to Lock Up

Post your MobiLinc comments and feedback here.

Status responses seem to Lock Up

Postby J3adSeed » Tue Oct 06, 2009 8:14 pm

I'm having weird problems getting device status back. Usually if I haven't been running for a while, everything works when I click a device I see its status and can command it and it will update correctly. If I try to execute a scene with about 5 or more devices, after a few commands its almost like SDM is overwhelemed and no longer gets status's back. All commands continue to send out correctly, but responses are not received, leaving me to get error after error on iLinc. Then usually from that point on for quite a while (10 minutes or more - can't quite figure out the rhyme or reason) status's will no longer report back. A simple unplug of the SDM and replugging it in will usually cure everything. Below is a log, where I execute a mass scene to turn everything off. About 5 or so commands work, then I stop getting responses, though the sends complete. After that, I wait some time, and keep trying to get status on a light, with no avail, then turn it on, which works, but then don't get status for the on, then don't get repeated status checks. Then I unplug, replug, and it works like a charm. Is there some way to fix this???
Code: Select all
 ui:Response03.50.3E:setOnLevelText=03.50.3E,0%
 si:11 F1 64 03 50 3E 05 11 00
PLC:eventraw=03
PLC:eventraw=04
PLC:receiveinsteonraw=04 03 50 3E 11 F1 64 25 11 00
10/6/2009 11:05:29 PM:ackmsg=03.50.3E:ON at OFF
PLC:Response03.50.3E:setOnLevelText=03.50.3E,OFF
 uifinished:Response03.50.3E:setOnLevelText=03.50.3E,0%
PLC:eventraw=03
 ui:Response00.ED.3D:setOnLevelText=00.ED.3D,0%
 si:11 F1 64 00 ED 3D 05 11 00
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=04
PLC:receiveinsteonraw=04 00 ED 3D 11 F1 64 2F 11 00
10/6/2009 11:05:33 PM:ackmsg=00.ED.3D:ON at OFF
PLC:Response00.ED.3D:setOnLevelText=00.ED.3D,OFF
 uifinished:Response00.ED.3D:setOnLevelText=00.ED.3D,0%
PLC:eventraw=03
PLC:eventraw=03
 ui:Response00.1B.BB:setOnLevelText=00.1B.BB,0%
 si:11 F1 64 00 1B BB 05 11 00
PLC:eventraw=03
PLC:eventraw=04
PLC:receiveinsteonraw=04 00 1B BB 11 F1 64 25 11 00
10/6/2009 11:05:36 PM:ackmsg=00.1B.BB:ON at OFF
PLC:Response00.1B.BB:setOnLevelText=00.1B.BB,OFF
 uifinished:Response00.1B.BB:setOnLevelText=00.1B.BB,0%
PLC:eventraw=03
 ui:Response03.50.23:setOnLevelText=03.50.23,0%
 si:11 F1 64 03 50 23 05 11 00
PLC:eventraw=03
PLC:eventraw=04
PLC:receiveinsteonraw=04 03 50 23 11 F1 64 25 11 00
10/6/2009 11:05:39 PM:ackmsg=03.50.23:ON at OFF
PLC:Response03.50.23:setOnLevelText=03.50.23,OFF
 uifinished:Response03.50.23:setOnLevelText=03.50.23,0%
PLC:eventraw=03
 ui:Response04.F6.58:setOnLevelText=04.F6.58,0%
 si:11 F1 64 04 F6 58 05 11 00
PLC:eventraw=03
PLC:eventraw=04
PLC:receiveinsteonraw=04 04 F6 58 11 F1 64 25 11 00
10/6/2009 11:05:42 PM:ackmsg=04.F6.58:ON at OFF
PLC:Response04.F6.58:setOnLevelText=04.F6.58,OFF
 uifinished:Response04.F6.58:setOnLevelText=04.F6.58,0%
 ui:Response03.97.E6:setOnLevelText=03.97.E6,0%
 si:11 F1 64 03 97 E6 05 11 00
PLC:eventraw=03
PLC:eventraw=04
PLC:receiveinsteonraw=04 03 97 E6 11 F1 64 25 11 00
10/6/2009 11:05:45 PM:ackmsg=03.97.E6:ON at OFF
PLC:Response03.97.E6:setOnLevelText=03.97.E6,OFF
 uifinished:Response03.97.E6:setOnLevelText=03.97.E6,0%
PLC:eventraw=03
 ui:Response03.9B.EF:setOnLevelText=03.9B.EF,0%
 si:11 F1 64 03 9B EF 05 11 00
PLC:eventraw=03
PLC:eventraw=04
PLC:receiveinsteonraw=04 03 9B EF 11 F1 64 25 11 00
10/6/2009 11:05:47 PM:ackmsg=03.9B.EF:ON at OFF
PLC:Response03.9B.EF:setOnLevelText=03.9B.EF,OFF
 uifinished:Response03.9B.EF:setOnLevelText=03.9B.EF,0%
PLC:eventraw=03
 ui:Response00.27.64:setOnLevelText=00.27.64,0%
 si:11 F1 64 00 27 64 05 11 00
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=05
10/6/2009 11:05:52 PM:nakmsg(00.27.64)
PLC:Response00.27.64:setOnLevelText=send failed,00.27.64
 uifinished:Response00.27.64:setOnLevelText=00.27.64,0%
cp=800B
 ui:Response00ED.57:setOnLevelText=00ED.57,0%
 si:11 F1 64 ED 57 05 11 00
PLC:eventraw=05
10/6/2009 11:06:01 PM:nakmsg(ED.57.05)
PLC:Response00ED.57:setOnLevelText=send failed,00ED.57
 uifinished:Response00ED.57:setOnLevelText=00ED.57,0%
 ui:Response04.7E.DB:setOnLevelText=04.7E.DB,0%
 si:11 F1 64 04 7E DB 05 11 00
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=05
10/6/2009 11:06:07 PM:nakmsg(04.7E.DB)
PLC:Response04.7E.DB:setOnLevelText=send failed,04.7E.DB
 uifinished:Response04.7E.DB:setOnLevelText=04.7E.DB,0%
 ui:Response00.27.83:setOnLevelText=00.27.83,0%
 si:11 F1 64 00 27 83 05 11 00
PLC:eventraw=03
PLC:eventraw=04
PLC:Response00.27.83:setOnLevelText=send failed,00.27.83
 uifinished:Response00.27.83:setOnLevelText=00.27.83,0%
 ui:Response00.27.76:setOnLevelText=00.27.76,0%
 si:11 F1 64 00 27 76 05 11 00
PLC:eventraw=03
PLC:eventraw=04
PLC:eventraw=03
PLC:Response00.27.76:setOnLevelText=send failed,00.27.76
 uifinished:Response00.27.76:setOnLevelText=00.27.76,0%
 ui:Response00.27.87:setOnLevelText=00.27.87,0%
 si:11 F1 64 00 27 87 05 11 00
PLC:eventraw=03
PLC:eventraw=04
PLC:eventraw=03
PLC:Response00.27.87:setOnLevelText=send failed,00.27.87
 uifinished:Response00.27.87:setOnLevelText=00.27.87,0%
 ui:Response00.27.72:setOnLevelText=00.27.72,0%
 si:11 F1 64 00 27 72 05 11 00
PLC:eventraw=03
PLC:eventraw=04
PLC:eventraw=03
PLC:Response00.27.72:setOnLevelText=send failed,00.27.72
 uifinished:Response00.27.72:setOnLevelText=00.27.72,0%
 ui:Response00.1B.BB:getOnLevelText=00.1B.BB
 si:11 F1 64 00 1B BB 05 19 00
PLC:eventraw=03
PLC:eventraw=04
PLC:eventraw=03
 ui:Response00.1B.BB:setOnLevelText=00.1B.BB,100%
 uifinished:Response00.1B.BB:setOnLevelText=00.1B.BB,100%
 si:11 F1 64 00 1B BB 05 19 00
 ui:nop
PLC:eventraw=03
PLC:eventraw=04
PLC:Response00.1B.BB:getOnLevelText=send failed
 si:11 F1 64 00 1B BB 05 11 FF
PLC:eventraw=03
PLC:eventraw=04
PLC:eventraw=03
PLC:Response00.1B.BB:setOnLevelText=send failed,00.1B.BB
PLC:nop=
 uifinished:nop
 uifinished:Response00.1B.BB:getOnLevelText=00.1B.BB
 ui:Response00.1B.BB:getOnLevelText=00.1B.BB
 si:11 F1 64 00 1B BB 05 19 00
PLC:eventraw=03
PLC:eventraw=04
PLC:eventraw=03
 si:11 F1 64 00 1B BB 05 19 00
PLC:eventraw=03
PLC:eventraw=04
PLC:eventraw=03
 uifinished:Response00.1B.BB:getOnLevelText=00.1B.BB
PLC:Response00.1B.BB:getOnLevelText=send failed
 ui:nop
PLC:nop=
 uifinished:nop
 ui:Response00.1B.BB:getOnLevelText=00.1B.BB
 si:11 F1 64 00 1B BB 05 19 00
PLC:eventraw=03
PLC:eventraw=04
PLC:eventraw=03
 si:11 F1 64 00 1B BB 05 19 00
PLC:eventraw=03
PLC:eventraw=04
PLC:eventraw=03
 uifinished:Response00.1B.BB:getOnLevelText=00.1B.BB
 ui:nop
PLC:Response00.1B.BB:getOnLevelText=send failed
PLC:nop=
 uifinished:nop
usbunplugged=4287,4,1024,,,
usbarrival=4287,4,1024,SmartHome,SmartHome PowerLinc USB E,
 ui:Response00.1B.BB:getOnLevelText=00.1B.BB
 si:11 F1 64 00 1B BB 05 19 00
PLC:eventraw=03
PLC:eventraw=04
PLC:receiveinsteonraw=04 00 1B BB 11 F1 64 25 01 FF
10/6/2009 11:11:05 PM:ackmsg=00 1B BB 11 F1 64 25 01 FF
PLC:Response00.1B.BB:getOnLevelText=00.1B.BB,ON
 uifinished:Response00.1B.BB:getOnLevelText=00.1B.BB
PLC:eventraw=03

J3adSeed
 
Posts: 4
Joined: Tue Oct 06, 2009 8:03 pm

Re: Status responses seem to Lock Up

Postby AdminWes » Wed Oct 07, 2009 6:41 am

Hi J3adSeed,

Let's see if we can get to the bottom of what's going on. Thank you for posting the SDM output, this is the best way for me to understand what SDM is giving back to iLinc.

It looks like the first device SDM is failing on is address: 00.27.64

Double-check to make sure that this is the correct address. It looks maybe a bit suspicious with the 00 in the first address location as I haven't seen too many devices with 00 as the first address. The error SDM is reporting is that it couldn't find that device. Can you command and get status on that device individually? (Once you do the unplug/replug trick with the PLC)

While you are checking addresses of your devices, check the next address, SDM reports it received an address of "00ED.57". This isn't a valid Insteon address. Double-check that the address in iLinc is 00.ED.57 and that you can command and get status on this device individually.

Please confirm these and we'll move forward trying to figure out what's happening.

Thanks,
Wes
AdminWes
Site Admin
 
Posts: 2087
Joined: Sat Feb 07, 2009 2:52 pm

Re: Status responses seem to Lock Up

Postby J3adSeed » Wed Oct 07, 2009 8:48 pm

Thanks for your help.. The first insteon address is valid with a starting 00, i have a few of them, I pretty much bought them when they first came out. They seem to work fine and are controllable fine with status via HouseLinc2. I can command them on and off and sometimes get status from them. The second one was an error, I didn't have the "." between the first and second set of numbers, i fixed that one and it works now too. I'm still having the issue of status's getting dropped. Once is missed, it seems to cascade and pretty much kill the SDM and/or the Hardware.

Below is a log where i executed a scene to turn off 5 insteon devices, all of which worked independently. As soon as it errored out, all subsequent commands errored on status. The commands still execute as intended. After the scene completed, I waited some time to try to let everything "catch up" then tried to get status on a single light. It failed. Then i set the light to an on level, and the light came on, but its status still failed.

The annoyance with this problem is as soon as you seem to drop a status, the whole system is messed up indefinately.

Code: Select all
downloadTimer started
timerActivate enabled
SDM:DM=active,1.01.138.308,10/7/2009 11:40:14 PM,responded,11.F1.64,2.13,xdevices=True
starttime=00:07
 ui:isResponding
PLC:isresponding=True
 uifinished:isResponding
 ui:Response03.50.3E:setOnLevelText=03.50.3E,0%
 si:11 F1 64 03 50 3E 05 11 00
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=04
PLC:receiveinsteonraw=04 03 50 3E 11 F1 64 2A 11 00
10/7/2009 11:41:11 PM:ackmsg=03.50.3E:ON at OFF
PLC:Response03.50.3E:setOnLevelText=03.50.3E,OFF
 uifinished:Response03.50.3E:setOnLevelText=03.50.3E,0%
PLC:eventraw=03
PLC:eventraw=03
 ui:Response00.ED.3D:setOnLevelText=00.ED.3D,0%
 si:11 F1 64 00 ED 3D 05 11 00
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=03
PLC:eventraw=05
10/7/2009 11:41:15 PM:nakmsg(00.ED.3D)
cp=8002
PLC:Response00.ED.3D:setOnLevelText=send failed,00.ED.3D
 uifinished:Response00.ED.3D:setOnLevelText=00.ED.3D,0%
 ui:Response00.1B.BB:setOnLevelText=00.1B.BB,0%
 si:11 F1 64 00 1B BB 05 11 00
PLC:eventraw=03
PLC:eventraw=04
PLC:eventraw=03
PLC:Response00.1B.BB:setOnLevelText=send failed,00.1B.BB
 uifinished:Response00.1B.BB:setOnLevelText=00.1B.BB,0%
 ui:Response03.50.23:setOnLevelText=03.50.23,0%
 si:11 F1 64 03 50 23 05 11 00
PLC:eventraw=03
PLC:eventraw=04
PLC:Response03.50.23:setOnLevelText=send failed,03.50.23
 uifinished:Response03.50.23:setOnLevelText=03.50.23,0%
 ui:Response00.ED.57:setOnLevelText=00.ED.57,0%
 si:11 F1 64 00 ED 57 05 11 00
PLC:eventraw=03
PLC:eventraw=04
PLC:eventraw=03
PLC:Response00.ED.57:setOnLevelText=send failed,00.ED.57
 uifinished:Response00.ED.57:setOnLevelText=00.ED.57,0%
 ui:Response00.1B.BB:getOnLevelText=00.1B.BB
 si:11 F1 64 00 1B BB 05 19 00
PLC:eventraw=03
PLC:eventraw=04
PLC:eventraw=03
 si:11 F1 64 00 1B BB 05 19 00
PLC:eventraw=03
PLC:eventraw=04
 uifinished:Response00.1B.BB:getOnLevelText=00.1B.BB
PLC:Response00.1B.BB:getOnLevelText=send failed
 ui:nop
PLC:nop=
 uifinished:nop
 ui:Response00.1B.BB:setOnLevelText=00.1B.BB,73%
 ui:Response00.1B.BB:setOnLevelText=00.1B.BB,73%
 uifinished:Response00.1B.BB:setOnLevelText=00.1B.BB,73%
 si:11 F1 64 00 1B BB 05 11 BA
PLC:eventraw=03
PLC:eventraw=04
PLC:eventraw=03
PLC:Response00.1B.BB:setOnLevelText=send failed,00.1B.BB
 si:11 F1 64 00 1B BB 05 11 BA
PLC:eventraw=03
PLC:eventraw=04
PLC:eventraw=03
PLC:Response00.1B.BB:setOnLevelText=send failed,00.1B.BB
 uifinished:Response00.1B.BB:setOnLevelText=00.1B.BB,73%

J3adSeed
 
Posts: 4
Joined: Tue Oct 06, 2009 8:03 pm

Re: Status responses seem to Lock Up

Postby AdminWes » Thu Oct 08, 2009 6:06 am

Hi J3adSeed,

I'll replicate your scene with 5 devices tonight and see if I can get my SDM/PLC to fail in the same way. I'll post back tonight with my results and any suggestions I may have to fix the interaction with the SDM software.

Wes
AdminWes
Site Admin
 
Posts: 2087
Joined: Sat Feb 07, 2009 2:52 pm

Re: Status responses seem to Lock Up

Postby AdminWes » Fri Oct 09, 2009 5:19 am

Hi J3adSees,

I created a scene with 5 insteon devices to mimic your setup and I don't see the same behavior. Looking over your SDM logs again SDM is having a communication problem with some of your devices causing this failure issue inside of SDM when iLinc requests SDM to perform operations. Here are my suggestions:

- Verify your SDM version is 3.08
- Verify that your PLC can talk to your devices relialibly. You mentioned that you can get status sometimes on devices. It sounds like we need to track down why you can't get status 100% of the time.
- Since the PLC needs to be near a computer to operate, try getting an extenstion cord and plugging the PLC into an outlet away from the computer noise to see if that improves your communication.
- Verify you are running iLinc version 2.01. Tap My Settings and scroll down for the version information.

Wes
AdminWes
Site Admin
 
Posts: 2087
Joined: Sat Feb 07, 2009 2:52 pm

Re: Status responses seem to Lock Up

Postby J3adSeed » Fri Oct 09, 2009 3:37 pm

I agree the issue seems a failure in SDM once iLinc requests some operation, the operation fails, and kills it.

SDM v 3.08 verified
iLinc v 2.01 verified
My computer has an insteon filter on it, and i tried going extension cord to the other side of the room. Doesn't have any affect. My computer is even on battery backup, so i even tried unplugging the computer and filter completely, and still duplicated it.

Clearly it seems a network reliability issue, and then a bug within SDM to not handle the error and continue. A missed status shouldn't bring down SDM for good until a unplug/replug of the PLC. The weird thing about it being a network reliability issue is HouseLinc2 works fine getting status's. I can execute scripts from it just fine as well without issue.

Is there a way to check the PLC firmware and/or flash it?



AdminWes wrote:Hi J3adSees,

I created a scene with 5 insteon devices to mimic your setup and I don't see the same behavior. Looking over your SDM logs again SDM is having a communication problem with some of your devices causing this failure issue inside of SDM when iLinc requests SDM to perform operations. Here are my suggestions:

- Verify your SDM version is 3.08
- Verify that your PLC can talk to your devices relialibly. You mentioned that you can get status sometimes on devices. It sounds like we need to track down why you can't get status 100% of the time.
- Since the PLC needs to be near a computer to operate, try getting an extenstion cord and plugging the PLC into an outlet away from the computer noise to see if that improves your communication.
- Verify you are running iLinc version 2.01. Tap My Settings and scroll down for the version information.

Wes
J3adSeed
 
Posts: 4
Joined: Tue Oct 06, 2009 8:03 pm

Re: Status responses seem to Lock Up

Postby AdminWes » Fri Oct 09, 2009 8:43 pm

Hi J3adSeed,

I believe that Houselinc uses an ActiveX applet to interface with the PLC which is a better way to use the PLC device then the web interface. However, with the iPhone we're stuck with the web interface.

Thank-you for suggesting the firmware. I had another PLC user run into a similar problem...I don't know why I didn't think of it earlier. He reflashed his device with the latest SALAD Core App on the PLC and it fixed his problems.

I did a search and found this forum post on how to reset your SALAD Core App on the PLC (I think I need to say it, but use at your own risk):
http://www.embeddedautomation.com/forum ... ight=salad

I have firmware version 2.13 of the PLC (You can find the version by typing 'dm' in the SDM window and then typing 'getFirmware' in the command box). Which version do you have?

Wes
AdminWes
Site Admin
 
Posts: 2087
Joined: Sat Feb 07, 2009 2:52 pm

Re: Status responses seem to Lock Up

Postby J3adSeed » Mon Oct 12, 2009 5:34 pm

Hey, I had the latest firmware, but used the SALAD thing to update anyway, and sure enough, its working much better now. I get occasional missed status, but it doesn't lock up anymore so that is good enough for me. Even in an event, when I miss one, the next ones will usually work, which never happened before.
J3adSeed
 
Posts: 4
Joined: Tue Oct 06, 2009 8:03 pm

Re: Status responses seem to Lock Up

Postby AdminWes » Mon Oct 12, 2009 7:11 pm

Glad to hear it's working much better now!

Wes
AdminWes
Site Admin
 
Posts: 2087
Joined: Sat Feb 07, 2009 2:52 pm


Return to MobiLinc Feedback and Comments

Who is online

Users browsing this forum: No registered users and 1 guest

cron