Skip to content

Commit

Permalink
Merge pull request #3548 from Guptilious/master
Browse files Browse the repository at this point in the history
tv remote app
  • Loading branch information
thyttan authored Sep 12, 2024
2 parents 9e0ce08 + beaa23d commit 431100f
Show file tree
Hide file tree
Showing 5 changed files with 733 additions and 0 deletions.
62 changes: 62 additions & 0 deletions apps/tvremote/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# TV Remote
A [BangleJS 2](https://shop.espruino.com/banglejs2) app that allows the user to send TV input signals from their watch to their TV.
Currenly there is only support for Panasonic viera TV's however support for other brands may be considered in interest is there.

# Requirements
1. The [Bangle GadgetBridge App](https://www.espruino.com/Gadgetbridge) with permissions allowed for `http requests`.
2. A domain name and DNS created.
3. A webserver that the DNS points to, that is set up to receive and process the watch http requests. [Here](https://github.com/Guptilious/banglejs-tvremote-webserver) is one I have created that should complete the full set up for users - provided they have their own domain name and DNS created.

# Set Up
You will need to upload the below JSON file to your BangleJS, which will be used for config settings. At minimum you must provide:
* `webServerDNS` address, which points to your webserver.
* `username` which should mirror what is included in your webservers auth config. If using my webserver it would be `config.json`.
* `password` which should mirror what is included in your webservers auth config. If using my webserver it would be `config.json`.

`port` and `tvIp` are optional as they can be manually assigned and updated via the tvremote watch app settings.

## Tv remote config example
require("Storage").write("tvremote.settings.json", {
"webServerDns": "",
"tvIp": "",
"port": "",
"username": "",
"password": ""
});

# Usage
Main Menu
* Select TV type (panasonic is currently the only one supported)
* Settings takes you to the settings menu, that allows you to manually assign ports and IP's.

Settings Menu
* Device Select sends a http request to the webserver for a scrollable list devices to select.
* Manual IP takes standard number inputs and swipping up will provide a `.` for IP's.

Power Screen
* Press button - on/off.
* Swipe left - `App Menu`.
* Swipe Right - Main Menu

App Menu
* Scroll and select to send App menu input.
* Swipe left - Selection menu.
* Swipe right - Power Screen.

Selection Menu
* ^ - up
* ! - down
* < - left
* `>` - right
* Swipe right - back
* Swipe left - select
* Swipe Down - Number Menu ( used for inputting key passwords).
* Swipe Up - Vol Commands

Vol Commands
* Swipe Down - Selection Menu
* Swipe right - rewind
* Swipe left - fast forward
* Swipe Up - Play/Pause

Back Button - Should take you back to the previous menu screen.
1 change: 1 addition & 0 deletions apps/tvremote/app-icon.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 431100f

Please sign in to comment.