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

[EzShare SDcard wifi] Script to autodownload
RE: [EzShare SDcard wifi] Script to autodownload
Just wondering if anyone has issues when setting the cron job to run the shell script, it doesn't copy all files but if I manually run the script it seems to be fine? I also had the issue with the capital EDF and I followed @desertblade steps to resolve that.
Post Reply Post Reply
RE: [EzShare SDcard wifi] Script to autodownload
Is there a way to exclude older files or folders from the initial scanning? For example, exclude all folders containing "202308*"?
Post Reply Post Reply
RE: [EzShare SDcard wifi] Script to autodownload
(07-18-2023, 08:41 PM)desertblade Wrote: I created a Raspberry Pi Docker image that contains a modded version of this script as well as a way to access Oscar through a web browser. I have been using it for a couple weeks and it is working well.

I have found using an external USB wifi adapter greatly increases the speed, especially if the Pi is not right next to the CPAP machine.  Bonus is that you can use dual wifi so no need to switch Networks. I am running the docker on my Hyperion (ambient light for TV) that is downstairs from my CPAP machine.

Information and instructions are on docker hub: hub.docker.com/r/desertblade/oscar-pi (sorry too new to post links)

Let me know if anyone finds it useful.
 
Looks awesome thanks! I run Docker Compose on my Pi4 but it's quite far away from my Airsense 10, will try a fresh install on a spare Pi Zero W that I can locate closer, and set up Docker on that.
Post Reply Post Reply
RE: [EzShare SDcard wifi] Script to autodownload
The Australian Dude (the one that does YT cpap reviews) markets that EZ-Share card with a Pi... then it uploads to the cloud at some sleep headquarters site... not approved vendor here, obviously. Is discussion of this option verboten? Is anyone here a customer yet? If I just get a card and keep my iPhone near my bed will that work? Long-term cpap user with no upload since 3G was turned off here.
Post Reply Post Reply
RE: [EzShare SDcard wifi] Script to autodownload
Hope I’m not speaking out of term. This is more of a custom setup for those who don’t want to be tied into the other “magic” solution, which I find rather patronising unfortunately. Uncle who?  Dont-know

Currently I use a SD card > lighting adapter and copy files to my phone, then upload to Dropbox that way. The EZ share card is the next step up.
Post Reply Post Reply
RE: [EzShare SDcard wifi] Script to autodownload
I'd like to point out that if you have a Raspberry Pi and an SD card reader... you might as well run OSCAR on the RaspPi. There are executable images on the Download page.

As a point of curiosity, I built SleepyHead on a RasPi 2 a long time ago, and it worked, albeit slowly. No problems with OSCAR onmre recent RasPis.
Apnea Board Monitors are members who help oversee the smooth functioning of the Board. They are also members of the Advisory Committee which helps shape Apnea Board's rules & policies. Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients concerning their treatment.
Post Reply Post Reply
RE: [EzShare SDcard wifi] Script to autodownload
(11-03-2023, 05:31 AM)multicast Wrote: Is there a way to exclude older files or folders from the initial scanning?  For example, exclude all folders containing "202308*"?


Anyone?
Post Reply Post Reply
RE: [EzShare SDcard wifi] Script to autodownload
Might be of interest here ...

I knocked out a Windows Powershell script that works for me and my Airsense 11.  It might also work for others.
I do have the White ez Share SD card that has directory listing capability (via HTTP). I don't have any other WiFi SD Cards.

If you want to check it out, I've created a project on github.  You'll need to search on dwbrott/ezfetch to find it as I'm too new to this site to post links.

Your mileage may vary.  The script works on Windows 11 and doesn't require anything extra beyond the use of Powershell.

I basically do this when I want to transfer files:
  • Connect to the WiFi card manually
  • Run the script in the correct folder
  • Upload data to your favorite service
So, there are some manual steps - what it does take away is having to remove the SD Card and using my computer for the upload.  It's much easier (for me) to sit at my computer and go through these minimal steps as I remember to do so.  I'm going to be looking at the data on the analytics site anyway so I just find it OK for some of these steps to be manual.
Post Reply Post Reply
RE: [EzShare SDcard wifi] Script to autodownload
Hi dwbrott!  -  Welcome
Nicely done!  After a (very) quick review of your code, I have a question.  On line 143 you specifically list the 3 files, does this not work using a wild card (Identification.*, STR.*)?  The reason I ask is that prior to the AS11, the Resmed CPAPs did not use a ".json" file.

For the benefit of someone wishing to download this file:  https://github.com/dwbrott/ezfetch/tree/main

- 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
RE: [EzShare SDcard wifi] Script to autodownload
Yeah, I have the AS11 and this is what I saw on the SD Card. Smile

Is there a document with the various file directory structures for the different models? I could make it more inclusive.
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 18 763 10-29-2024, 09:53 PM
Last Post: adrianfeeger
  WiFi SD Card for AirSense and OSCAR Stillglade 3 1,693 09-03-2024, 05:15 PM
Last Post: dwd1249
  Wifi to Oscar KimLB 1 500 07-01-2024, 06:30 PM
Last Post: Crimson Nape
  Created a program to support Wifi SD card for Resmed and all other devices narual 15 4,182 05-03-2024, 11:09 PM
Last Post: narual
  [split] FYSETC SD Wifi - Possible FlashAir Replacement Psikic 131 26,103 01-12-2024, 11:59 AM
Last Post: scowell
  Request Copy of Resmed Airsense 10 SDCard core files gedm 6 926 12-14-2023, 07:04 PM
Last Post: gedm
  FlashPAP - FlashAir WiFi SD card utility TiredToo 296 103,238 10-05-2023, 06:54 AM
Last Post: olddog27


New Posts   Today's Posts


About Apnea Board

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