Author |
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: May 15 2008 at 08:58 | IP Logged
|
|
|
I had, what appeared to be, a PLM hung condition. The Event Log shows all macros executing as expected except there was no PLM activity in or out ie: “Insteon DM Controller PLM transmission……” Also the Device Status window did not show any changes except to the Virtual Devices. There was no indication in the Log that the PLM had failed if in fact that is the failure point. I would have thought when PH sends a command to the PLM there would be a return code but then I don’t have that type of information available. Since this is my first PLM failure I haven’t establish a recommended recovery procedure yet.
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: May 15 2008 at 13:18 | IP Logged
|
|
|
I saw this as well the day I received mine. I chalked it up to not plugging it in fully, as it has not happened since. I'm with you on not seeing that PH noticed this condition.
|
Back to Top |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: May 15 2008 at 15:05 | IP Logged
|
|
|
Tony, I can easily reproduce this by unplugging the serial connection and re-plugging it back. PH has no idea it happened. To recover the only thing I found that worked was to do a reset (unplug and re-plug with set button pressed) and start PH again. Reinit did not work. So now I test with a Trigger for the condition and post a User Message.
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: May 15 2008 at 20:47 | IP Logged
|
|
|
Which condition are you triggering off of?
|
Back to Top |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: May 15 2008 at 21:18 | IP Logged
|
|
|
I check basically check for a response from a PH_GETINSTEONLEVELRT and if it not what I expect then I know I’ve got a problem. The Trigger that drives this is an Insteon Device Chg any any any with a Boolean of IF ({GATE_PLM_TEST} = 1, 0, IF ({GATE_INSTEON_EVENT} = 1, 0, IF (PH_GETINSTEONLEVELRT("MBR_BED") = PH_GETGLOBAL_N("LEVEL_MBR_BED"), 0, ph_setglobal_s("gate_PLM_TEST", "1")+1))) All the gating is to control the firing is to keep it from firing at the wrong times.. A macro PLM Test, which fires when the condition is met, then does the actual test with retries. Hopefully all this backyard logic makes sense. Interesting though is Dave has a recovery which did not work.
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: May 18 2008 at 21:51 | IP Logged
|
|
|
I'll look into this and see if I can implement any sort of clean recovery for this type of failure.
Dave.
|
Back to Top |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: May 19 2008 at 09:01 | IP Logged
|
|
|
I had another lockup last night and then again this morning. All systems are the same as the 1st post. To recover I first tried to Clear the PLM. It said it completed BUT I doubt it actually did. Next I tried to Add Min. There were slow TXs in the Raw Log but no returns and the log said an entry loaded. Again I doubt it did. I next did a recycle of PH and received a bunch of NAKs in the Raw Log. Finally I brought down PH and unplugged PLM and re-plugged, restarted PH. Everything came up normal. I then did a PLM Clear – OK, followed by an Add Min – OK. I tried to duplicate it by unplugging the serial cable. The results looked like the failure but was able to recover when I plugged the cable back. My work around did not fire so I’m back to square one. One other note is I had 1 failure on Alpha 7 in 3 weeks and 2 failures on Alpha 8 in 3 days.
I’m going away for a month; the house should be fun to watch…
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: May 19 2008 at 10:25 | IP Logged
|
|
|
I am able to clear the lock by shutting down PH, cycling power to the PLM, then bringing PH back up.
|
Back to Top |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: May 19 2008 at 14:37 | IP Logged
|
|
|
OK, the only common denominator between the last 2 failures was at the instance of failure I had an Insteon ON and an X10 ON going out to the same Appliance Module. After that all X10 commands got stacked up on a queue somewhere and were executed 25 seconds later. Insteon commands did not show in the Event Log. As like Tony the recovery is to shutdown PH and power cycle the PLM then bring PH back up. Beware something is broke somewhere.
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: May 19 2008 at 17:59 | IP Logged
|
|
|
Insteon and X10 to the same module? I don't think I follow.
FYI, I also have a few left-over X10 modules in my system that I can test with.
|
Back to Top |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: May 19 2008 at 19:36 | IP Logged
|
|
|
You can program an Insteon module to send and receive X10 commands also. Because of the amount of noise interference I have, that particular module responds to the ControLinc with an X10 a command and PH backs that up with an Insteon command and an X10 command.. Endless error recovery…
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: July 28 2008 at 10:12 | IP Logged
|
|
|
This is the same problem Tony is having with the PLM Lockup. I knew if I waited long enough and had the right traces running I might be able to trap this. In my case it appears to happen when an Insteon Appliance Module is having commands sent to it in both X10 and Insteon relatively at the same time. In the following trace you’ll notice at 12:57:28.796 an X10 address E1 is sent. At 12:57:31.546 there is an Insteon Status Request to the same device. At 12:57:31.578 the X10 command Off is sent. After that it nothing but a continuous loops of Insteon Offs and CTLR NAKs.
It looks like the Status Request was never responded to and an X10 command was sent after thus resulting in an apparent hang/lockup.. I guess my question is why isn’t PH seeing these continuous NAKs and terminating the loop? The cause could be the Appliance Module or firmware in the PLM or both.
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
TonyNo Moderator Group
Joined: December 05 2001 Location: United States
Online Status: Offline Posts: 2889
|
Posted: July 28 2008 at 13:29 | IP Logged
|
|
|
Ah ha! An X10 command then BAM! Exactly what I am seeing.
Good catch. Hopefully, Dave can get something from this info.
|
Back to Top |
|
|