Profile & System > Settings > General > Power mode & startup
Console need to allow connect from any 3rd app. Allow Connections from any device should be enabled.
Profile & System > Settings > Devices & Connections > Remote features > Xbox app preferences.
Authorization Manager
First of all please use built in Authorization Manager.
Start new authorization need remove old token first, to clear token use Authorization Manager GUI.
Make sure Your web browser do not block pop-up window, if Yes allow pop-up window for this app.
If for some reason you cannot use Authorization Manager, please use Authorization Manual Mode (removed ab v2.0.13).
Authorization Manual Mode (removed ab v2.0.13)
After enable webApiControl option, restart the plugin and go to Homebridge console log.
Follow the instructions in the console log.
Start new authorization need remove old token first, go to ./homebridge/xboxTv/ and remove token file.
Configuration
Install and use Homebridge Config UI X plugin to configure this plugin (Highly Recommended). The sample configuration can be edited and used manually as an alternative. See the sample-config.json file in this repository for an example or copy the example below into your config.json file, making the apporpriate changes before saving it. Be sure to always make a backup copy of your config.json file before making any changes to it.
Key
Description
name
Here set the accessory Name to be displayed in Homebridge/HomeKit.
host
Here set the Hsostname or Address IP of Console.
xboxLiveId
On your console select Profile > Settings > System > Console info, listed as Xbox network device ID. You can only find the Xbox network device ID in Settings on your console, this is different from your console serial number.
clientId
If You create app on Azure AD then You can use your own Client Id.
clientSecret
If You create app on Azure AD then You can use own Client Secret.
userToken
Alternate authorization method.
userUhs
Alternate authorization method.
webApiControl
If enabled, the console can be controlled using Web Api and additional functions are available in Advanced Settings section.
xboxWebApiToken
Required if webApiControl enabled.
disableLogInfo
If enabled, disable log info, all values and state will not be displayed in Homebridge log console.
disableLogDeviceInfo
If enabled, add ability to disable log device info by every connections device to the network.
enableDebugMode
If enabled, deep log will be present in homebridge console.
volumeControl
Here select what a additional volume control mode You want to use (None, Slider, Fan), not yet implemented.
infoButtonCommand
Here select the function of I button in RC app.
getInputsFromDevice
If enabled, apps will be loaded from device, only available if webApiControl enabled.
filterGames
If enabled, Games will be hidden and not displayed in the inputs list, only available if webApiControl enabled.
filterApps
If enabled, Apps will be hidden and not displayed in the inputs list, only available if webApiControl enabled.
filterSystemApps
If enabled, System Apps (Accessory, Microsoft Store, Television) will be hidden and not displayed in the inputs list, only available if webApiControl enabled.
filterDlc
If enabled, Dlc will be hidden and not displayed in the inputs list, only available if webApiControl enabled.
inputs.name
Here set Input Name which You want expose to the Homebridge/HomeKit, Screensaver, Television, TV Settings, Dashboard, Accessory, Settings, Network Troubleshooter, Microsoft Store are created by default.
inputs.reference
Required to identify current running app.
inputs.oneStoreProductId
Required to switch apps.
inputs.type
Here select from available types.
buttons.name
Here set Button Name which You want expose to the Homebridge/HomeKit.
buttons.command
Here select button control mode or command, Reboot and Switch App/Game- only possible if webApiControl enabled.
buttons.oneStoreProductId
Here set Input oneStoreProductId, only possible if webApiControl enabled.
buttons.displayType
Here select display type in HomeKit app, possible Switch, Button - selectable in HomeKit app as Light, Fan, Outlet.
enableMqtt
If enabled, MQTT Broker will start automatically and publish all awailable PV installation data.
mqttHost
Here set the IP Address or Hostname for MQTT Broker.)
mqttPort
Here set the Port for MQTT Broker, default 1883.)
mqttPrefix
Here set the Prefix for Topic or leave empty.)
mqttAuth
If enabled, MQTT Broker will use authorization credentials.
mqttUser
Here set the MQTT Broker user.
mqttPasswd
Here set the MQTT Broker password.
mqttDebug
If enabled, deep log will be present in homebridge console for MQTT.
reference, oneStoreProductId
If web Api enabled then all available in ./homebridge/xboxTv/inputs_xxxxxx file.
请发表评论