From f3bbaeb7f0b7d7c7bc7ed66d1f28516a35e49e8e Mon Sep 17 00:00:00 2001 From: Guptilious <42465910+Guptilious@users.noreply.github.com> Date: Wed, 28 Aug 2024 13:20:56 +0100 Subject: [PATCH] Update README.md --- apps/tvremote/README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/apps/tvremote/README.md b/apps/tvremote/README.md index 8b1378917..a18c7a81b 100644 --- a/apps/tvremote/README.md +++ b/apps/tvremote/README.md @@ -1 +1,25 @@ +# 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": "" + });