This component will set up the following platforms.
Platform | Description |
---|---|
sensor |
Show info from the myAir API. |
Unless you have a good reason not to, you probably want to install this component via HACS (Home Assistant Community Store)
This integration creates sensors from your myAir CPAP data like AHI Events/hr, Usage Minutes, Mask On/Off count, Mask Leak %. There is also a Last Sleep Data Recorded sensor to tell you the last date that myAir has recorded. This can be used to, say, notify you of your scores when they are updated in myAir in the morning.
By the nature of CPAP data, sensors will only update once per day (assuming your CPAP is used every day). For this reason, the integration only polls every 30 minutes. A service exists for each config that will force update if you want to automate the sync after you wake up.
The following sensors are supported in all regions:
Each config entry for this integration will create a service called resmed_myair.force_poll_{username}
that will force an update from myAir.
This integration was reversed engineered from the myAir website. There are no guarantees that this will continue to work, as this is up to the whims of ResMed. Please DO NOT rely on this for any health-related matters.
This integration currently only connects to accounts from North America, Europe, and Australia. If you are in Asia, please open an issue and offer yourself as a test subject.
If you want to contribute to this please read the Contribution guidelines
If you want to support the development of this component, please don't donate to me but instead donate to the Home Assistant development team.