[Resolved] Harmony Hub issues after February 2019 update v.4.15.250

Which firmware version do you have in the Harmony HUB?

i have firmware .250 enabled xmpp, and using now the older harmony.py file as a custom component
so not using websockets since version 86.4

Both hubs are on 4.15.250. Both went down after auto-updating to this firmware. Had enabled xmpp prior to adding the custom component according harmony.py to config\custom_components\remote

yes, normal behaviuor , you need the fix in 0.88

as a side note, if using 0.88 and websockets you NEED .250 , it will not work anymore in older hub firmware versions, thats a breaking change

Perhaps it might be a day or two before we see 0.88 on Docker HUB… ?

probably , no idea :slight_smile: , i dint see it either

The strange thing is that after copying the older harmony.py file, HA did find the Harmony HUB and was able to pull all the settings from the HUB into the conf file, but the name of the conf file is now different form earlier: It used to be harmony_name-of-hub.conf but now the name was just harmony_harmony.conf
But everything inside the file was correct, but the Harmony HUB never showed up in the state UI as a Remote. (But all error messages disappeared)

ah, strange, never noticed the name of the hub in conf file
mine was harmony_harmony.conf, when i was 86.3 , later it was also on websockets, and now when i am reverted it still the same name :slight_smile:

So what is you HUB’s name?

ow sorry, its indeed called harmony, my mistake :slight_smile:

Thank you very much, used the 0.84.3 custom_component and it’s working fine again. Let’s hope 0.88 still does… :slight_smile:

for the ones using harmony.py as a custom component, make sure you rename it now to remote.py and the folder remote, rename that to harmony
t-its a breaking change in 0.88 :slight_smile:
if you have this line in your log, you are good :slight_smile:

(MainThread) [homeassistant.loader] You are using a custom component for harmony.remote which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.

Haven’t updated to. 88 yet, but thanks for the update, will try it this weekend.

So a short update from me, and I didnt change anything!

I have two hubs:
harmony_hub_aktivitet.conf
harmony_hub_stuen.conf

No special custom folder.
And both hubs defined as scripts/switches in my configuration.yaml file

remote:
  - platform: harmony
    name: HUB_AKTIVITET
    host: 192.168.0.166
#   activity:
  - platform: harmony
    name: HUB_STUEN
    host: 192.168.0.165
#   activity:

Nothing worked in 0.88 but after I just updated to 0.88.1 hassio Rasp.
Everything looks like its back working.

That’s great to hear. Just to confirm, you didn’t enable the XMPP from the harmony app, just using the new websocket implementation? Thanks.

Hello iam new here and new with HA i have a lot of trouble with mine harmony
i have filled this in the config fill

remote:

  • platform: harmony
    name: Barts remote
    host: 10.168.2.158

MIne HA is version 0.942
Mine Harmony software is 4.15.250
It works on a raspberry PI
I have tried a couple of things
i made a directory in config called custom_components in this directory i make a directory called remote in there i put this file harmony.py
Nothing happens then i rename the directory remote to harmony and rename the file to remote and still nothing happens
So iam still looking for mine Harmony config file

For peolpe that wanna help please reminder iam new ad this kind of problems i never wrote a config file and iam dutch so please be patient with me
I really try to understand this

What issues do you have? Also you don’t need it to load as a custom component…
What error do you have in log file?

Thanks for responding

2019-06-11 20:12:45 WARNING (MainThread) [homeassistant.components.harmony.remote] Barts remote: Unable to connect to HUB.
2019-06-11 20:12:45 WARNING (MainThread) [homeassistant.components.remote] Platform harmony not ready yet. Retrying in 180 seconds.
2019-06-11 20:14:27 ERROR (Thread-253) [homeassistant.core] Error doing job: Unclosed client session
2019-06-11 20:14:27 ERROR (Thread-253) [homeassistant.core] Error doing job: Unclosed client session
2019-06-11 20:15:51 ERROR (MainThread) [aioharmony.hubconnector] xx.xxx.x.xx: Exception on post: Connection timeout to host http://xx.xxx.x.xx:8088/
2019-06-11 20:15:51 ERROR (MainThread) [aioharmony.hubconnector] xx.xxx.x.xx: Unable to retrieve HUB id
2019-06-11 20:15:51 WARNING (MainThread) [homeassistant.components.harmony.remote] Barts remote: Unable to connect to HUB.
2019-06-11 20:15:51 WARNING (MainThread) [homeassistant.components.remote] Platform harmony not ready yet. Retrying in 180 seconds.
2019-06-11 20:18:57 ERROR (MainThread) [aioharmony.hubconnector] xx.xxx.x.xx: Exception on post: Connection timeout to host http://xx.xxx.x.xx:8088/
2019-06-11 20:18:57 ERROR (MainThread) [aioharmony.hubconnector] xx.xxx.x.xx: Unable to retrieve HUB id
2019-06-11 20:18:57 WARNING (MainThread) [homeassistant.components.harmony.remote] Barts remote: Unable to connect to HUB.
2019-06-11 20:18:57 WARNING (MainThread) [homeassistant.components.remote] Platform harmony not ready yet. Retrying in 180 seconds.
2019-06-11 20:19:08 ERROR (MainThread) [homeassistant.core] Error doing job: Unclosed client session
2019-06-11 20:19:08 ERROR (MainThread) [homeassistant.core] Error doing job: Unclosed client session
2019-06-11 20:19:30 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.1870217072] Error handling message: expected str for dictionary value @ data[‘service’]. Got None
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/websocket_api/connection.py”, line 83, in async_handle
handler(self.hass, self, schema(msg))
File “/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py”, line 267, in call
return self._compiled([], data)
File “/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py”, line 589, in validate_dict
return base_validate(path, iteritems(data), out)
File “/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py”, line 427, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: expected str for dictionary value @ data[‘service’]
2019-06-11 20:22:03 ERROR (MainThread) [aioharmony.hubconnector] xx.xxx.x.xx: Exception on post: Connection timeout to host http://xx.xxx.x.xx:8088/
2019-06-11 20:22:03 ERROR (MainThread) [aioharmony.hubconnector] xx.xxx.x.xx: Unable to retrieve HUB id
2019-06-11 20:22:03 WARNING (MainThread) [homeassistant.components.harmony.remote] Barts remote: Unable to connect to HUB.
2019-06-11 20:22:03 WARNING (MainThread) [homeassistant.components.remote] Platform harmony not ready yet. Retrying in 180 seconds.
2019-06-11 20:22:38 ERROR (SyncWorker_15) [homeassistant.core] Error doing job: Unclosed client session

I have this a couple of 100 times so what can i do with this

you sure you are pointing to the correct IP? maybe remove the IP from your config and let it autodiscover?