Code Monkey home page Code Monkey logo

homebridge-bravia-tvos's Introduction

Bravia!TVOS 3.0

npm npm GitHub last commit Donate

Creating 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.

HomeKit Overview

This is a plugin for Homebridge to control your Sony Bravia Android TV.

This plugin supports following functions:

  • Power Switch (on/off)
  • Inputs like HDMI, Scart, CEC Devices, AV, WIFI, DVB:T, DVB:C etc.
  • Apps like YouTube, Prime Video etc.
  • Channels: Your favourite channels as inputs.
  • Remote control: native iOS Remote control
  • Login with PSK or without PSK (for older models)
  • WOL support Wake on Lan

Installation instructions

After Homebridge has been installed:

  • sudo npm i -g homebridge-bravia-tvos@latest

Preparing the TV (PSK)

  • Set Remote start to ON (Settings -> Network -> Remote Start)
  • Change Authentication to Normal and Pre-Shared Key (Settings -> Network -> IP Control -> Authentication)
  • Enter a Pre-Shared Key (Settings -> Network -> IP control -> Pre-Shared Key)

Preparing the TV (without PSK)

  • Set Remote start to ON (Settings -> Network -> Remote Start)
  • Change Authentication to Normal (Settings -> Network -> IP Control -> Authentication)

Basic configuration

{
"bridge": {
  ...
},
"accessories": [
  ...
],
"platforms": [
   {
     "platform": "BraviaOSPlatform",
     "tvs": [
       {
         "name": "Sony Lounge",
         "ip": "192.168.178.3",
         "port": 80,
         "psk": "lipsum555"
       }
     ],
     "interval": 10
   }
]
}

See Example Config for more details.

Options

Attributes Required Usage
name Yes Unique Name for the TV Accessory.
ip Yes IP adress from your Sony Bravia Android TV
mac No MAC address from TV (required if using WOL!)
port No If you have problems with connecting to the TV, try a different port (Default: 80)
psk No Your PRE SHARED KEY (see preparing the TV above)
extraInputs No Inputs for "Scart, Composite, Wifidisplay" (Default: false)
cecInputs No Inputs for connected cec devices like Apple TV (Default: false)
channelInputs No An Array of Channel input types (DVBT/DVBC/DVBS/ANALOG) (Default: false)
channels No List of your favourite channels (channel numbers from tv and source) to display these as inputs in the TV accessory (Default: false)
apps No List of your favourite apps to display as inputs in the TV accessory (Default: false)
wol No Wake On Lan (Default: false)
customSpeaker No If true, an extra speaker accessory will be published to HomeKit (Default: false)
speakerType No Type of the custom speaker (switch, lightbulb, speaker) (Default: speaker)
interval No Polling interval in seconds (Default: 10s)

Multiple TVs

If you have added multiple TVs to homebridge via this plugin, please note that all TVs except the first one will be published as "external accessories" ! That means, you need to add this TVs manually to HomeKit. It will be not exposed via the bridge. This is necessary due to handling of the TVs via Apple

Supported clients

This plugin has been verified to work with the following apps on iOS 12.2:

  • iOS 12.2
  • Apple Home (partial)
  • Homebridge v0.4.46

(All 3rd party apps like Elgato Eve etc are not supported at this time. Apple is blocking 3th party apps from accessing the TV accessory)

Contributing

You can contribute to this homebridge plugin in following ways:

  • Report issues and help verify fixes as they are checked in.
  • Review the source code changes.
  • Contribute bug fixes.
  • Contribute changes to extend the capabilities

Pull requests are accepted.

Troubleshooting

If 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.

HomeBridge with debug mode: DEBUG=BraviaPlatform,BraviaPlatformApi and homebridge -D

homebridge-bravia-tvos's People

Contributors

itsans avatar lucaponzanelli avatar niou-ns avatar seydx avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.