BangleApps/apps/hasensors
Richard de Boer b79a1caae6
hasensors: cleanup: use double quotes everywhere
2023-05-16 23:04:08 +02:00
..
ChangeLog hasensors: add icons 2023-05-16 22:54:48 +02:00
README.md New app: hasensors: Home Assistant Sensors 2023-02-12 19:17:16 +01:00
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 New app: hasensors: Home Assistant Sensors 2023-02-12 19:17:16 +01:00
lib.js hasensors: cleanup: use double quotes everywhere 2023-05-16 23:04:08 +02:00
metadata.json hasensors: inline config 2023-05-16 22:29:44 +02: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