grzegorz914 / homebridge-xbox-tv

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

Trying to set stuff up but it isn't going smooth #170

Closed mighty2dead closed 1 year ago

mighty2dead commented 1 year ago

So I got everything set up from the key tokens and stuff

but when I try to do stuff I get this: Device: XBOXONE, web Api data error: [object Object], recheck in 60se.

grzegorz914 commented 1 year ago

Please descriebe step by step What You do?

mighty2dead commented 1 year ago

Please descriebe step by step What You do?

so i authorised the xbox for web api control and after tweaking the sensor settings i restart homebridge with sudo homebridge, afterwards i try controlling that thing and get the message also if i try to mess with the home app (turning the xbox of and on or trying to switch apps and the change can be seen in the home app and after aprox 20 seconds it goes back to the whing thats actually on the xbox. eg: i open dashboard from the phone nothing happens on xbox but for that 20 second period it goes back to whats on the xbox)

grzegorz914 commented 1 year ago

Sorry but I don’t understand what you write. What is displayed in the Homebridge log.? Post the whole log after HB restart. Please also post the config.json.

mighty2dead commented 1 year ago

sudo homebridge ─╯ Password: [10/04/2023, 14:20:31] Loaded config.json with 1 accessories and 2 platforms. [10/04/2023, 14:20:31] Loaded 0 cached accessories from cachedAccessories. [10/04/2023, 14:20:31] --- [10/04/2023, 14:20:32] Loaded plugin: homebridge-config-ui-x@4.50.2 [10/04/2023, 14:20:32] Registering platform 'homebridge-config-ui-x.config' [10/04/2023, 14:20:32] --- [10/04/2023, 14:20:32] Loaded plugin: homebridge-roomba2@1.4.0 [10/04/2023, 14:20:32] Registering accessory 'homebridge-roomba2.Roomba2' [10/04/2023, 14:20:32] --- [10/04/2023, 14:20:32] Loaded plugin: homebridge-xbox-tv@2.8.15 [10/04/2023, 14:20:32] Registering platform 'homebridge-xbox-tv.XboxTv' [10/04/2023, 14:20:32] --- [10/04/2023, 14:20:32] Loaded plugin: @o-lukas/homebridge-smartthings-tv@1.4.1 [10/04/2023, 14:20:32] Registering platform '@o-lukas/homebridge-smartthings-tv.smartthings-tv' [10/04/2023, 14:20:32] --- [10/04/2023, 14:20:32] Loading 2 platforms... [10/04/2023, 14:20:32] [Config] Initializing config platform... [10/04/2023, 14:20:32] [Config] Spawning homebridge-config-ui-x with PID 45623 [10/04/2023, 14:20:32] [XboxTv] Initializing XboxTv platform... [10/04/2023, 14:20:32] Loading 1 accessories... [10/04/2023, 14:20:32] [Roomba] Initializing Roomba2 accessory... Setup Payload: X-HM://0024HU1XAJSRH Scan this code with your HomeKit app on your iOS device to pair with Homebridge:

Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐
│ 619-82-270 │
└────────────┘

[10/04/2023, 14:20:32] Homebridge v1.6.0 (HAP v0.11.0) (Homebridge 067E) is running on port 51644. [10/04/2023, 14:20:32] [XboxTv] Device: 192.168.1.101 XBOXONE, web Api data error: [object Object], recheck in 60se. [10/04/2023, 14:20:33] [Homebridge UI] Homebridge Config UI X v4.50.2 is listening on :: port 8581 [10/04/2023, 14:20:34] XBOXONE 0340 is running on port 50437. [10/04/2023, 14:20:34] Please add [XBOXONE 0340] manually in Home app. Setup Code: 619-82-270 [10/04/2023, 14:20:37] [XboxTv] Device: 192.168.1.101 XBOXONE, Mute: ON [10/04/2023, 14:20:42] [XboxTv] Device: 192.168.1.101 XBOXONE, Connected. [10/04/2023, 14:20:42] [XboxTv] -------- XBOXONE --------' [10/04/2023, 14:20:42] [XboxTv] Manufacturer: Microsoft [10/04/2023, 14:20:42] [XboxTv] Model: Model Name [10/04/2023, 14:20:42] [XboxTv] Serialnr: FD001B72EFE785DD [10/04/2023, 14:20:42] [XboxTv] Firmware: 10.0.22621 [10/04/2023, 14:20:42] [XboxTv] ----------------------------------

Device: 192.168.1.101 XBOXONE, set Power: OFF [10/04/2023, 14:21:24] [XboxTv] Device: 192.168.1.101 XBOXONE, set Power: ON [10/04/2023, 14:21:56] [XboxTv] Device: 192.168.1.101 XBOXONE, set Input: Dashboard, Reference: Xbox.Dashboard_8wekyb3d8bbwe!Xbox.Dashboard.Application, Product Id: Dashboard

grzegorz914 commented 1 year ago

Install 2.8.16-beta.0 and get the log again

grzegorz914 commented 1 year ago

No response from user