nicoduj / homebridge-harmony

Harmony websocket plugin for homebridge
The Unlicense
211 stars 22 forks source link

TV showing as 'undefined-TV'. #410

Closed JCBWLL closed 1 year ago

JCBWLL commented 1 year ago

My TV is showing as 'undefined-TV'. It can turn the TV on within the home app but cannot control the TV within the home app or override commands.

nicoduj commented 1 year ago

Hi,

Is it a new install ? Which iOS version ? Can you share the logs ?

JCBWLL commented 1 year ago

It is a fresh install of the plugin on homebridge. I am running the latest version of IOS, however, when I say I cant control the TV, i mean that the default commands assigned to the remote app are incorrect and I cant override them as homebridge does not identify the TV or its avaliable commands upon startup

[9/5/2022, 3:54:27 PM] [HarmonyHub] (HarmonyHub)INFO - Adding Accessory : HarmonyHub-TV [9/5/2022, 3:54:27 PM] [HarmonyHub] (HarmonyHub)INFO - configuring Main TV Service [9/5/2022, 3:54:27 PM] [HarmonyHub] (HarmonyHub)INFO - Creating TV Service [9/5/2022, 3:54:27 PM] [HarmonyHub] (HarmonyHub)INFO - Creating Input Service - Watch AppleTV in position 1 [9/5/2022, 3:54:27 PM] [HarmonyHub] (HarmonyHub)WARNING - No main Activity that match config file found, default to first one [9/5/2022, 3:54:27 PM] [HarmonyHub] (HarmonyHub)INFO - Configuring Main Activity Watch AppleTV [9/5/2022, 3:54:27 PM] [HarmonyHub] (HarmonyHub)INFO - Creating TV Speaker Service [9/5/2022, 3:54:27 PM] [HarmonyHub] (HarmonyHub)INFO - configuring Access Control Service [9/5/2022, 3:54:27 PM] [HarmonyHub] (HarmonyHub)INFO - setupFoundAccessories - TV accessory added as external accessory [9/5/2022, 3:54:27 PM] HarmonyHub-TV 435F is running on port 41819. [9/5/2022, 3:54:32 PM] [HarmonyHub] INFO - stopping hub discovery, hubs found : 10.0.0.120|Harmony Hub 2|17603561 [9/5/2022, 3:54:32 PM] [HarmonyHub] (undefined)INFO - received discovered hubs 10.0.0.120|Harmony Hub 2|17603561 [9/5/2022, 3:54:33 PM] [HarmonyHub] (undefined)INFO - Adding Accessory : undefined-TV [undefined-TV@@Model] characteristic value expected string and received undefined [9/5/2022, 3:54:33 PM] [HarmonyHub] (undefined)INFO - configuring Main TV Service [9/5/2022, 3:54:33 PM] [HarmonyHub] (undefined)INFO - Creating TV Service [undefined-TV@@Name] characteristic value expected string and received undefined [9/5/2022, 3:54:33 PM] [HarmonyHub] (undefined)INFO - Creating Input Service - Watch AppleTV in position 1 [9/5/2022, 3:54:33 PM] [HarmonyHub] (undefined)INFO - Creating Input Service - Watch TV in position 2 [9/5/2022, 3:54:33 PM] [HarmonyHub] (undefined)WARNING - No main Activity that match config file found, default to first one [9/5/2022, 3:54:33 PM] [HarmonyHub] (undefined)INFO - Configuring Main Activity Watch AppleTV [9/5/2022, 3:54:33 PM] [HarmonyHub] (undefined)INFO - Creating TV Speaker Service [undefined-TV@@Name] characteristic value expected string and received undefined [9/5/2022, 3:54:33 PM] [HarmonyHub] (undefined)INFO - setupFoundAccessories - TV accessory added as external accessory [9/5/2022, 3:54:33 PM] undefined-TV A53A is running on port 35711. [9/5/2022, 3:54:33 PM] Please add [undefined-TV A53A] manually in Home app. Setup Code: 031-45-154

krazyflipj commented 1 year ago

I’m also seeing a second undefined tv

nicoduj commented 1 year ago

Hi, can you share your config ? I would assume you might have a seconde hub defined (otherplatforms).

krazyflipj commented 1 year ago

Here you go. FYI I hid the IP and port info

6C507392-E5C9-4786-A90A-31D845C45124

nicoduj commented 1 year ago

Can you try removing otherPlatforms entry in your conf ? I think a ghost hub is created because f this, might be due to a problem in the conf editor itself and the definition (not the first time I see this)

krazyflipj commented 1 year ago

Ok that looks like it fixed it