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
#61
RE: [EzShare SDcard wifi] Script to autodownload
@biorn, thanks for this script. It worked great on Debian 9!

I have on my list a port to macOS, but at first glance there appear to be some differences in the way sed is implemented, so this might be a more substantial project than I anticipated.

In the meantime, I'll put an old RPi on the job to collect the files periodically. How have you implemented a crontab in your installation? Is there a risk of downloading a partial file that would be skipped on a subsequent crontab run?
Post Reply Post Reply






Donate to Apnea Board  
#62
RE: [EzShare SDcard wifi] Script to autodownload
(08-08-2021, 06:27 AM)bollar Wrote: @biorn, thanks for this script. It worked great on Debian 9!

I have on my list a port to macOS, but at first glance there appear to be some differences in the way sed is implemented, so this might be a more substantial project than I anticipated.

In the meantime, I'll put an old RPi on the job to collect the files periodically. How have you implemented a crontab in your installation? Is there a risk of downloading a partial file that would be skipped on a subsequent crontab run?

Hello,

Yes I run in through a cronjob. And no there is no risk, I've implemented something to check if the date and size is the same. if not that update the file. Wink
Post Reply Post Reply
#63
RE: [EzShare SDcard wifi] Script to autodownload
I've read through this thread a couple of times and I am a bit confused on what method the script uses to connect to the SD Card. Does the EzShare SD card connect to your home network in "station" mode or are you having your sever connect to the SD card WiFi network before pulling the files?
Post Reply Post Reply
#64
RE: [EzShare SDcard wifi] Script to autodownload
(08-18-2021, 02:55 PM)y2kdread Wrote: I've read through this thread a couple of times and I am a bit confused on what method the script uses to connect to the SD Card. Does the EzShare SD card connect to your home network in "station" mode or are you having your sever connect to the SD card WiFi network before pulling the files?

The machine you run the script on has to connect to the WiFi network created by this card. 

For what it's worth, I deployed an old raspberry pi -- it uses wifi to connect to the SD card network and wired ethernet to connect to the rest of the network. I have a cron job on the Rpi that runs this script once a day to get the new files and it uses rsync to get the files onto the OSCAR machine.
Post Reply Post Reply






Donate to Apnea Board  
#65
RE: [EzShare SDcard wifi] Script to autodownload
(09-01-2021, 10:03 AM)bollar Wrote: The machine you run the script on has to connect to the WiFi network created by this card. 

For what it's worth, I deployed an old raspberry pi -- it uses wifi to connect to the SD card network and wired ethernet to connect to the rest of the network. I have a cron job on the Rpi that runs this script once a day to get the new files and it uses rsync to get the files onto the OSCAR machine.

I ended up doing this, but used create a fileshare that I mounted on my windows machine. So far it works great and is much cheaper then buying one of the supported FlashAir cards!
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  [split] FYSETC SD Wifi - Possible FlashAir Replacement Psikic 91 3,607 09-01-2021, 06:10 PM
Last Post: dpackham
  64Gb FlashAir WiFi Setup Problems [Guy] GuyScharf 18 1,230 07-11-2021, 05:41 PM
Last Post: Crimson Nape
Cool Recommendation: FlashAir and Flashpap - Wifi data transfer from CPAP to PC/Sleepyhead mogulman 54 8,796 05-26-2021, 01:18 PM
Last Post: AlanE
  [split] 64Gb FlashAir WiFi Setup Problems (todivefor) todivefor 101 3,474 01-23-2021, 12:56 PM
Last Post: Crimson Nape
  OSCAR & WiFi Toob 8 746 12-30-2020, 07:59 AM
Last Post: A KLERK
  Dreamstation DSX500 sdcard not visible in Oscar [solved, see post #6] Ryne 5 370 09-02-2020, 04:41 AM
Last Post: Ryne
  FlashPAP - FlashAir WiFi SD card utility TiredToo 292 75,226 06-12-2020, 11:47 AM
Last Post: Crimson Nape


New Posts   Today's Posts






About Apnea Board

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