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

HomeBridge always ends child bridges when I try to add the Xbox to HomeKit #208

Open
antikerSht opened this issue Sep 7, 2024 · 12 comments
Labels

Comments

@antikerSht
Copy link

Code 1, Signal: null

@antikerSht
Copy link
Author

Got the plugin working again by reinstalling. But it seems like the recent update did something against powering off the console. powering on and everything else works fine but powering off doesn't work at all...

@antikerSht
Copy link
Author

Nothing else works

@antikerSht
Copy link
Author

Nothing is working... idk why

@grzegorz914
Copy link
Owner

What is not working, any log, console is aurhorized

@antikerSht
Copy link
Author

Console is authorized. Log doesn't show any errors at all:

[07/09/2024, 22:40:56] [homebridge-xbox-tv] Launched child bridge with PID 278391
[07/09/2024, 22:40:57] Registering platform 'homebridge-camera-ui.CameraUI'
[07/09/2024, 22:40:57] [homebridge-xbox-tv] Loaded homebridge-xbox-tv v3.1.8 child bridge successfully
[07/09/2024, 22:40:58] Tapo 2148 is running on port 35965.
[07/09/2024, 22:40:58] Please add [Tapo 2148] manually in Home app. Setup Code: 745-70-200
[07/09/2024, 22:40:58] Homebridge v1.8.4 (HAP v0.12.2) (homebridge-xbox-tv) is running on port 57035.
[07/09/2024, 22:40:58]

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

TypeError: Cannot read properties of null (reading 'get')
at file:///var/lib/homebridge/node_modules/homebridge-camera-ui/src/accessories/camera.js:280:57
at processTicksAndRejections (node:internal/process/task_queues:95:5)
[07/09/2024, 22:41:06] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, published as external accessory.
[07/09/2024, 22:41:06] Xbox 84ED is running on port 34071.
[07/09/2024, 22:41:06] Please add [Xbox 84ED] manually in Home app. Setup Code: 745-70-200
[07/09/2024, 22:43:23] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, set Power Mode Selection: SHOW
[07/09/2024, 22:43:29] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, Send power On.
[07/09/2024, 22:43:30] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, set Power: ON
[07/09/2024, 22:43:46] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, Send power On.
[07/09/2024, 22:43:47] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, set Power: ON
[07/09/2024, 22:45:27] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, Send power On.
[07/09/2024, 22:45:28] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, set Power: ON
[07/09/2024, 22:46:35] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, Send power On.
[07/09/2024, 22:46:36] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, set Power: ON
[07/09/2024, 22:46:57] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, Send power On.
[07/09/2024, 22:46:58] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, set Power: ON
[07/09/2024, 22:47:00] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, Send power On.
[07/09/2024, 22:47:01] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, set Power: ON
[07/09/2024, 22:48:13] [homebridge-xbox-tv] Restarting child bridge...
[07/09/2024, 22:48:13] Got SIGTERM, shutting down child bridge process...
[07/09/2024, 22:48:18] [homebridge-xbox-tv] Child bridge process ended
[07/09/2024, 22:48:18] [homebridge-xbox-tv] Process Ended. Code: 143, Signal: null
[07/09/2024, 22:48:25] [homebridge-xbox-tv] Restarting Process...
[07/09/2024, 22:48:26] [homebridge-xbox-tv] Launched child bridge with PID 284587
[07/09/2024, 22:48:26] Registering platform 'homebridge-xbox-tv.XboxTv'
[07/09/2024, 22:48:26] [homebridge-xbox-tv] Loaded homebridge-xbox-tv v3.1.8 child bridge successfully
[07/09/2024, 22:48:26] Loaded 0 cached accessories from cachedAccessories.0EB18EB1EAF8.
[07/09/2024, 22:48:26] Homebridge v1.8.4 (HAP v0.12.2) (homebridge-xbox-tv) is running on port 57035.
[07/09/2024, 22:48:26]

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

[07/09/2024, 22:48:35] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, published as external accessory.
[07/09/2024, 22:48:35] Xbox 84ED is running on port 33055.
[07/09/2024, 22:48:35] Please add [Xbox 84ED] manually in Home app. Setup Code: 745-70-200
[07/09/2024, 22:48:48] [homebridge-xbox-tv] Restarting child bridge...
[07/09/2024, 22:48:48] Got SIGTERM, shutting down child bridge process...
[07/09/2024, 22:48:53] [homebridge-xbox-tv] Child bridge process ended
[07/09/2024, 22:48:53] [homebridge-xbox-tv] Process Ended. Code: 143, Signal: null
[07/09/2024, 22:49:00] [homebridge-xbox-tv] Restarting Process...
[07/09/2024, 22:49:01] [homebridge-xbox-tv] Launched child bridge with PID 284968
[07/09/2024, 22:49:02] Registering platform 'homebridge-xbox-tv.XboxTv'
[07/09/2024, 22:49:02] [homebridge-xbox-tv] Loaded homebridge-xbox-tv v3.1.8 child bridge successfully
[07/09/2024, 22:49:02] Loaded 0 cached accessories from cachedAccessories.0EB18EB1EAF8.
[07/09/2024, 22:49:02] Homebridge v1.8.4 (HAP v0.12.2) (homebridge-xbox-tv) is running on port 57035.
[07/09/2024, 22:49:02]

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

[07/09/2024, 22:49:15] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, published as external accessory.
[07/09/2024, 22:49:15] Xbox 84ED is running on port 40443.
[07/09/2024, 22:49:15] Please add [Xbox 84ED] manually in Home app. Setup Code: 745-70-200
[07/09/2024, 22:49:19] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, Send power On.
[07/09/2024, 22:49:20] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, Send power On.
[07/09/2024, 22:49:20] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, set Power: ON
[07/09/2024, 22:49:20] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, Send power On.
[07/09/2024, 22:49:20] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, Send power On.
[07/09/2024, 22:49:21] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, Send power On.
[07/09/2024, 22:49:21] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, Send power On.
[07/09/2024, 22:49:21] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, Send power On.
[07/09/2024, 22:49:21] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, set Power: ON
[07/09/2024, 22:49:21] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, Send power On.
[07/09/2024, 22:49:21] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, set Power: ON
[07/09/2024, 22:49:21] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, set Power: ON
[07/09/2024, 22:49:21] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, Send power On.
[07/09/2024, 22:49:22] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, set Power: ON
[07/09/2024, 22:49:22] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, set Power: ON
[07/09/2024, 22:49:22] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, set Power: ON
[07/09/2024, 22:49:22] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, set Power: ON
[07/09/2024, 22:49:22] [homebridge-xbox-tv] Device: 192.169.0.113 Xbox, set Power: ON

@antikerSht
Copy link
Author

I also can't turn the Xbox on directly in HomeBridge UI

@antikerSht
Copy link
Author

The only thing that seems to work is the iOS remote app

@grzegorz914
Copy link
Owner

Go to plugin settings Advanced Settings>>Wen API>>Power Control enable it.

@antikerSht
Copy link
Author

Thanks, forgot that while reinstalling the plugin. I'm so frickin stupid 🥲

@antikerSht
Copy link
Author

Issue is still there... I can boot it up vie the home app but can't open any apps with the switcher or shut the console down :/

@antikerSht antikerSht reopened this Sep 7, 2024
@grzegorz914
Copy link
Owner

Issue is still there... I can boot it up vie the home app but can't open any apps with the switcher or shut the console down :/

Post the debug log please

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@github-actions github-actions bot added the stale label Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants