Skip to content

Support for Generic iTag buttons #80

@jclds139

Description

@jclds139

I'm trying to add support for these cheap BLE button tags but I'm struggling with what needs to be defined in a "protocol" vs a "device".
They're a basic presence device but with a couple of extra features once connected:

  1. Battery percentage is a readable characteristic (some of them allow it to be notified, too)
  2. There's an "alert" characteristic that makes the device beep depending on what's written to it.
  3. There's a button that can be subscribed to to get notifications when it is clicked.

(1) seems like a straightforward sensor, (2) I'm not quite sure, but I'd imagine this could be a "select" or "switch" domain device. (3) seems the weirdest because the state is always off when read directly, and it sends an event whenever it's pressed.
Any guidance or documentation I'm missing for these?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions