Git Product home page Git Product logo

homebridge-sonytvremote's Introduction

Sony TV control

Instalation

To install the plugin, head over to the machine with Homebridge set up and run

sudo npm install -g https://github.com/tekuonline/homebridge-sonytvremote.git
Configuration

To make Homebridge aware of the new plugin, you will have to add it to your configuration usually found in .homebridge/config.json. Somewhere inside that file you should see a key named accessories. This is where you can add your tv as shown here:



"accessories": [
{
                "accessory": "SonyTV",
                "name": "Living room TV",
                "mac": "7E-D3-BC-61-1D-58",
                "ip": "10.0.1.13",
                "tvsource":"tv:dvbs",
                "maxchannels": 18,
                "soundoutput":"speaker",
                "cookiepath":"/usr/node_modules/homebridge-sonytvremote/cookie"
  }
]

Note: Cookie must be a file with read write access:
sudo chmod 777 /usr/local/lib/node_modules/homebridge-sonytvremote/cookie

*where cookiepath might differ based on user setup.

homebridge-sonytvremote's People

Contributors

tekuonline avatar

Watchers

 avatar  avatar

homebridge-sonytvremote's Issues

Cookie Path is not Valid for some Configurations

I was getting an issue where every time I restarted Homebridge or turned on my TV I was getting the Remote Device Registration on my TV. It looks like the path that is set for the cookie file "/usr/local/lib/node_modules/homebridge-sonytvremote/cookie" is not valid for all configurations.

Some users need to be able to edit the path to allow us to direct the cookie somewhere we can read/write. I was able to manually go in and change the path, but its not quite as user friendly.

Can you make this configurable? Do you think this is even the issue? I think it makes some sense to add this as an optional config with maybe your original as a default?

This is awesome! thanks for your hard work.

Updated with more info.

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.