grzegorz914 / homebridge-xbox-tv

Homebridge plugin for Microsoft Game Console, publish as independent external platform accessory.
MIT License
163 stars 15 forks source link

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

Open antikerSht opened 1 week ago

antikerSht commented 1 week ago

Code 1, Signal: null

antikerSht commented 1 week ago

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 commented 1 week ago

Nothing else works

antikerSht commented 1 week ago

Nothing is working... idk why

grzegorz914 commented 1 week ago

What is not working, any log, console is aurhorized

antikerSht commented 1 week ago

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 commented 1 week ago

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

antikerSht commented 1 week ago

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

grzegorz914 commented 1 week ago

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

antikerSht commented 1 week ago

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

antikerSht commented 1 week ago

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 :/