BangleApps/apps/hassio
ellabellla 154c54f941 fix: move settings to data 2024-03-11 21:48:36 +11:00
..
ChangeLog fix: hassio changlog 2024-03-09 15:59:19 +11:00
README.md fix: typo 2024-03-09 16:11:12 +11:00
hassio.app.js fix: remove inlined module code 2024-03-11 21:39:21 +11:00
hassio.boot.js fix: remove unused variable 2024-03-11 21:40:20 +11:00
hassio.img feat: hassio 2024-03-09 15:58:00 +11:00
hassio.json feat: hassio 2024-03-09 15:58:00 +11:00
hassio.png feat: hassio 2024-03-09 15:58:00 +11:00
interface.html refactor: use readStorageJSON function 2024-03-11 21:46:30 +11:00
metadata.json fix: move settings to data 2024-03-11 21:48:36 +11:00

README.md

Home Assistant API Interface

This app provides two features:

This is done through rest api calls to your Home Assistant server. This means the app requires using the Android Integration and for your server to be accessible from your phone.

A restart may be required after loading the app to start the background sensor process.

Configuration

Configuration is done through modifying the settings json.

{
  "templates": [
    {
      "name":"Test Template",
      "temp":"Test"
    }
  ],
  "interval": 180000,
  "api_key":"api_key",
  "host":"https://homeassistant:8123",
  "id":"banglejs",
  "friendly_name":"Banglejs Sensors"
}
  • api_key: A Home Assistant api key.
  • host: The url of your Home Assistant server. The url must be https or it will not work. This is a limitation of the permissions given to the Banglejs GadgetBridge app. You can compile a custom version if you wish to modify this.
  • interval: The sensor update interval.
  • id: An id to be used for identifying your banglejs in Home Assistant.
  • friendly_name: The name Home Assistant will use to refer to your banglejs.
  • templates: A list of templates to display in the gui. They are given in this format {"name":"Template Name", "temp":"A template"}. More information about creating templates can be found here.

The GUI

The GUI will display templates one at a time. Tap to go to the next template. Long press to reload the current template.