nicoduj / homebridge-harmony

Harmony websocket plugin for homebridge
The Unlicense
215 stars 23 forks source link

Not adding to homekit #392

Closed Gotcha182 closed 2 years ago

Gotcha182 commented 2 years ago

209F195A-62F2-488D-B197-0C2CE64D3EF8 I am having a hard time getting the bridge added as a tv accessory, but adding as a switch is fine. Here is the confit and not sure what else is needed to get this working right. Homebridge is fine otherwise

astralplastic commented 2 years ago

I'm having troubles too. Can't get Harmony Hub to work.

nicoduj commented 2 years ago

Hi, Tv accessory must be added manually since it is an external device . Just add a new device and enter the code listed in the logs

astralplastic commented 2 years ago

Looks like it won't connect to my Harmony Hub. So I can't do anything.

[2/8/2022, 8:50:22 AM] [Harmony Hub] (Harmony Hub)INFO - Loading activities... [2/8/2022, 8:50:22 AM] [Harmony Hub] (Harmony Hub)Error - Error retrieving info from hub : request to http://10.0.1.36:8088/ failed, reason: connect ECONNREFUSED 10.0.1.36:8088-(100)

nicoduj commented 2 years ago

Hi,

@Gotcha182 : did you manage to add it as an external accessory like I said ? It is probably your issue, you have to add it manually after homebridge itself, not exposed by the hub. @astralplastic : your ip is strange, what is your lan network ? did you use static ip or discovery. please double check your hub ip and set it static. Do another issue with your conf please if you still have problems

astralplastic commented 2 years ago

@nicoduj Do you know how I can set my ip to static for the harmony hub?

astralplastic commented 2 years ago

@nicoduj I figured out how to find the IP in the Harmony app. I added the IP address to the config for the Harmony plugin.

But now I see this:

[2/15/2022, 12:48:49 AM] Homebridge v1.4.0 (HAP v0.10.0) (Homebridge 0CCD) is running on port 51413. [2/15/2022, 12:48:49 AM] [DenonTv] Device: 10.0.1.2 AV Receiver, Connect error: Error: connect ECONNREFUSED 10.0.1.2:8080 [2/15/2022, 12:48:50 AM] [Harmony Hub] (Harmony Hub)INFO - Adding Accessory : Harmony Hub-TV [2/15/2022, 12:48:50 AM] [Harmony Hub] (Harmony Hub)INFO - configuring Main TV Service [2/15/2022, 12:48:50 AM] [Harmony Hub] (Harmony Hub)INFO - Creating TV Service [2/15/2022, 12:48:50 AM] [Harmony Hub] (Harmony Hub)INFO - Creating Input Service - Watch Apple TV [2/15/2022, 12:48:50 AM] [Harmony Hub] (Harmony Hub)INFO - Creating Input Service - Play PS4 [2/15/2022, 12:48:50 AM] [Harmony Hub] (Harmony Hub)INFO - Creating Input Service - Watch TV [2/15/2022, 12:48:50 AM] [Harmony Hub] (Harmony Hub)INFO - Creating Input Service - Listen to Music [2/15/2022, 12:48:50 AM] [Harmony Hub] (Harmony Hub)INFO - Creating Input Service - Play Nintendo Switch [2/15/2022, 12:48:50 AM] [Harmony Hub] (Harmony Hub)INFO - Creating Input Service - Watch a Movie [2/15/2022, 12:48:50 AM] [Harmony Hub] (Harmony Hub)WARNING - No main Activity that match config file found, default to first one [2/15/2022, 12:48:50 AM] [Harmony Hub] (Harmony Hub)INFO - Configuring Main Activity Watch Apple TV [2/15/2022, 12:48:50 AM] [Harmony Hub] (Harmony Hub)INFO - Creating TV Speaker Service [2/15/2022, 12:48:50 AM] [Harmony Hub] (Harmony Hub)INFO - setupFoundAccessories - TV accessory added as external accessory [2/15/2022, 12:48:50 AM] Harmony Hub-TV 18C2 is running on port 57841. [2/15/2022, 12:48:50 AM] Please add [Harmony Hub-TV 18C2] manually in Home app. Setup Code: 348-84-182

When I try to add it in HomeKit I do not see the Harmony Hub listed when entering that Setup Code.

nicoduj commented 2 years ago

@astralplastic Hi, the ip in your log does not match I think. Ip must be also fixed on your router si that it never changes, see doc or your home / internet router or wifi access point . Please share your conf also .

nicoduj commented 2 years ago

I am closing this one, please feel free to reopen if you have more info / need more help