Hi,
I just found out that Logitech changed (broke) the websocket API with this latest update. Please do not update to the 4.15.250 version until I found out what has changed.
Cheers Rene
Hi,
I just found out that Logitech changed (broke) the websocket API with this latest update. Please do not update to the 4.15.250 version until I found out what has changed.
Cheers Rene
Hi,
I found that they changed the startup of the connection to obtain the RemoteID variable of the hub. Once the connection is established, it works as it did.
If you are on V4.15.250 check if the RemoteID variable is still having a numeric value. If so, install the LUA file below and you should be ok for now. Note that this is an update for version 3.4 of the plugin. Do not install if you have an older version.
When the RemoteID is missing, all you can do for now is make a packet trace on your mobile and look for the GET /?domain=svcs.myharmony.com&hubId=XXXXXXX where XXXXXXX will be your Hub RemoteID. Put that in teh RemoteID varaible and reload luup to get it working again.
The new discovery with the Hub is via TLSv1.2 and I will need to time to uncover that.
O joj,
[Update] please update the plugin to V3.6. this supports Hub V4.15.206 as well as 4.15.250.
Cheers rene
[quote=“reneboer”]Hi,
I found that they changed the startup of the connection to obtain the RemoteID variable of the hub. Once the connection is established, it works as it did.
If you are on V4.15.250 check if the RemoteID variable is still having a numeric value. If so, install the LUA file below and you should be ok for now. Note that this is an update for version 3.4 of the plugin. Do not install if you have an older version.
When the RemoteID is missing, all you can do for now is make a packet trace on your mobile and look for the GET /?domain=svcs.myharmony.com&hubId=XXXXXXX where XXXXXXX will be your Hub RemoteID. Put that in teh RemoteID varaible and reload luup to get it working again.
The new discovery with the Hub is via TLSv1.2 and I will need to time to uncover that.
O joj,
Cheers rene[/quote]The remote id is on the Vera side listed correct? I didn’t see any option in the Harmony app. Is there a way I can access my Vera from out of town on UI5? I don’t think I have port forwarding set up to my Wan but is there a way to get to it from Vera’s servers?
Sent from my Pixel 2 using Tapatalk
Hi,
The RemoteID is a variable on the plugin. If this is set you can install the V3.6 plugin lua and you will be back in business.
No other quick solution right now.
Cheers Rene
Hi Rene
My Vera Harmony plugin was on version 3.5 and my Harmony hubs have updated to version 4.15.250 and the connections broke.
I had the RemoteID listed for each hub in the variables. Uploaded the new L_Harmony.lua file to Vera and it restarted the engine.
The Harmony plugin still says its version 3.5.
However the errors have now gone. I was able to start a Harmony activity OK from the Vera web GUI.
Thanks
I have a more permanent fix that will get the remoteId again using another http request. They may remove that in the future too, but for now it gets me to at least the next Harmony Hub release.
Updating GitHub and the app market.
Cheers Rene
Got me up and running, thx as always!
Same here! Thanks for the quick support, Rene!
Many thanks for fixing it this fast!
Cor
[quote=“Cor, post:9, topic:200614”]Many thanks for fixing it this fast!
Cor[/quote]
You are my hero… Thank you
Stupid question, but is there a way to prevent auto updates on the hub?
Bless you for fixing this so fast. This is twice in the last few months that Logitech has done something like this that impacted my system. Some of it cannot be controlled (without digging for a remote) without this plug is so thanks so much.
I think the only thing stupid here is you cannot decide for your self. Unless you block the hub from accessing the internet. If that is doable for you and you do not use the Harmony App when away (and why should you, you have this plugin ;D), than this is a way.
Cheers Rene
So with this plug-in it doesn’t need to call home? If so I will block those devices at the router level, easy peasy. It shouldn’t come down to that, but I can’t find a way in the app to opt out of FW updates.
Nope, plugin is 100% local traffic.
Some have reported Hub issues when it is not able to ‘call home’ for a longer time, some say it’s working just fine. I have not tried. Use at own risk as they say.
Cheers rene
[quote=“reneboer, post:4, topic:200614”]Hi,
The RemoteID is a variable on the plugin. If this is set you can install the V3.6 plugin lua and you will be back in business.
No other quick solution right now.
Cheers Rene[/quote]
Thank you Rene. I just got back in town and updated your app. Works again! ;D
Anyone getting this error running version 4.15.250 ?
Harmony Control_error: Failed to get new configuration from Hub. Error : 500, Error waiting for response..
2019-02-21 13:41:10.974 openLuup.context_switch:: ERROR: [string "[951] I_Harmony.xml"]:1326: attempt to index local 'resp' (a number value)stack traceback:
./openLuup/scheduler.lua:128: in function <./openLuup/scheduler.lua:125>
(tail call): ?
./openLuup/scheduler.lua:1015: in function <./openLuup/scheduler.lua:996>
[C]: in function 'pcall'
./openLuup/scheduler.lua:996: in function 'luup_callbacks'
./openLuup/scheduler.lua:1085: in function 'start'
openLuup/init.lua:323: in main chunk
[C]: ?
2019-02-21 13:41:10.974 luup.delay_callback:: function: 0x2918410 ERROR: [string "[951] I_Harmony.xml"]:1326: attempt to index local 'resp' (a number value)
Anyone getting this error running on the harmony firmware version 4.15.250 and plugin 3.6?
While the lua engine is starting
Harmony Control_error: Failed to get new configuration from Hub. Error : 500, Error waiting for response..
When a request is sent to the plugin:
2019-02-21 13:41:10.974 openLuup.context_switch:: ERROR: [string "[951] I_Harmony.xml"]:1326: attempt to index local 'resp' (a number value)stack traceback:
./openLuup/scheduler.lua:128: in function <./openLuup/scheduler.lua:125>
(tail call): ?
./openLuup/scheduler.lua:1015: in function <./openLuup/scheduler.lua:996>
[C]: in function 'pcall'
./openLuup/scheduler.lua:996: in function 'luup_callbacks'
./openLuup/scheduler.lua:1085: in function 'start'
openLuup/init.lua:323: in main chunk
[C]: ?
2019-02-21 13:41:10.974 luup.delay_callback:: function: 0x2918410 ERROR: [string "[951] I_Harmony.xml"]:1326: attempt to index local 'resp' (a number value)
When clicking on the “Devices” Tab:
Error in Harmony.Devices(): SyntaxError: Unexpected end of JSON input
I’ve set the log level to 11 “ERROR” and seems like it connects to the hub correctly and is able to retrieve the devices one time but then it fails
2019-02-21 15:22:43.158 luup_log:50: Harmony Control_debug: Harmony_CreateChildren start
2019-02-21 15:22:43.158 luup_log:50: Harmony Control_debug: Child devices to create : 44252645,43749129,44252729,43750631,43409592,44252615,43751754.
2019-02-21 15:22:43.159 luup_log:50: Harmony Control_debug: Child device id HAM50_44252645 (HRM: Apple TV Gen 4 Bedroom), number 44252645
2019-02-21 15:22:43.159 luup.chdev.append:: [HAM50_44252645] HRM: Apple TV Gen 4 Bedroom
2019-02-21 15:22:43.159 luup_log:50: Harmony Control_debug: Child device id HAM50_43749129 (HRM: Onkyo AV Receiver LivingRoom), number 43749129
2019-02-21 15:22:43.159 luup.chdev.append:: [HAM50_43749129] HRM: Onkyo AV Receiver LivingRoom
2019-02-21 15:22:43.159 luup_log:50: Harmony Control_debug: Child device id HAM50_44252729 (HRM: Marantz AV Receiver Bedroom), number 44252729
2019-02-21 15:22:43.159 luup.chdev.append:: [HAM50_44252729] HRM: Marantz AV Receiver Bedroom
2019-02-21 15:22:43.160 luup_log:50: Harmony Control_debug: Child device id HAM50_43750631 (HRM: Epson Projector LivingRoom), number 43750631
2019-02-21 15:22:43.160 luup.chdev.append:: [HAM50_43750631] HRM: Epson Projector LivingRoom
2019-02-21 15:22:43.160 luup_log:50: Harmony Control_debug: Child device id HAM50_43409592 (HRM: XBR-55X850D LivingRoom), number 43409592
2019-02-21 15:22:43.160 luup.chdev.append:: [HAM50_43409592] HRM: XBR-55X850D LivingRoom
2019-02-21 15:22:43.160 luup_log:50: Harmony Control_debug: Child device id HAM50_44252615 (HRM: XBR-43X800D Bedroom), number 44252615
2019-02-21 15:22:43.160 luup.chdev.append:: [HAM50_44252615] HRM: XBR-43X800D Bedroom
2019-02-21 15:22:43.160 luup_log:50: Harmony Control_debug: Child device id HAM50_43751754 (HRM: Apple TV Gen 4 LivingRoom), number 43751754
2019-02-21 15:22:43.160 luup.chdev.append:: [HAM50_43751754] HRM: Apple TV Gen 4 LivingRoom
2019-02-21 15:22:43.160 luup_log:50: Harmony Control_info: No lamp devices to create.
2019-02-21 15:22:43.161 luup.chdev.sync:: [50] Harmony Hub 2, syncing children
2019-02-21 15:22:43.161 luup.variable_set:50: 50.urn:rboer-com:serviceId:Harmony1.IconSet was: 3 now: 2 #hooks:0
2019-02-21 15:22:43.161 luup_log:50: Harmony Control_debug: Retrieve the config from Hub.
2019-02-21 15:22:43.161 luup_log:50: Harmony Control_debug: ws_client.receive error true, 1000, timeout
2019-02-21 15:22:43.162 luup_log:50: Harmony Control_error: Failed to get new configuration from Hub. Error : 500, Error waiting for response..
2019-02-21 15:22:43.162 luup_log:50: Harmony Control_debug: Retrieve the automation config from Hub.
2019-02-21 15:22:43.162 luup_log:50: Harmony Control_debug: ws_client.receive error true, 1000, timeout
2019-02-21 15:22:43.162 luup_log:50: Harmony Control_error: Failed to get new automation configuration from Hub. Error : 500, Error waiting for response..
2019-02-21 15:22:43.162 luup.variable_set:50: 50.urn:rboer-com:serviceId:Harmony1.IconSet was: 2 now: 1 #hooks:0
2019-02-21 15:22:43.162 luup.variable_set:50: 50.urn:rboer-com:serviceId:Harmony1.LinkStatus was: Starting... now: Error #hooks:0
Hi ronluna,
Do you have a lot of devices configured on your Hub? It seems to timeout, but very fast. Can you do a test with this version? I increased the timeout from 10 to 30 seconds. However, this is not something changed for the Hub 4.15.250 version, so not 100% sure this is the solution.
Did you use the 3.5 version before or did you just switch from the older 2.2 version on XMPP?
Last option is to check your luasock library version. Make sure you have the latest packages loaded (as you are running on openLuup).
Cheers Rene
Best Home Automation shopping experience. Shop at Ezlo!
© 2024 Ezlo Innovation, All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules