Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HAsensors] Only does battery life, no 'unique ID' set. #3665

Open
andiohn opened this issue Nov 19, 2024 · 3 comments
Open

[HAsensors] Only does battery life, no 'unique ID' set. #3665

andiohn opened this issue Nov 19, 2024 · 3 comments

Comments

@andiohn
Copy link

andiohn commented Nov 19, 2024

Affected hardware version

Bangle 2

Your firmware version

2v24

The bug

This app is awesome, but perhaps:

  1. could we choose the sensors to export? Enable / Disable with 'amount of time between reports'?
  2. Unique ID is not set, so home assistant isn't happy. Seems like it could be autogenerated or something

Installed apps

hasensor.

@bobrippling
Copy link
Collaborator

Fair suggestions for possibly future features, tagging @rigrig just for visibility

@rigrig
Copy link
Contributor

rigrig commented Nov 19, 2024

  1. Adding sensors should be easy enough, which ones do you need?
    Not sure about adding settings, maybe we could pick a reasonable interval, and having a few unused sensor entities in Home Assistant doesn't seem like a problem.

  2. The sensors are dynamically created in Home Assistant, there is no way to give them a Unique ID.
    (You can work around this in HA by using template sensors)

@andiohn
Copy link
Author

andiohn commented Nov 19, 2024

SENSORS:
I was thinking:

  1. Last Heartrate (or even you could poll it every X minutes)
  2. Steps
  3. Baro or other sensors, if they're already on and reporting?

Mainly it would be cool to report if another app is already waking to display something, like the heartrate one; baring that, it would be cool if we could also set it to report every X minutes. I love having data lol.

UNIQUE ID:
Ah, that's too bad. Is it possible to add a random string on first report or something? Or can we pass the unique_id flag as part of the call?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants