mirror of https://github.com/espruino/BangleApps
|
||
---|---|---|
.. | ||
ChangeLog | ||
README.md | ||
boot.js | ||
custom.html | ||
ha.png | ||
lib.js | ||
metadata.json |
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 tobanglejs
, the battery sensor will be namedsensor.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 asBangle.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
ordischarging