Monitor a ResMed AirMini CPAP in Home Assistant, over Bluetooth Classic.
Each machine becomes a device belonging to one of your people: therapy hours, last used, state, therapy mode, pressures. It reads; it never writes.
Bluetooth Classic, not BLE, so the host must be within about ten metres of the machine.
Add https://github.com/ananthb/hass-addons as an add-on repository, install
airsupply, open it from the sidebar. Install the Mosquitto broker add-on
too; that is how the sensors get out. Add-on docs.
Fourteen nights of therapy as bars against the four-hour mark. Install through
HACS as a Dashboard repository pointing here, or copy
card/airsupply-card.js into config/www/ and add it as a resource.
type: custom:airsupply-card
entity: sensor.airsupply_<machine>_therapy_hoursOptions: nights (14), goal (4), title, only_owner. With
only_owner: true the card shows only to the user the machine is assigned to.
card/preview.html opens in any browser with invented data.
airsupply/ |
the add-on image |
card/ |
the Lovelace card |
docs/protocol.md |
the transport, and what is known versus assumed |
docs/verify.md |
what is confirmed against a real machine |
GPL-3.0-only. libairmini (BSD-2-Clause) owns the protocol and is built
from the commit in airsupply/libairmini.pin,
not vendored.