Hello Guest, Welcome to Apnea Board !
As a guest, you are limited to certain areas of the board and there are some features you can't use.
To post a message, you must create a free account using a valid email address.

or Create an Account


New Posts   Today's Posts

Automating process of getting CPAP data
#1
Automating process of getting CPAP data
I have a solution available that replaces the sneakernet process of grabbing CPAP data from an ResMed AirSense 11 SD card. The solution is a Linux-based solution and requires: 1. A RaspberryPi mini-PC. 2. A WiFi SD card (hotspot). 3. A home PC whose operating system is Linux. 4. Basic understanding of bash shell scripting. You can see the documentation for the project on my SleepApnea_WifiUploads_SleepHQ GitHub site. I addressed this documentation to the SleepHQ Community.

SleepHQ is a organization based in Australia that is dedicated to the support of Sleep Apneacs like myself. I am a paid member on this website. There is both free and firewalled access at SleepHQ. The SleepHQ community is fairly small, much smaller I suspect than the Oscar apneaboard community (OAC). I hope that my automated solution will be to some in the OAC. If, like me, you are not keen on the morning ritual of taking your SD card out of your CPAP machine, walking to your PC, inserting the SD card into your PC or its hub, uploading the data from the SD card to the Oscar app, and finally returning the SD card to your CPAP machine, then my solution is for you.

The basic operating is:

1. A RaspberryPi PC switches to the WiFi SD hotspot network and then grabs the data on the SD card.
2. The RaspberryPi PC switches back to your home WiFi nework and copies the data to your home PC.
3. You then upload the data to the Oscar app.

My solution:

1. Uses just one script that has two commands, both ssh-based.
2. That script is automatically run each morning at 8:00 a.m using a cronjob.
3. Done. Your data is now on your home PC.

No more snearkernet!

I would be quite happy to help those who wish to try out my solution. I live on the West Coast of Canada, Vancouver Island. My Time Zone is Pacific, GMT -8.
Post Reply Post Reply
#2
RE: Automating process of getting CPAP data
I am just asking: Why did you choose 8:00 a.m. when ResMed devices start their day at 12:00 p.m.? Wouldn't 2:00 p.m. have been a better choice?
"The object in life is not to be on the side of the majority, but to escape finding oneself in the ranks of the insane." -- Marcus Aurelius
Post Reply Post Reply
#3
RE: Automating process of getting CPAP data
The latest that I would ever get out of bed is 7:00 a.m. in the morning. 8:00 a.m. provides a 1 hour cushion. The AS11 writes its data for the previous night usually within a 1/2 hour after one takes off the CPAP mask.
Post Reply Post Reply
#4
RE: Automating process of getting CPAP data
I'd just like to point out that a RaspberryPi is quite capable of running OSCAR. An SSD is useful but not necessary.
Admin Note:

pholynyk passed away in October 2024
Click HERE to read his Memorial Thread

~ Rest in Peace ~
Post Reply Post Reply
#5
RE: Automating process of getting CPAP data
I am a little confused by your post. I assume that you meant SD, not SSD. Yes, you can install the Oscar App on a RaspberryPi box. I understand that. But, how do you get the data from the CPAP device. You need a WiFi solution...which is what my project provides. I am open to alternatives. I am not wedded to my solution. The project was more of a 'can do' project than anything else.
Post Reply Post Reply
#6
RE: Automating process of getting CPAP data
If you haven't seen this thread, it was posted in March 2021.

https://www.apneaboard.com/forums/Thread...todownload

- Red
Crimson Nape
Apnea Board Moderator
Project Manager for OSCAR - Open Source CPAP Analysis Reporter
www.ApneaBoard.com
___________________________________
Useful Links -or- When All Else Fails:
The Guide to Understanding OSCAR
OSCAR Chart Organization
Attaching Images and Files on Apnea Board
Apnea Helpful Tips

INFORMATION ON APNEA BOARD FORUMS OR ON APNEABOARD.COM SHOULD NOT BE CONSIDERED AS MEDICAL ADVICE. ALWAYS SEEK THE ADVICE OF A PHYSICIAN BEFORE SEEKING TREATMENT FOR MEDICAL CONDITIONS, INCLUDING SLEEP APNEA. INFORMATION POSTED ON THE APNEA BOARD WEB SITE AND FORUMS ARE PERSONAL OPINION ONLY AND NOT NECESSARILY A STATEMENT OF FACT.
Post Reply Post Reply
#7
RE: Automating process of getting CPAP data
That is the source script that I used on the RaspberryPi box and I give credit to Bjorn in my documentation. What is missing from Bjorn's post is that you need to switch from your home WiFi network to the WiFi SD hotspot network. You run the script after you switch to the hotspot which downloads the data. You then need to switch back to your home WiFi network. If you read my documentation, you will note that I discuss the limitations of the WiFi SD hotspot network, no routing, no Internet access, etc. My documentation also addresses the issue that the SD WiFi signal is quite weak. My strategy automates everything using a dedicated, inexpensive RaspberryPi box. There is no need to keep switching your laptop/PC to another network just to grab your data.
Post Reply Post Reply
#8
RE: Automating process of getting CPAP data
My "home office" is my bedroom and I've got an Intel NUC running Windows 11 as my workstation - connected via network cable.

When my ez card arrives I plan on having the NUC connect to that wifi and let it straddle both networks.
Schedule a powershell script to copy the files from one to the other - do you foresee any challenges with this idea?
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
Information EzShareApp - CPAP Data Downloader from EzShare SD card for macOS adrianfeeger 25 1,264 11-28-2024, 09:01 AM
Last Post: adrianfeeger
Question How export all days for oximeter (O2 Ring) data only (no CPAP) ? DavidEsp 11 4,187 09-04-2024, 01:41 AM
Last Post: Reggie5489
  Imported Wellue O2 Data and Now CPAP Oscar Times Off awarren82 3 462 05-22-2024, 11:30 AM
Last Post: Crimson Nape
  Inputting Data from Different CPAP Machines PapaBear562 10 947 04-29-2024, 07:46 PM
Last Post: chronic
Question OK TO IMPORT SLEEP DATA FROM OLD SD CARD INTO OSCAR W/O MESSING UP CURRENT DATA? Plmnb 3 747 03-29-2024, 11:02 AM
Last Post: Plmnb
  OSCAR Profiles and Combining Different Brand CPAP Data StratCat48 2 412 03-22-2024, 08:00 AM
Last Post: StratCat48
  Data structure / data definition of AirSense 11 CD, CMSd50+ or OSCAR?hing obvious, … Perickson 4 2,374 02-18-2024, 01:49 PM
Last Post: Perickson


New Posts   Today's Posts


About Apnea Board

Apnea Board is an educational web site designed to empower Sleep Apnea patients.