grzegorz914 / homebridge-xbox-tv

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

404 Errors on Power On #178

Closed shanemcw closed 1 year ago

shanemcw commented 1 year ago

Seeing the following. All functionality seems to work, with the exception of an initial power on with the most recent versions of this plugin.

[7/3/2023, 5:11:29 PM] [XboxTv] Device: 192.168.0.25 Xbox, set Power, error: send command type: Power, command: WakeUp, params: undefined, error: {"status":404,"body":"{\r\n  \"status\": {\r\n    \"errorCode\": \"ErrorCallingWNS\",\r\n    \"errorMessage\": \"Send command failed\"\r\n  },\r\n  \"result\": null,\r\n  \"uiText\": null,\r\n  \"destination\": null,\r\n  \"userInfo\": null,\r\n  \"opId\": \"26d75d67-155f-4b1a-9a0a-238a1ab4a0dd\"\r\n}"}
[7/3/2023, 5:11:29 PM] [XboxTv] Device: 192.168.0.25 Xbox, set Input error: "send command type: Shell, command: ActivateApplicationWithOneStoreProductId, params: [object Object], error: {\"status\":404,\"body\":\"{\\r\\n  \\\"status\\\": {\\r\\n    \\\"errorCode\\\": \\\"ErrorCallingWNS\\\",\\r\\n    \\\"errorMessage\\\": \\\"Send command failed\\\"\\r\\n  },\\r\\n  \\\"result\\\": null,\\r\\n  \\\"uiText\\\": null,\\r\\n  \\\"destination\\\": null,\\r\\n  \\\"userInfo\\\": null,\\r\\n  \\\"opId\\\": \\\"52c945b7-42c3-4a59-9c63-66556cd98df4\\\"\\r\\n}\"}"
grzegorz914 commented 1 year ago

Can you try latest beta and let me know

grzegorz914 commented 1 year ago

Is your console authorized, post your config.json please.?

shanemcw commented 1 year ago

Thanks for the follow-up!

… with homebridge-xbox-tv v2.8.21

will try latest beta x.22 b.14 and report here if seen again

Screenshot 2023-07-05 at 8 18 45 AM

        {
            "devices": [
                {
                    "name": "Xbox",
                    "host": "192.168.0.25",
                    "xboxLiveId": "FD002F66DB------",
                    "webApiControl": true,
                    "getInputsFromDevice": true,
                    "filterGames": false,
                    "filterApps": false,
                    "filterSystemApps": false,
                    "filterDlc": true,
                    "sensorPower": true,
                    "sensorInput": false,
                    "sensorScreenSaver": false,
                    "webApiPowerOnOff": true,
                    "xboxWebApiToken": "M.C107_BL2.2.a16438e3-2a54-775a-a61b-dfabf6------",
                    "enableDebugMode": false,
                    "disableLogInfo": true,
                    "disableLogDeviceInfo": false,
                    "enableMqtt": false,
                    "mqttDebug": false,
                    "mqttAuth": false
                }
            ],
            "platform": "XboxTv"
        },
grzegorz914 commented 1 year ago

OK, I see now same error on my side, will investigate into this.

grzegorz914 commented 1 year ago

try beta 18 and let me know, on my side is working again