Open pappaloo opened 7 years ago
I have a very similar issue with a standard Home Hub.
I've recently reinstalled Homebridge and the homebridge-harmonyhub plugin on a new Raspberry Pi, and this means I'm now on v0.2.0 of the plugin. The old one worked flawlessly.
My configuration is as per the example, platform name and hub name only:
{
"platform": "HarmonyHub",
"name": "Living Room Harmony Hub"
},
Debug logs show:
[1/3/2017, 6:25:56 PM] [Living Room Harmony Hub] Initializing HarmonyHub platform...
harmonyhubjs:discover:explorer Explorer(61991) +0ms
harmonyhubjs:discover:ping Ping(61991) +3ms
harmonyhubjs:discover:explorer start() +10ms
harmonyhubjs:discover:responsecollector ResponseCollector(61991) +1ms
harmonyhubjs:discover:responsecollector start() +6ms
harmonyhubjs:discover:ping start() +16ms
[1/3/2017, 6:25:56 PM] [Living Room Harmony Hub] Finalizing Plugin Launch
then lots of:
harmonyhubjs:discover:ping emit() +489ms
harmonyhubjs:discover:ping emit() +1s
harmonyhubjs:discover:ping emit() +1s
harmonyhubjs:discover:ping emit() +1s
harmonyhubjs:discover:ping emit() +1s
harmonyhubjs:discover:explorer executeCleanUp() +504ms
No Harmony accessory or activities appear in my iOS Home app.
For the time being I've downgraded to 0.1.1. Interestingly using the same config (and bearing in mind I only specified platform and name parameters previously in 0.1.x) it didn't find the hub. I've added in the ip_address and it's now working fine.
For info I'm on hub firmware 4.12.36.
Sounds like your having Broadcast issues on your network as the harmony hub discovery uses broadcast for discovery, I was having similar issues until I enabled broadcast forwarding on my wifi network https://github.com/KraigM/homebridge-harmonyhub/issues/50#issuecomment-251628515
The problem though with most home routers they don't provide away to enable this between wired and wifi clients and sometimes even between 2.4GHz & 5GHz radios.
On 4 January 2017 at 05:22, Rodti MacLeary notifications@github.com wrote:
For the time being I've downgraded to 0.1.1. Interestingly using the same config (and bearing in mind I only specified platform and name parameters previously in 0.1.x) it didn't find the hub. I've added in the ip_address and it's now working fine.
For info I'm on hub firmware 4.12.36.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/KraigM/homebridge-harmonyhub/issues/81#issuecomment-270199569, or mute the thread https://github.com/notifications/unsubscribe-auth/ABaYC7T297EinujvQCjOtgUxqAQadsxyks5rOp_vgaJpZM4LOu77 .
Interesting, I hadn't considered networking issues. Do bear in mind however that 0.1.x worked before without the ip_address parameter supplied, and nothing has changed (that I'm aware of) with my networking situation since the previous install. I'll keep an eye on it!
Try this software to see the broadcast on your network.
Hmm, using that software there are plenty of Bonjour devices advertising using various different services, but no services visible on the Harmony Hub. Is it possible that the problem is with the hub itself?
Switched from my Apple TimeCapsule to ATT Uverse service with a router from them. I immediately detected the hubs with homebridge.
Seems like RXM307 is most likely correct, however I didn't see too much info online to enable broadcast forward on any TimeCapsule so I couldn't try that theory out.
Got two Ultimate Hubs in my home.
Installed hombridge and homebridge-harmonyhub fairly easy. Now running, but don't seem to detect the hubs. Config and log below.
Also, tried Bonjour Browser, and I can only see my HomeKit plug and AppleTV, but no hubs. Is the Ultimate hub supported? I see there are different products online (Home Hub vs. Ultimate Hub), not sure what the differences are though...
Any suggestions? Thanks!
DEBUG=* homebridge -D [12/15/2016, 4:07:56 PM] Loaded plugin: homebridge-harmonyhub [12/15/2016, 4:07:57 PM] Registering platform 'homebridge-harmonyhub.HarmonyHub' [12/15/2016, 4:07:57 PM] --- [12/15/2016, 4:07:57 PM] Loaded config.json with 0 accessories and 1 platforms. [12/15/2016, 4:07:57 PM] --- [12/15/2016, 4:07:57 PM] Loading 1 platforms... [12/15/2016, 4:07:57 PM] [Harmony Hub] Initializing HarmonyHub platform... harmonyhubjs:discover:explorer Explorer(61991) +0ms harmonyhubjs:discover:ping Ping(61991) +1ms harmonyhubjs:discover:explorer start() +3ms harmonyhubjs:discover:responsecollector ResponseCollector(61991) +1ms harmonyhubjs:discover:responsecollector start() +1ms harmonyhubjs:discover:ping start() +6ms Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
[12/15/2016, 4:07:57 PM] [Harmony Hub] Finalizing Plugin Launch EventedHTTPServer Server listening on port 51826 +0ms [12/15/2016, 4:07:57 PM] Homebridge is running on port 51826. harmonyhubjs:discover:ping emit() +1s EventedHTTPServer [::ffff:10.0.1.14] New connection from client +1s EventedHTTPServer [::ffff:10.0.1.14] HTTP server listening on port 49328 +1ms EventedHTTPServer [2602:306:cc10:3af8:ff:ca6c:afd0:7dc5] New connection from client +3ms EventedHTTPServer [2602:306:cc10:3af8:ff:ca6c:afd0:7dc5] HTTP server listening on port 49329 +0ms EventedHTTPServer [::ffff:10.0.1.14] HTTP request: /pair-verify +5ms HAPServer [CC:22:3D:E3:CE:30] HAP Request: POST /pair-verify +0ms HAPServer [CC:22:3D:E3:CE:30] Pair verify step 1/2 +2ms EventedHTTPServer [::ffff:10.0.1.14] HTTP Response is finished +11ms EventedHTTPServer [2602:306:cc10:3af8:ff:ca6c:afd0:7dc5] HTTP request: /pair-verify +1ms HAPServer [CC:22:3D:E3:CE:30] HAP Request: POST /pair-verify +1ms HAPServer [CC:22:3D:E3:CE:30] Pair verify step 1/2 +0ms EventedHTTPServer [2602:306:cc10:3af8:ff:ca6c:afd0:7dc5] HTTP Response is finished +2ms EventedHTTPServer [::ffff:10.0.1.14] HTTP request: /pair-verify +20ms HAPServer [CC:22:3D:E3:CE:30] HAP Request: POST /pair-verify +1ms HAPServer [CC:22:3D:E3:CE:30] Pair verify step 2/2 +0ms HAPServer [CC:22:3D:E3:CE:30] Client 8565CDF9-1490-45AA-A0C9-C4CB5FCE2A00 verification complete +2ms EventedHTTPServer [::ffff:10.0.1.14] HTTP Response is finished +1ms EventedHTTPServer [::ffff:10.0.1.14] HTTP request: /accessories +6ms HAPServer [CC:22:3D:E3:CE:30] HAP Request: GET /accessories +2ms EventedHTTPServer [::ffff:10.0.1.14] HTTP Response is finished +3ms EventedHTTPServer [2602:306:cc10:3af8:ff:ca6c:afd0:7dc5] HTTP request: /pair-verify +0ms HAPServer [CC:22:3D:E3:CE:30] HAP Request: POST /pair-verify +0ms HAPServer [CC:22:3D:E3:CE:30] Pair verify step 2/2 +0ms HAPServer [CC:22:3D:E3:CE:30] Client 8565CDF9-1490-45AA-A0C9-C4CB5FCE2A00 verification complete +1ms EventedHTTPServer [2602:306:cc10:3af8:ff:ca6c:afd0:7dc5] HTTP Response is finished +1ms EventedHTTPServer [2602:306:cc10:3af8:ff:ca6c:afd0:7dc5] HTTP request: /accessories +25ms HAPServer [CC:22:3D:E3:CE:30] HAP Request: GET /accessories +1ms EventedHTTPServer [2602:306:cc10:3af8:ff:ca6c:afd0:7dc5] HTTP Response is finished +1ms harmonyhubjs:discover:ping emit() +1s harmonyhubjs:discover:ping emit() +1s harmonyhubjs:discover:ping emit() +1s harmonyhubjs:discover:explorer executeCleanUp() +987ms
Config is very basic and I believe is what is suggested
{ "bridge": { "name": "Homebridge", "username": "CC:22:3D:E3:CE:30", "port": 51826, "pin": "031-45-154" },
}