Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

only bridge adding into homekit #419

Open
3 tasks done
StevenPaulDavid opened this issue Oct 10, 2024 · 7 comments
Open
3 tasks done

only bridge adding into homekit #419

StevenPaulDavid opened this issue Oct 10, 2024 · 7 comments
Assignees
Labels
question Further information is requested Stale

Comments

@StevenPaulDavid
Copy link

Before opening the issue, have you...?

  • Searched for existing issues
  • Looked through common issues
  • Updated plugin to the latest version (if applicable)

Describe Your Problem

i have added my TV into homebridge and it all works fine, but when i try to add it into the home app the bridge will show and connect fine but the TV will not show as a seperate accessory or as part of the bridge

Logs

[10/10/2024, 19:17:35] [@o-lukas/homebridge-smartthings-tv] Restarting child bridge...
[10/10/2024, 19:17:35] Got SIGTERM, shutting down child bridge process...
[10/10/2024, 19:17:41] [@o-lukas/homebridge-smartthings-tv] Child bridge process ended
[10/10/2024, 19:17:41] [@o-lukas/homebridge-smartthings-tv] Process Ended. Code: 143, Signal: null
[10/10/2024, 19:17:48] [@o-lukas/homebridge-smartthings-tv] Restarting Process...
[10/10/2024, 19:17:50] [@o-lukas/homebridge-smartthings-tv] Launched child bridge with PID 2006691
[10/10/2024, 19:17:52] Registering platform '@o-lukas/homebridge-smartthings-tv.smartthings-tv'
[10/10/2024, 19:17:52] [@o-lukas/homebridge-smartthings-tv] Loaded @o-lukas/homebridge-smartthings-tv v2.3.6 child bridge successfully
[10/10/2024, 19:17:52] Loaded 0 cached accessories from cachedAccessories.0ED747998FDD.
[10/10/2024, 19:17:53] Homebridge v1.8.4 (HAP v0.12.2) (@o-lukas/homebridge-smartthings-tv) is running on port 56786.
[10/10/2024, 19:17:53]

NOTICE TO USERS AND PLUGIN DEVELOPERS

Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
Please visit the following link to learn more about the changes and how to prepare:
https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

[10/10/2024, 19:17:53] [@o-lukas/homebridge-smartthings-tv] Adding new TV accessory: Bedroom TV (0805e22f-f4ca-01fe-1f72-e8dff0cc16c7)
[10/10/2024, 19:17:53] [@o-lukas/homebridge-smartthings-tv] Overriding device default name 'Bedroom TV' with configured display name 'Bedroom TV'
[10/10/2024, 19:17:53] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Registering capabilities for component main
[10/10/2024, 19:17:54] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Registering capability: Switch
[10/10/2024, 19:17:54] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Registering capability: Audio Volume
[10/10/2024, 19:17:54] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Registering capability: Audio Mute
[10/10/2024, 19:17:55] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Not registering capability because registering of applications has been disabled: launchApp
[10/10/2024, 19:17:55] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Possible infoKey values are: [
"UP",
"DOWN",
"LEFT",
"RIGHT",
"OK",
"BACK",
"EXIT",
"MENU",
"HOME",
"MUTE",
"PLAY",
"PAUSE",
"STOP",
"REWIND",
"FF",
"PLAY_BACK"
]
[10/10/2024, 19:17:55] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Registering capability: Media Input Source
[10/10/2024, 19:17:55] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Capability Media Input Source might not work as expected because it's status is: proposed
[10/10/2024, 19:17:55] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Registering input source: TV (dtv)
[10/10/2024, 19:17:55] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Registering input source: HDMI 2 (HDMI2)
[10/10/2024, 19:17:55] Bedroom TV 5A8E is running on port 44817.
[10/10/2024, 19:17:55] Please add [Bedroom TV 5A8E] manually in Home app. Setup Code: 842-72-260
[10/10/2024, 19:33:10] [@o-lukas/homebridge-smartthings-tv] Launched child bridge with PID 2008086
[10/10/2024, 19:33:11] The plugin "homebridge-govee" requires Node.js version of ^18.20.4 || ^20.15.1 which does not satisfy the current Node.js version of v20.12.2. You may need to upgrade your installation of Node.js - see https://homebridge.io/w/JTKEF
[10/10/2024, 19:33:12] Registering platform '@o-lukas/homebridge-smartthings-tv.smartthings-tv'
[10/10/2024, 19:33:13] [@o-lukas/homebridge-smartthings-tv] Loaded @o-lukas/homebridge-smartthings-tv v2.3.6 child bridge successfully
[10/10/2024, 19:33:13] Loaded 0 cached accessories from cachedAccessories.0ED747998FDD.
[10/10/2024, 19:33:13] Registering platform 'homebridge-unifi-protect.UniFi Protect'
[10/10/2024, 19:33:15] [@o-lukas/homebridge-smartthings-tv] Adding new TV accessory: Bedroom TV (0805e22f-f4ca-01fe-1f72-e8dff0cc16c7)
[10/10/2024, 19:33:15] [@o-lukas/homebridge-smartthings-tv] Overriding device default name 'Bedroom TV' with configured display name 'Bedroom TV'
[10/10/2024, 19:33:15] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Registering capabilities for component main
[10/10/2024, 19:33:16] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Registering capability: Switch
[10/10/2024, 19:33:16] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Registering capability: Audio Volume
[10/10/2024, 19:33:16] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Registering capability: Audio Mute
[10/10/2024, 19:33:17] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Not registering capability because registering of applications has been disabled: launchApp
[10/10/2024, 19:33:17] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Possible infoKey values are: [
"UP",
"DOWN",
"LEFT",
"RIGHT",
"OK",
"BACK",
"EXIT",
"MENU",
"HOME",
"MUTE",
"PLAY",
"PAUSE",
"STOP",
"REWIND",
"FF",
"PLAY_BACK"
]
[10/10/2024, 19:33:17] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Registering capability: Media Input Source
[10/10/2024, 19:33:17] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Capability Media Input Source might not work as expected because it's status is: proposed
[10/10/2024, 19:33:17] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Registering input source: TV (dtv)
[10/10/2024, 19:33:17] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Registering input source: HDMI 2 (HDMI2)
[10/10/2024, 19:41:26] [@o-lukas/homebridge-smartthings-tv] Restarting child bridge...
[10/10/2024, 19:41:26] Got SIGTERM, shutting down child bridge process...
[10/10/2024, 19:41:31] [@o-lukas/homebridge-smartthings-tv] Child bridge process ended
[10/10/2024, 19:41:31] [@o-lukas/homebridge-smartthings-tv] Process Ended. Code: 143, Signal: null
[10/10/2024, 19:41:38] [@o-lukas/homebridge-smartthings-tv] Restarting Process...
[10/10/2024, 19:41:41] [@o-lukas/homebridge-smartthings-tv] Launched child bridge with PID 2009758
[10/10/2024, 19:41:42] Registering platform '@o-lukas/homebridge-smartthings-tv.smartthings-tv'
[10/10/2024, 19:41:42] [@o-lukas/homebridge-smartthings-tv] Loaded @o-lukas/homebridge-smartthings-tv v2.3.6 child bridge successfully
[10/10/2024, 19:41:42] Loaded 0 cached accessories from cachedAccessories.0ED747998FDD.
[10/10/2024, 19:41:43] Homebridge v1.8.4 (HAP v0.12.2) (@o-lukas/homebridge-smartthings-tv) is running on port 56786.
[10/10/2024, 19:41:43]

NOTICE TO USERS AND PLUGIN DEVELOPERS

Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
Please visit the following link to learn more about the changes and how to prepare:
https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

[10/10/2024, 19:41:43] [@o-lukas/homebridge-smartthings-tv] Adding new TV accessory: Bedroom TV (0805e22f-f4ca-01fe-1f72-e8dff0cc16c7)
[10/10/2024, 19:41:43] [@o-lukas/homebridge-smartthings-tv] Overriding device default name 'Bedroom TV' with configured display name 'Bedroom TV'
[10/10/2024, 19:41:44] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Registering capabilities for component main
[10/10/2024, 19:41:44] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Registering capability: Switch
[10/10/2024, 19:41:44] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Registering capability: Audio Volume
[10/10/2024, 19:41:44] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Registering capability: Audio Mute
[10/10/2024, 19:41:45] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Not registering capability because registering of applications has been disabled: launchApp
[10/10/2024, 19:41:46] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Possible infoKey values are: [
"UP",
"DOWN",
"LEFT",
"RIGHT",
"OK",
"BACK",
"EXIT",
"MENU",
"HOME",
"MUTE",
"PLAY",
"PAUSE",
"STOP",
"REWIND",
"FF",
"PLAY_BACK"
]
[10/10/2024, 19:41:46] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Registering capability: Media Input Source
[10/10/2024, 19:41:46] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Capability Media Input Source might not work as expected because it's status is: proposed
[10/10/2024, 19:41:46] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Registering input source: TV (dtv)
[10/10/2024, 19:41:46] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Registering input source: HDMI 2 (HDMI2)
[10/10/2024, 19:41:46] Bedroom TV 5A8E is running on port 43187.
[10/10/2024, 19:41:46] Please add [Bedroom TV 5A8E] manually in Home app. Setup Code: 842-72-260
[10/10/2024, 19:44:04] [@o-lukas/homebridge-smartthings-tv] Launched child bridge with PID 2010205
[10/10/2024, 19:44:07] [@o-lukas/homebridge-smartthings-tv] Loaded @o-lukas/homebridge-smartthings-tv v2.3.6 child bridge successfully
[10/10/2024, 19:44:07] Loaded 0 cached accessories from cachedAccessories.0ED747998FDD.
[10/10/2024, 19:44:07] Registering platform 'homebridge-unifi-protect.UniFi Protect'
[10/10/2024, 19:44:10] [@o-lukas/homebridge-smartthings-tv] Adding new TV accessory: Bedroom TV (0805e22f-f4ca-01fe-1f72-e8dff0cc16c7)
[10/10/2024, 19:44:10] [@o-lukas/homebridge-smartthings-tv] Overriding device default name 'Bedroom TV' with configured display name 'Bedroom TV'
[10/10/2024, 19:44:10] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Registering capabilities for component main
[10/10/2024, 19:44:10] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Registering capability: Switch
[10/10/2024, 19:44:10] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Registering capability: Audio Volume
[10/10/2024, 19:44:11] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Registering capability: Audio Mute
[10/10/2024, 19:44:11] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Not registering capability because registering of applications has been disabled: launchApp
[10/10/2024, 19:44:12] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Possible infoKey values are: [
"UP",
"DOWN",
"LEFT",
"RIGHT",
"OK",
"BACK",
"EXIT",
"MENU",
"HOME",
"MUTE",
"PLAY",
"PAUSE",
"STOP",
"REWIND",
"FF",
"PLAY_BACK"
]
[10/10/2024, 19:44:12] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Registering capability: Media Input Source
[10/10/2024, 19:44:12] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Capability Media Input Source might not work as expected because it's status is: proposed
[10/10/2024, 19:44:12] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Registering input source: TV (dtv)
[10/10/2024, 19:44:12] [@o-lukas/homebridge-smartthings-tv] [Bedroom TV] Registering input source: HDMI 2 (HDMI2)
[10/10/2024, 19:44:12] Bedroom TV 5A8E is running on port 42391.
[10/10/2024, 19:44:12] Please add [Bedroom TV 5A8E] manually in Home app. Setup Code: 842-72-260
(node:2010199) [DEP0123] DeprecationWarning: Setting the TLS ServerName to an IP address is not permitted by RFC 6066. This will be ignored in a future version.
(Use node --trace-deprecation ... to show where the warning was created)

If applicable, add screenshots to help explain your problem.

No response

Environment Information

- Plugin Version: 2.3.6
- Homebridge Version: 1.8.4
- Node.js version: 20.12.2
- NPM version: <!-- npm -v -->
- Operating System: ubuntu
@StevenPaulDavid StevenPaulDavid added the question Further information is requested label Oct 10, 2024
@o-lukas
Copy link
Owner

o-lukas commented Oct 13, 2024

I tried to reproduce the problem with the versions you mentioned but was not able to get the error.

You could try to have a look at your published bridges (Settings | Bridges | Unpair single bridge). If there are some strange entries that could be caused by this plugin, you could try to remove them and restart your Homebridge instance.

Apart from that the only possible reason for this problem I stumbled upon was when running Homebridge inside a docker container. If so you must make sure you use host network mode because otherwise accessory publishing will most likely not work.

Copy link

This issue is stale because it has been open for 14 days with no activity.

@github-actions github-actions bot added the Stale label Oct 28, 2024
@HiroP77
Copy link

HiroP77 commented Nov 2, 2024

Hi,

it seems like I have exactly the same Problem. The Plugin is loaded fine, the Bridge can be added, but the Device does not show up.
I run homebridge from inside a docker, but network_mode is set to host. Other Plugins with sub bridges seem to work fine aswell.

@github-actions github-actions bot removed the Stale label Nov 3, 2024
@LunchBox2001
Copy link

LunchBox2001 commented Nov 4, 2024

Same issue here. I swear this worked before. I'm also running in a Docker container in a Host network configuration. Child bridge discovered but no accessories are found in HomeKit. The Samsung TV accessory is in the Homebridge accessories, but not extended into HomeKit.

[11/4/2024, 9:50:55 AM] [@o-lukas/homebridge-smartthings-tv] Restarting child bridge...
[11/4/2024, 9:50:55 AM] Got SIGTERM, shutting down child bridge process...
[11/4/2024, 9:51:00 AM] [@o-lukas/homebridge-smartthings-tv] Child bridge process ended
[11/4/2024, 9:51:00 AM] [@o-lukas/homebridge-smartthings-tv] Process Ended. Code: 143, Signal: null
[11/4/2024, 9:51:07 AM] [@o-lukas/homebridge-smartthings-tv] Restarting Process...
[11/4/2024, 9:51:08 AM] [@o-lukas/homebridge-smartthings-tv] Launched child bridge with PID 1844
[11/4/2024, 9:51:08 AM] Registering platform '@o-lukas/homebridge-smartthings-tv.smartthings-tv'
[11/4/2024, 9:51:08 AM] [@o-lukas/homebridge-smartthings-tv] Loaded @o-lukas/homebridge-smartthings-tv v2.3.7 child bridge successfully
[11/4/2024, 9:51:08 AM] Loaded 0 cached accessories from cachedAccessories.0E85C1473C5E.
[11/4/2024, 9:51:08 AM] Homebridge v1.8.5 (HAP v0.12.3) (@o-lukas/homebridge-smartthings-tv) is running on port 38652.
[11/4/2024, 9:51:08 AM]

NOTICE TO USERS AND PLUGIN DEVELOPERS

Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
Please visit the following link to learn more about the changes and how to prepare:
https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

[11/4/2024, 9:51:08 AM] [@o-lukas/homebridge-smartthings-tv] Adding new TV accessory: [TV] Samsung 8 Series (65) ()
[11/4/2024, 9:51:08 AM] [@o-lukas/homebridge-smartthings-tv] Overriding device default name '[TV] Samsung 8 Series (65)' with configured display name 'SmartThing Samsung TV'
[11/4/2024, 9:51:08 AM] [@o-lukas/homebridge-smartthings-tv] [[TV] Samsung 8 Series (65)] Registering capabilities for component main
[11/4/2024, 9:51:09 AM] [@o-lukas/homebridge-smartthings-tv] [[TV] Samsung 8 Series (65)] Registering capability: Switch
[11/4/2024, 9:51:09 AM] [@o-lukas/homebridge-smartthings-tv] [[TV] Samsung 8 Series (65)] Start status polling for Switch with interval of 60000ms
[11/4/2024, 9:51:09 AM] [@o-lukas/homebridge-smartthings-tv] [[TV] Samsung 8 Series (65)] Registering capability: Audio Volume
[11/4/2024, 9:51:09 AM] [@o-lukas/homebridge-smartthings-tv] [[TV] Samsung 8 Series (65)] Start status polling for Audio Volume with interval of 60000ms
[11/4/2024, 9:51:09 AM] [@o-lukas/homebridge-smartthings-tv] [[TV] Samsung 8 Series (65)] Registering capability: Audio Mute
[11/4/2024, 9:51:09 AM] [@o-lukas/homebridge-smartthings-tv] [[TV] Samsung 8 Series (65)] Start status polling for Audio Mute with interval of 60000ms
[11/4/2024, 9:51:09 AM] [@o-lukas/homebridge-smartthings-tv] [[TV] Samsung 8 Series (65)] Not registering capability because registering of applications has been disabled: launchApp
[11/4/2024, 9:51:10 AM] [@o-lukas/homebridge-smartthings-tv] [[TV] Samsung 8 Series (65)] Possible infoKey values are: [
"UP",
"DOWN",
"LEFT",
"RIGHT",
"OK",
"BACK",
"EXIT",
"MENU",
"HOME",
"MUTE",
"PLAY",
"PAUSE",
"STOP",
"REWIND",
"FF",
"PLAY_BACK"
]
[11/4/2024, 9:51:10 AM] [@o-lukas/homebridge-smartthings-tv] [[TV] Samsung 8 Series (65)] Registering capability: Media Input Source
[11/4/2024, 9:51:10 AM] [@o-lukas/homebridge-smartthings-tv] [[TV] Samsung 8 Series (65)] Capability Media Input Source might not work as expected because it's status is: proposed
[11/4/2024, 9:51:10 AM] [@o-lukas/homebridge-smartthings-tv] [[TV] Samsung 8 Series (65)] Registering input source: TV (dtv)
[11/4/2024, 9:51:10 AM] [@o-lukas/homebridge-smartthings-tv] [[TV] Samsung 8 Series (65)] Registering input source: DIRECTV-Onkyo (HDMI4)
[11/4/2024, 9:51:10 AM] [@o-lukas/homebridge-smartthings-tv] [[TV] Samsung 8 Series (65)] Start status polling for activeIdentifier with interval of 60000ms
[11/4/2024, 9:51:10 AM] SmartThing Samsung TV 82E6 is running on port 43480.
[11/4/2024, 9:51:10 AM] Please add [SmartThing Samsung TV 82E6] manually in Home app. Setup Code: 031-45-154

@o-lukas
Copy link
Owner

o-lukas commented Nov 4, 2024

I tried to reproduce the problem with the versions you mentioned but was not able to get the error.

You could try to have a look at your published bridges (Settings | Bridges | Unpair single bridge). If there are some strange entries that could be caused by this plugin, you could try to remove them and restart your Homebridge instance.

Apart from that the only possible reason for this problem I stumbled upon was when running Homebridge inside a docker container. If so you must make sure you use host network mode because otherwise accessory publishing will most likely not work.

Hey guys, have you tried to unpair the published bridges as I described before? Please let me know if this helps.

@HiroP77
Copy link

HiroP77 commented Nov 5, 2024

Hi Lukas,

I unpaird all bridges, didn't work:)
Next thing I will do is to setup a complete separate HomeBridge (without docker), maybe that helps. I'll keep you updated

Copy link

This issue is stale because it has been open for 14 days with no activity.

@github-actions github-actions bot added the Stale label Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested Stale
Projects
None yet
Development

No branches or pull requests

4 participants