在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:seydx/homebridge-bravia-tvos开源软件地址:https://github.com/seydx/homebridge-bravia-tvos开源编程语言:JavaScript 71.5%开源软件介绍:homebridge-bravia-tvos v5Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to "Star" or donate. Click here to review more of my plugins. InfoThis is a plugin for Homebridge to control your Sony Bravia Android TV. This plugin supports following functions:
Installation instructionsAfter Homebridge has been installed:
Preparing the TVTV Settings
If you want to use authentication with a Pre-Shared key, please do following steps:
Configuration (Config UI X)Bravia TV OS v5 supports a custom user interface making configuration via homebridge-config-ui-x even easier! Below you can see how easy it is to create, edit or delete a new TV for the config.json using the custom user interface. To use the custom user interface you need at least homebridge-config-ui-x v4.34.0! braviatvos-ui-preview2.movConfiguration (Manually)If you cannot use the custom user interface or want to edit the config.json manually, you must first decide which authentication to use. a) PIN Authentication (prefered)To use the PIN authentication you must first install the bravia module:
And to be able to use the plugin with the PIN procedure your credentials must be created first. You can create the credentials as follows:
The PIN displayed on the TV must then be entered in the terminal. This will generate a credentials {
name: 'MyTV',
uuid: 'e9812807-d394-407c-b657-c89a98804e65',
token: 'A0B9B9D7580466F22EE8F8EA148863774ACCE203',
expires: 'Fr., 26 Apr. 2009 21:42:48 GMT+00:00'
} Once that is done, you just need to add the "name" to your config.json under "appName". (E.g.: Example: {
...
"active": true,
"name": "Sony TV",
"ip": "192.168.178.123",
"port": 80,
"appName": "MyTV",
...
} b) PSK Authentication
You need to put the PSK entered in your tv also in your config.json. Example:
Example BASIC config{
"bridge": {
...
},
"accessories": [
...
],
"platforms": [
{
"platform": "BraviaOSPlatform"
"name": "BraviaTVOS",
"debug": true,
"tvs": [
{
"name": "Sony TV",
"ip": "192.168.178.123",
"psk": "0000",
"inputs": [
{
"name": "Apple TV",
"identifier": "Wohnzimmer",
"source": "cec"
}
],
"apps": [
{
"name": "You Tube",
"identifier": "YouTube"
}
],
"channels": [
{
"name": "Planet HD",
"channel": 97,
"source": "dvbt"
}
],
"commands": [
{
"name": "Volume Up",
"value": "AAAAAQAAAAEAAABgAw=="
}
],
"speaker": {
"active": true,
"output": "speaker",
"increaseBy": 1,
"reduceBy": 1,
"accType": "lightbulb"
},
}
]
}
]
} See Example Config for a FULL config example. Options General
Options TV
Options TV Inputs
Options TV Apps
Options TV Channels
Options TV Commands
Options TV Macros
Options TV Speaker
Options TV Remote
Options TV Display Order
Supported clientsThis plugin has been verified to work with the following apps on iOS 14:
ContributingYou can contribute to this homebridge plugin in following ways:
Pull requests are accepted. TroubleshootingIf you have any issues with the plugin or TV services then you can run homebridge in debug mode, which will provide some additional information. This might be useful for debugging issues. Just enable DisclaimerAll product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论