Does anyone know if there is a way to use this to tell if a CPAP is on or not at a specific time? Trying to annoy my wife so she remembers to put her mask on at night for better sleep.
You could put it on a power monitoring smart plug and check the power draw?
Was hoping to not waste a plug but was just going to do this. Thanks.
Hello,
I wonder if this:
Or that:
could help?
Thanks for your answers
One of those copied my code and the other emulates browser. Unfortunately my CPAP device is CDMA and no longer connects to my air so I’m not able to continue improving this integration
thanks for this!
My wife just got the the ResMed CPAP machine, I believe its the Autosense11 version. Installed your integration and worked perfectly.
Thanks for creating this! I’m going to be putting some of these sensors in my local LLM where it creates a morning message greet based on sensors. It would be good to get an AI generated CPAP report in the morning when walking into the office.
Can I ask, does this integration web-scrape? I assume there is no API for this otherwise.
I get through step 8 of the installation instructions from the github page, but for the life of me I can find no way to add a configuration to the UI.
The “ResMed myAir CPAP Sensors” does show up in the HACS->Integrations section under the Integrations tab but that’s as far as I get.
Any recommendations?
You should be able to go to settings - devices and add an integration for Resmed. Hopefully this helps.
Thank you. That was where I had failed.
Thank you for this!
Works great
I love this community.
Can I ask, does this integration web-scrape? I assume there is no API for this otherwise.
Yeah sorta. I reversed engineered the myAir API based upon how the website works. Twice, in fact, as it works differently in USA vs Europe.
Is this still working for some folks? I added it successfully a month or so ago. Worked great. Props to @prestomation .
And then just as quickly I got it working, it stopped. I tried to re-add the integration, but no joy.
Others?
Not working for me, June 13 was the last day any of my CPAP entities were available. I had enjoyed my automation that announced my score everyday. BTW, I am located in the USA.
and @mluck . Sorry about that, ResMed made a change which broke the integration.
Thanks to @birdwing for contributing the fix. Unfortunately my device no longer connects to myAir so I can no longer use or properly test this integration, but please let me know if anything isn’t working
no apologies allowed
you gave all the appropriate caveats up-front, so I consider this a privilege not a guarantee. I did notice the updated resmed in HACS and it did work for me, so thanks @birdwing
Glad to help out
I found this page by chance and was very curious to see how it works in homeassistant.
i have set up a username and password and can use them to log in to the portal. so far so good.
i updated my hacs and also installed this repo. i then restarted it several times and updated the website.
however, when I try to log in with my username and password, ‘unknown error’ is displayed. i have selected EU.
what could be the reason for this?
Translated with DeepL.com (free version)
If you’re in the EU, you’re out of luck as Resmed sends you a 2FA password by email and, obviously, you can’t access this from HA. There’s a possibility to click a checkbox to not ask again, but I don’t think this is helpful.
Is there a chance of an integration update that fixes the 2FA issue in EU? or a way to bypass the authentication?