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
Yes, and it’s working great.

Since I wrote my previous post, I’ve been working on automating the script.

The Mac version posted earlier connects automatically to the card’s wifi, gets the files and reconnects to your normal network. I made a Mac shortcut to run the script with a single click, so now the only missing step is uploading the files to SleepHQ, which needs to be done manually. Does anyone know of a solution?
Post Reply Post Reply
RE: [EzShare SDcard wifi] Script to autodownload
Which card and where did you buy it?
Post Reply Post Reply
RE: [EzShare SDcard wifi] Script to autodownload
It’s the white and orange ezShare, purchased from a member of the CPAP Reviews Facebook groups.


Attached Files Thumbnail(s)
   
Post Reply Post Reply
RE: [EzShare SDcard wifi] Script to autodownload
Has anyone solved the 0 File(s) scanned in 0 Folder(s) result?

I am preparing for my wifi SD Card to arrive and have taken these steps:

1-Downloaded the script zip files and extracted them on a windows machine
2-moved the .sh file to my Linux machine (rpi) through SFTP
3-edit the .sh file through nano to change the mainDir and because I am testing, I changed the mainUrl to the ip of the machine and the remoteDir to the dir of test data I wish to move to the mainDir.
4-save the changes
5-run the .sh file and get the results:
Scan of dir={dir of data I wish to copy}
0 File(s) scanned in 0 Folder(s)
Completed in 0 seconds

I am not changing anything below the "Don't touch the rest" instruction in the file

Thanks!
Kenny
Post Reply Post Reply
RE: [EzShare SDcard wifi] Script to autodownload
Did you change the default IP of the EZ-share card? If you did, then that is your problem. These cards only allow for the 3rd octet to be changed. After playing with this option, I can guarantee that strange things can happen. None of them are good.

- 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
Not of the WiFI SD card itself, just changed the IP in the script.
I don’t yet have the SD card (arrives in a little more than a week). I was trying to “test” the script just to see results so I fed some test data into a location, changed the ip in the script to look there and write to my desired location. The script runs but returns the 0 files in 0 folders. 

If it is a matter of changing the IP address in the script then I can wait until the card arrives and (fingers crossed) it will work!
Post Reply Post Reply
RE: [EzShare SDcard wifi] Script to autodownload
Even though variables are provided, only change the, mainDir="/home/biorn/AirSense10-Data/", if you want it to work.

- 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
Thank you! Will do. I am pretty excited to get this to work. It has been fun learning a few things in the process.
Post Reply Post Reply
RE: [EzShare SDcard wifi] Script to autodownload
Got the WiFi SD Card in today and the script works like a champ! Now to put the script to run in a crontab! Thankful for this group and what I have (and will continue to) learned about this and sleep improvement overall.
Post Reply Post Reply
RE: [EzShare SDcard wifi] Script to autodownload
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.
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 24 919 11-07-2024, 11:18 PM
Last Post: walshy1009
  WiFi SD Card for AirSense and OSCAR Stillglade 3 1,735 09-03-2024, 05:15 PM
Last Post: dwd1249
  Wifi to Oscar KimLB 1 515 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,301 05-03-2024, 11:09 PM
Last Post: narual
  [split] FYSETC SD Wifi - Possible FlashAir Replacement Psikic 131 26,402 01-12-2024, 11:59 AM
Last Post: scowell
  Request Copy of Resmed Airsense 10 SDCard core files gedm 6 944 12-14-2023, 07:04 PM
Last Post: gedm
  FlashPAP - FlashAir WiFi SD card utility TiredToo 296 103,581 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.