swissmanu / harmonyhubjs-client

A Node.JS library which allows you to interact with your Logitech Harmony Hub.
https://github.com/swissmanu/harmonyhubjs-client
MIT License
155 stars 42 forks source link

Stopped working? #47

Open mschwartz opened 5 years ago

mschwartz commented 5 years ago

Out of the blue, it seems this isn't working anymore.

I have power cycled my harmony hub several times without any luck.

% ping 192.168.4.14
PING 192.168.4.14 (192.168.4.14): 56 data bytes
64 bytes from 192.168.4.14: icmp_seq=0 ttl=64 time=2.267 ms
64 bytes from 192.168.4.14: icmp_seq=1 ttl=64 time=12.470 ms
64 bytes from 192.168.4.14: icmp_seq=2 ttl=64 time=3.374 ms
^C
--- 192.168.4.14 ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 2.267/6.037/12.470/4.571 ms
% telnet 192.168.4.14  5222
Trying 192.168.4.14...
telnet: connect to address 192.168.4.14: Connection refused
telnet: Unable to connect to remote host
%
mschwartz commented 5 years ago
map scan report for harmony-hub (192.168.4.14)
Host is up, received user-set (0.020s latency).
Scanned at 2018-12-21 18:31:13 PST for 5s
Not shown: 65533 closed ports
Reason: 65533 conn-refused
PORT     STATE SERVICE    REASON
8088/tcp open  radan-http syn-ack
8222/tcp open  unknown    syn-ack

I tried passing those two ports to the constructor, but nothing.

pponce commented 5 years ago

To get back XMPP access you need to install the "developer beta firmware". see below: https://community.logitech.com/s/question/0D55A00008D4bZ4SAJ/harmony-hub-firmware-update-fixes-vulnerabilities?t=1545438745727

mschwartz commented 5 years ago

awesome, that worked.

Thank you!

Maybe a comment in the README.md about this issue, so people aren't so easily lost (like me!).

hufftheweevil commented 5 years ago

If anyone is looking for a plain JS websocket version, check out this one:

https://github.com/lopelex/harmony-websocket

bradwbradw commented 5 years ago

The XMPP option is now easy to enable using the Harmony app, and future firmware upgrades will apparently honor the opt-in setting. more info: https://support.logi.com/hc/en-us/community/posts/360032837213-Update-to-accessing-Harmony-Hub-s-local-API-via-XMPP