Author |
|
tbeckman Senior Member
Joined: December 30 2007 Location: United States
Online Status: Offline Posts: 149
|
Posted: October 17 2008 at 13:43 | IP Logged
|
|
|
Does anyone know if there is a way to know if PH lost a connection with ELK? I would like to send an email to myself if PH no longer sees the communication coming across from the ELK. It doesn't happen very often but it did last night and I didn't know about it till things stopped working. Thank you.
|
Back to Top |
|
|
tbeckman Senior Member
Joined: December 30 2007 Location: United States
Online Status: Offline Posts: 149
|
Posted: October 21 2008 at 16:36 | IP Logged
|
|
|
Ok... this is the third time in the past week that PH loses the Elk transmitting to it's log. I look at HELP-ABOUT-CONTROLLERS and it shows as connected... I check the ELK system and it appears to be doing its job still... but nothing in the logs. I have to restart PH and the two start talking again? Anyone have this same experience or have any ideas? Thank you.
|
Back to Top |
|
|
tbeckman Senior Member
Joined: December 30 2007 Location: United States
Online Status: Offline Posts: 149
|
Posted: November 03 2008 at 21:42 | IP Logged
|
|
|
Bump
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: November 04 2008 at 10:50 | IP Logged
|
|
|
Ive seen this problem myself a couple of times. What appears to be happening is that the socket connection (I assume you're using the M1XEP since Ive only seen this problem when connecting to the Elk via a socket) is being lost. As far as I know, the Elk does not send any type of "heartbeat" message so PowerHome does not know the connection is lost.
I am working on adding additional code though to have PowerHome do some type of periodic "query" to the Elk to try and detect this situation so that the connection can be broken and remade. I can probably make it fire a trigger as well when this happens so that an email can be sent.
Dave.
|
Back to Top |
|
|
tbeckman Senior Member
Joined: December 30 2007 Location: United States
Online Status: Offline Posts: 149
|
Posted: November 04 2008 at 11:44 | IP Logged
|
|
|
Thanks Dave. If you are able to figure out when it is not connecting and cause a reconnect... that would be fantastic. It seems to happen about 5 or 6 times a week. Can't find a common pattern at all. Thank you for your attention to my little problem (big too me, but I am just one person). By the way, I am not sure I have ever expressed my thanks for developing such a good product. I am amazed at the things I can do, despite my lack of understanding code. This forum has been be a tremendous help.
|
Back to Top |
|
|
tbeckman Senior Member
Joined: December 30 2007 Location: United States
Online Status: Offline Posts: 149
|
Posted: November 05 2008 at 14:34 | IP Logged
|
|
|
Another thing I have noticed when connecting to the ELK from the ELKRP. Prior to my upgrade whenever I would connect(via XEP) to the ELK via the RP a message would pop up stating that PH is disconnecting from the ELK... then after I disconnected it would pop up another message saying it was connected again. Now, since the upgrade to V2, I usually get an error message from the RP saying it can't connect and eventually when I keep trying it finally will connect... but I never get the pop messages anymore indicating PH was disconnecting or reconnecting. Just wondered if this may be a part of my issues with PH and ELK mysteriously disconnecting. Thanks.
|
Back to Top |
|
|
smarty Super User
Joined: May 21 2006 Location: United States
Online Status: Offline Posts: 728
|
Posted: November 07 2008 at 20:26 | IP Logged
|
|
|
tbeckman wrote:
Does anyone know if there is a way to know if PH lost a connection with ELK? I would like to send an email to myself if PH no longer sees the communication coming across from the ELK. It doesn't happen very often but it did last night and I didn't know about it till things stopped working. Thank you. |
|
|
How about this methodology.....
On the M1, configured a rule to turn on a certain output every x minutes. Using a PH trigger, once the PC sees that the Output has been turned on, the PC turns it back off, so the M1 knows the PC is alive.
This same heartbeat mechanism works the other way around as well, since if the PC notices that the output has been on too long, it knows something is wrong with the connectivity to the M1 (or the M1 itself).
Credit for this idea goes to Electron over at Cocoontech.com
__________________ Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
|
Back to Top |
|
|
tbeckman Senior Member
Joined: December 30 2007 Location: United States
Online Status: Offline Posts: 149
|
Posted: November 09 2008 at 23:57 | IP Logged
|
|
|
Ok.. I think this is a great idea. Can someone help walk me through it? I would like PH to check the ELK to see if it is connected. I believe the only way to get PH to reconnect with the ELK is to reinitialize it. How do I send a command to reinitialize PH? I can setup the output on the ELK to change every so many minutes and I can create a trigger to change it back... but I am a little sketchy on how to get PH to realize that it couldn't change the ELK output (because it didn't connect) and therefor reintialize and try again. Thank you for your help.
|
Back to Top |
|
|