homebridge-harmony: Error retrieving info from hub: 417

Hi,

today I’ve updated Raspbian. There were ~26 packages to update including, as I can remember, the base-files. Now your awesome plugin stopped working and homebridge is giving me this output:

0|homebridge | [2/18/2019, 10:10:55 PM] [Harmony Hub Ultimate] Loading activities... 0|homebridge | [2/18/2019, 10:10:55 PM] [Harmony Hub Ultimate] Error retrieving info from hub : 417 - {"code":"417"}

I tried to lower the version to 0.4.0 and reinstalling the plugin completely and it’s a NO-GO.

My HomeKit automation relies on your plugin to Turn On the TV when someone is coming home. BTW: Everything was working fine with 0.4.1 version before system update.

Any clues?

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 24 (4 by maintainers)

Commits related to this issue

Most upvoted comments

Hi all, it seems that latest firmware broke the plugin. It is in the initial http connection, will have to check and reverse engeener their changes . Meanwhile revert or don’t update !

Sent with GitHawk

@lopelex (thanks to him !) pushed an updated version of the lib that should work with latest hub firmware (as well as with old one). You can try to update dependencies / uninstall and reinstall my plugin. I will test this evening and release an update probably to force the move .

Sent with GitHawk

thanks to @reneboer

@rheid In case you’d like to downgrade despite the @lopelex solution, this can be done via MyHarmony desktop software only (AFAIK).

  1. Open up the App, press Shift+F9 and you’ll see Update Remote screen
  2. Scroll down to the very bottom and you’ll see Firmware to enable XMPP. For developers only
  3. Click Update Firmware and connect hub with USB
  4. As soon as the software detects the hub, the Install button becomes enabled.
  5. Click Install and you’re done!

@nicoduj and especially @lopelex - A BIG THANK YOU!

Nice! I have not done much testing but i can confirm the error is gone now. And my scenes work again. So it’s looking good so far.

All i did was uninstall and re-install. npm uninstall -g homebridge-harmony npm install -g homebridge-harmony

Thank you all for the discussion and @lopelex for the fix. Using those changes I was able to make a python version working again: https://github.com/misku/pyharmony/commit/41d9691a7d4f4f3aa65989b5e281c8f714a1cef3

There was an Info that XMPP is disabled by default in 4.15.250

By default, Harmony firmware will keep XMPP disabled. For those of you already using the special firmware version 4.15.210 with XMPP access, when your hub upgrades to 4.15.250, you can easily re-enable it by:

• Perform a sync from your LCD screen based Harmony remote, by going to Menu > Settings > Sync Remote, or

• From your Harmony app, go to: Menu > Harmony Setup > Add/Edit Devices & Activities > Remote & Hub > Enable XMPP

Solution tested, thanks for @reneboer for input on @lopelex solution!

There was an update of the hub, I’m now on 4.15.250, this version reenabled xmpp but apparently broke web sockets

Ditto… Exactly…