Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/teitei-tk/bravia
Remote Control your Sony Bravia TV
https://github.com/teitei-tk/bravia
android-tv api-client iot sony sony-bravia-tv typescript
Last synced: 14 days ago
JSON representation
Remote Control your Sony Bravia TV
- Host: GitHub
- URL: https://github.com/teitei-tk/bravia
- Owner: teitei-tk
- License: apache-2.0
- Created: 2018-05-23T13:22:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-04T12:42:31.000Z (over 6 years ago)
- Last Synced: 2024-11-21T12:47:27.522Z (about 1 month ago)
- Topics: android-tv, api-client, iot, sony, sony-bravia-tv, typescript
- Language: TypeScript
- Homepage:
- Size: 115 KB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bravia
[![npm version](https://badge.fury.io/js/%40teitei-tk%2Fbravia.svg)](https://badge.fury.io/js/%40teitei-tk%2Fbravia)Remote Control your Sony Bravia
## Install
```bash
$ npm i @teitei-tk/braviaor
$ yarn add @teitei-tk/bravia
```## Setup
### TV Setup
* Turn on your TV
* On the TV go to Settings > Network > Home network setup > Remote device/Renderer > On
* On the TV go to Settings > Network > Home network setup > IP Control > Authentication > Normal and Pre-Shared Key
* On the TV go to Settings > Network > Home network setup > Remote device/Renderer > Enter Pre-Shared Key > 0000 (or whatever you want your PSK Key to be)
* On the TV go to Settings > Network > Home network setup > Remote device/Renderer > Simple IP Control > On### Environment Variable
```bash
export IP_ADDR="Your TV IP address"
export PSK_KEY="0000"
```## Usage
#### fetch available commands
```bash
$ ./node_modules/.bin/commands
Num1
Num2
Num3
Num4
Num5
Num6
Num7
Num8
Num9
Num0
Num11
Num12
Enter
GGuide
ChannelUp
ChannelDown
VolumeUp
VolumeDown
....
....
....
```#### exec command
```bash
# volume up
$ ./node_modules/.bin/request VolumeUp# change netflix
$ ./node_modules/.bin/request Netflix
```## LICENSE
Apache License 2.0