BangleApps/apps/hasensors
Gordon Williams a9d135f616 change app descriptions slightly 2024-02-05 11:02:19 +00:00
..
ChangeLog hasensors: add icons 2023-05-16 22:54:48 +02:00
README.md
boot.js hasensors: cleanup: use double quotes everywhere 2023-05-16 23:04:08 +02:00
custom.html hasensors: cleanup: use double quotes everywhere 2023-05-16 23:04:08 +02:00
ha.png
lib.js hasensors: cleanup: use double quotes everywhere 2023-05-16 23:04:08 +02:00
metadata.json change app descriptions slightly 2024-02-05 11:02:19 +00:00

README.md

Home Assistant Sensors

Sends sensor values to Home Assistant using the Android Integration.
It doesn't use the Home Assistant app on your phone, but posts directly to Home Assistant, so it only works if Home Assistant can be reached from your phone.

Setup

You need to fill out these fields:

  • Sensor ID: This is prefixed to sensor IDs in Home Assistant.
    If you set this to banglejs, the battery sensor will be named sensor.banglejs_battery_level.
  • Sensor Name: This is prefixed to human-friendly sensor names. If you set this to Bangle.js, the battery sensor will show as Bangle.js Battery Level.
  • Home Assistant URL: The URL of your Home Assistant Installation.
  • Authentication Token: You need to generate a Long-Lived Access Token in Home Assistant, at the bottom of your profile page.

Features

Currently creates these sensors:

  • <sensor id>_battery_level: Your watch battery level as percentage
  • <sensor id>_battery_state: charging or discharging