Originally posted by sirmeili
View Post
Announcement
Collapse
No announcement yet.
Coming Soon! MeiHarmonyHub! (Harmony Hub Monitor and Control)
Collapse
X
-
Originally posted by frankis78 View PostI already changed the polling to 1 min, but didnt help, and now i restarted plugin, but still dont pick up the new activity
Comment
-
Originally posted by sirmeili View PostOk. I'll check it out. It should really pick up on startup if nothing else. Have you done a sync with your hub (via the phone app or your remote)?
I can use my phone to run that activity, so this shouldnt be the issue.Last edited by frankis78; March 2, 2018, 08:55 AM.
Comment
-
Originally posted by frankis78 View PostHave you looked on the activity update?
I can control the devices that is already in homeseer , so i dont think communication is an issue. It just dont update new activities.
Comment
-
Originally posted by sirmeili View PostSorry, i was sick over the weekend and didn't get a chance to look into it. I will look tonight. I'm not sure why it wouldn't pick it up as it should, but I definitely don't doubt you. Chances are I'm missing something when requesting them.
Comment
-
OK. First issue so far. Running 3.0.1.0, I started getting these errors over the weekend and they are continuing today. The error is only for 1 hub, which seems to be working properly. The other two identical hubs are not generating the error.
Mar-05 1:53:26 PM MeiHarmonyHub: Error The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.2.129:5222
Mar-05 1:53:26 PM MeiHarmonyHub: Error The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port) at HarmonyHub.Client.Connect()
Mar-05 1:32:53 PM MeiHarmonyHub: Error The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.2.129:5222
Mar-05 1:32:53 PM MeiHarmonyHub: Error The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port) at HarmonyHub.Client.Connect()
Mar-05 1:29:36 PM MeiHarmonyHub: Error The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.2.129:5222
Mar-05 1:29:36 PM MeiHarmonyHub: Error The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port) at HarmonyHub.Client.Connect()
Mar-05 1:23:06 PM MeiHarmonyHub: Error The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.2.129:5222
Mar-05 1:23:06 PM MeiHarmonyHub: Error The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port) at HarmonyHub.Client.Connect()
Mar-05 1:08:32 PM MeiHarmonyHub: Error The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.2.129:5222
Mar-05 1:08:32 PM MeiHarmonyHub: Error The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port) at HarmonyHub.Client.Connect()
Mar-05 1:00:17 PM MeiHarmonyHub: Error The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.2.129:5222
Mar-05 1:00:17 PM MeiHarmonyHub: Error The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port) at HarmonyHub.Client.Connect()
Mar-05 12:54:16 PM MeiHarmonyHub: Error The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.2.129:5222
Mar-05 12:54:16 PM MeiHarmonyHub: Error The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port) at HarmonyHub.Client.Connect()HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon
Comment
-
Originally posted by frankis78 View PostHave you looked on the activity update?
I can control the devices that is already in homeseer , so i dont think communication is an issue. It just dont update new activities.
So, this tells me that it "should" work, but it obviously isn't always working for some reason. Can you tell me:
How did you add the activity? did you use the My Harmony computer program or maybe your phone? <- Never mind, I see you said you used your phone. I'll try doing one that way.
What model Harmony Remote do you have?
Have you tried syncing again just to be sure (I'm sure you have)?
In the mean time I will look at the code a bit closer in case I'm missing something. I will also add some more debugging code around that and try and release a new version tonight.
Comment
-
Originally posted by rprade View PostOK. First issue so far. Running 3.0.1.0, I started getting these errors over the weekend and they are continuing today. The error is only for 1 hub, which seems to be working properly. The other two identical hubs are not generating the error.
Mar-05 1:53:26 PM MeiHarmonyHub: Error The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.2.129:5222
Mar-05 1:53:26 PM MeiHarmonyHub: Error The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port) at HarmonyHub.Client.Connect()
Mar-05 1:32:53 PM MeiHarmonyHub: Error The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.2.129:5222
Mar-05 1:32:53 PM MeiHarmonyHub: Error The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port) at HarmonyHub.Client.Connect()
Mar-05 1:29:36 PM MeiHarmonyHub: Error The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.2.129:5222
Mar-05 1:29:36 PM MeiHarmonyHub: Error The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port) at HarmonyHub.Client.Connect()
Mar-05 1:23:06 PM MeiHarmonyHub: Error The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.2.129:5222
Mar-05 1:23:06 PM MeiHarmonyHub: Error The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port) at HarmonyHub.Client.Connect()
Mar-05 1:08:32 PM MeiHarmonyHub: Error The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.2.129:5222
Mar-05 1:08:32 PM MeiHarmonyHub: Error The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port) at HarmonyHub.Client.Connect()
Mar-05 1:00:17 PM MeiHarmonyHub: Error The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.2.129:5222
Mar-05 1:00:17 PM MeiHarmonyHub: Error The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port) at HarmonyHub.Client.Connect()
Mar-05 12:54:16 PM MeiHarmonyHub: Error The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.2.129:5222
Mar-05 12:54:16 PM MeiHarmonyHub: Error The Conection to Hub with ID 31172a89-d5a3-4262-a62f-83e2360224a8 failed with stack trace: at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port) at HarmonyHub.Client.Connect()
Is this hub the same model as the others? If not, what model is it?
Have you tried pressing the disconnect button?
Have you tried stopping and restarting the plugin?
I know the last isn't a solution, but I want to know if it's persistent between restarts.
Comment
-
Originally posted by sirmeili View PostOk, I just ran a test. I set my device polling at 1 min (for testing, I normally keep it at 1 day). I then opened up the MyHarmony program on my computer and added a new activity "Watch Roku 2". After that, I used my phone to sync the hub and during the next polling, the device was updated with the new activity.
So, this tells me that it "should" work, but it obviously isn't always working for some reason. Can you tell me:
How did you add the activity? did you use the My Harmony computer program or maybe your phone? <- Never mind, I see you said you used your phone. I'll try doing one that way.
What model Harmony Remote do you have?
Have you tried syncing again just to be sure (I'm sure you have)?
In the mean time I will look at the code a bit closer in case I'm missing something. I will also add some more debugging code around that and try and release a new version tonight.
Comment
-
Originally posted by sirmeili View PostThanks Randy. Some questions:
Is this hub the same model as the others? If not, what model is it?
Have you tried pressing the disconnect button?
Have you tried stopping and restarting the plugin?
I know the last isn't a solution, but I want to know if it's persistent between restarts.HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon
Comment
-
Originally posted by sirmeili View PostEven with it disabled you still get the errors?HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon
Comment
-
Originally posted by rprade View PostThe errors continue after disabling the hub - until I restart HomeSeer. I could probably restart the plug-in. If I enable the hub again, there are no errors. The errors will start after HomeSeer is restarted.
Comment
-
Originally posted by sirmeili View PostRandy, I will do my best to try and reproduce using the information above. Not sure why it would be failing until a HS restart and then not again until a HS restart. I'll do my best to reproduce though and see if I can find a fix.
EDIT: It appears that this behavior is different with polling enabled. I had polling at the default (disabled). When polling is enabled the enabled/disabled status of the hub is updated at the polling interval.
EDIT 2: It also appears that the hub goes to "Forcefully Disconnnected" at the moment the error is logged, then it goes back to "Connnected". Note: the the misspelling of Connected and Disconnected is copied from the SV pairs in the hub device.
I have enabled debug logging and will send or attach a copy later. Where is the debug log stored?Last edited by randy; March 6, 2018, 08:09 PM.HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon
Comment
Comment