Post Reply 
Auto backup of SD card to Dropbox using FlashAir
Author Message
karmann Offline

Members

Posts: 4
Joined: Feb 2016

Machine: ResMed AirSense 10 Autoset
Mask Type: Nasal pillows
Mask Make & Model: ResMed AirFit P10
Humidifier: None
CPAP Pressure: 6 - 16
CPAP Software: Not using software

Other Comments:

Sex: Male
Location: Brisbane, Australia

Post: #1
Auto backup of SD card to Dropbox using FlashAir
I tried searching but couldn't find what I'm after exactly.

Just wondering if anyone has attempted to automatically backup their SD card to Dropbox or similar using a FlashAir WiFi capable SD card connecting directly to the internet in infrastructure mode or similar. This should be possible without having to manually instigate it from a PC each time like Flashpap does so well.

Would be great to be able to do this and then whenever you want to analyse info through PC software then the data is available without having to place your SD card in the PC or manually copy it.

Seems to be less of an issue now that I can see my AirSense 10 stores months or more of data rather than the 1 month I was led to believe initially, but would still be handy.
06-12-2016 08:43 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
eseedhouse Offline

Advisory Members

Posts: 879
Joined: Dec 2014

Machine: ResMed Airsense 10 Autoset
Mask Type: Full face mask
Mask Make & Model: SimPlus
Humidifier: ResMed
CPAP Pressure: 7-10
CPAP Software: SleepyHead

Other Comments: Also on supplemental O2 at 3L/min. while sleeping.

Sex: Male
Location: Victoria, British Columbia

Post: #2
RE: Auto backup of SD card to Dropbox using FlashAir
(06-12-2016 08:43 PM)karmann Wrote:  I tried searching but couldn't find what I'm after exactly.

Just wondering if anyone has attempted to automatically backup their SD card to Dropbox or similar using a FlashAir WiFi capable SD card connecting directly to the internet in infrastructure mode or similar. This should be possible without having to manually instigate it from a PC each time like Flashpap does so well.

I doubt you could fully automate it, there's not much smarts inside a small card for that, though it does have a web server. I just use flashpap and have it set to that it goes straight to my Dropbox.

I still back it up on several other hard drives anyway. Decades of IT help desk makes me very paranoid about backing stuff up. Good thing too, since I did manage to nuke the directory from my Dropbox once.

Ed Seedhouse
VA7SDH

I am neither a Doctor, nor any other kind of medical professional.

Actually you know, it is what it isn't.
06-12-2016 09:04 PM
Find all posts by this user Post Reply Quote this message in a reply
Crimson Nape Offline

Monitors

Posts: 1,327
Joined: Oct 2014

Machine: ResMed S9 Autoset
Mask Type: Other
Mask Make & Model: P-10 / F&P Simplus / DreamWear
Humidifier: H5i w/Climateline
CPAP Pressure: 8 - EPR 3
CPAP Software: SleepyHead

Other Comments: CMS-50F & 50IW

Sex: Male
Location: Georgia

Post: #3
RE: Auto backup of SD card to Dropbox using FlashAir
I realize that your question is directed at FlashPAP but I thought I'd throw this out here. I use Sleep Master in lieu of FlashPAP. It has an option to perform a scheduled download. If Dropbox (I don't use it) acts like Google Drive and provides a directory listing in Explorer, then you could setup your home computer to automatically download the data to it. Again that is assuming that you have a home computer that is always connected.

Statistics prove that people who have more birthdays live longer.
06-12-2016 09:18 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
karmann Offline

Members

Posts: 4
Joined: Feb 2016

Machine: ResMed AirSense 10 Autoset
Mask Type: Nasal pillows
Mask Make & Model: ResMed AirFit P10
Humidifier: None
CPAP Pressure: 6 - 16
CPAP Software: Not using software

Other Comments:

Sex: Male
Location: Brisbane, Australia

Post: #4
RE: Auto backup of SD card to Dropbox using FlashAir
(06-12-2016 09:04 PM)eseedhouse Wrote:  
(06-12-2016 08:43 PM)karmann Wrote:  I tried searching but couldn't find what I'm after exactly.

Just wondering if anyone has attempted to automatically backup their SD card to Dropbox or similar using a FlashAir WiFi capable SD card connecting directly to the internet in infrastructure mode or similar. This should be possible without having to manually instigate it from a PC each time like Flashpap does so well.

I doubt you could fully automate it, there's not much smarts inside a small card for that, though it does have a web server. I just use flashpap and have it set to that it goes straight to my Dropbox.

I still back it up on several other hard drives anyway. Decades of IT help desk makes me very paranoid about backing stuff up. Good thing too, since I did manage to nuke the directory from my Dropbox once.

Unfortunately I'm not able to posts links just yet but if you google 'flashair dropbox' you will find a page on the flashair developers website talking about LUA scripting which seems to allow you to write a script that runs on the Flashair SD card and perform functions such as copy files, etc. So it is surprisingly quite a powerful tiny device.

I am just as paranoid with backups and do similar Smile
06-12-2016 10:46 PM
Find all posts by this user Post Reply Quote this message in a reply
karmann Offline

Members

Posts: 4
Joined: Feb 2016

Machine: ResMed AirSense 10 Autoset
Mask Type: Nasal pillows
Mask Make & Model: ResMed AirFit P10
Humidifier: None
CPAP Pressure: 6 - 16
CPAP Software: Not using software

Other Comments:

Sex: Male
Location: Brisbane, Australia

Post: #5
RE: Auto backup of SD card to Dropbox using FlashAir
(06-12-2016 09:18 PM)Crimson Nape Wrote:  I realize that your question is directed at FlashPAP but I thought I'd throw this out here. I use Sleep Master in lieu of FlashPAP. It has an option to perform a scheduled download. If Dropbox (I don't use it) acts like Google Drive and provides a directory listing in Explorer, then you could setup your home computer to automatically download the data to it. Again that is assuming that you have a home computer that is always connected.

The method I'm looking to use is not using FlashPAP at all, mainly because I can go weeks without using my Windows PC sometimes so an automatic upload to dropbox without intervention seems quite appealing to me.
06-12-2016 10:49 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
AlanE Offline

Advisory Members

Posts: 1,491
Joined: Mar 2015

Machine: ResMed AirSense 10 Autoset
Mask Type: Nasal pillows
Mask Make & Model: P10 & Mirage Liberty backup
Humidifier: Built-in
CPAP Pressure: 10-14
CPAP Software: ResScan SleepyHead

Other Comments: ʕ•ᴥ•ʔ So Long, and Thanks for All the Fish

Sex: Male
Location: Southwest Florida

Post: #6
RE: Auto backup of SD card to Dropbox using FlashAir
If your computers remains on, you can initiate FlashPap through the task scheduler (Linux has cron). Even if you are not logged on. That's what I do with mine. You have to setup FlashPap one time to set the IP of your FlashAir and where to copy the data and after that, using parameters (arguments), it runs unattended.

Every morning at 9am it runs FlashPap with parameters user=Alan exit=yes. Copies my CPAP data to my local SD card. I could just as easily have it copy to my dropbox though.

user is the profile in Sleeyhead
exit tells FlashPap to exit after it transfers.

[Image: flashpap_scheduler.PNG]


There is no easy way to do it with LUA scripting because LUA on Flashair is limited due to the memory available to run scripts. Flashair doesn't support the complete LUA library. You can use LUA_SD_EVENT=/myscript.lua which triggers after every file write but I'm not sure it will trigger after an existing file is modified. As karmann wrote LUA can upload files to dropbox but it would attempt to upload every file every time and could become a painfully long process as you get more data on the card.

Hmm FlashPap on a Raspberry PI. Then you can just leave the PI on the rack and forget about it.



Using FlashAir W-03 SD card in machine. Access through wifi with FlashPAP or Sleep Master utilities.

I wanted to learn Binary so I enrolled in Binary 101. I seemed to have missed the first four courses. Big Grinnie
(This post was last modified: 06-13-2016 10:01 AM by AlanE.)
06-13-2016 09:59 AM
Find all posts by this user Post Reply Quote this message in a reply
karmann Offline

Members

Posts: 4
Joined: Feb 2016

Machine: ResMed AirSense 10 Autoset
Mask Type: Nasal pillows
Mask Make & Model: ResMed AirFit P10
Humidifier: None
CPAP Pressure: 6 - 16
CPAP Software: Not using software

Other Comments:

Sex: Male
Location: Brisbane, Australia

Post: #7
RE: Auto backup of SD card to Dropbox using FlashAir
Thanks for the detailed responses. As mentioned, I can go weeks or more without switching on my PC so that's why I was looking for a solution to go direct from FlashAir to the Dropbox cloud service. But I will take another look at Flashpap.
(This post was last modified: 06-13-2016 10:54 PM by karmann.)
06-13-2016 10:53 PM
Find all posts by this user Post Reply Quote this message in a reply

Donate to Apnea Board
eseedhouse Offline

Advisory Members

Posts: 879
Joined: Dec 2014

Machine: ResMed Airsense 10 Autoset
Mask Type: Full face mask
Mask Make & Model: SimPlus
Humidifier: ResMed
CPAP Pressure: 7-10
CPAP Software: SleepyHead

Other Comments: Also on supplemental O2 at 3L/min. while sleeping.

Sex: Male
Location: Victoria, British Columbia

Post: #8
RE: Auto backup of SD card to Dropbox using FlashAir
(06-13-2016 10:53 PM)karmann Wrote:  Thanks for the detailed responses. As mentioned, I can go weeks or more without switching on my PC so that's why I was looking for a solution to go direct from FlashAir to the Dropbox cloud service. But I will take another look at Flashpap.

Well the machine has the "smarts" to upload data to the cloud, because it does that every morning to Resmed's servers for MyAir. But it uses the cell phone system, not WIFI and does not connect to the internet which it would need to be connected to send to DropBox.

Ed Seedhouse
VA7SDH

I am neither a Doctor, nor any other kind of medical professional.

Actually you know, it is what it isn't.
06-14-2016 02:38 PM
Find all posts by this user Post Reply Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  FlashPAP - FlashAir WiFi SD card utility TiredToo 188 29,525 11-26-2016 11:27 AM
Last Post: Crimson Nape
  SleepyHead / Flashair problem seawolf 6 303 11-21-2016 03:34 PM
Last Post: AlanE
  Using FlashAir with a Macbook Mamabird 7 321 11-03-2016 06:36 PM
Last Post: Mamabird
  FlashPAP / Flashair - Connection Refused? IMSleeplessInSeattle 1 220 09-23-2016 07:20 PM
Last Post: AlanE
  FlashAir & SleepMaster: won't reconnect after power down or removal chill 5 363 09-11-2016 01:51 AM
Last Post: Jack_Russell_Fan
  FlashAir & W10 build 1607 troubles natyprueba 0 291 09-04-2016 11:31 AM
Last Post: natyprueba
  FlashAir 3 Wireless Timeout ronsch00 1 403 06-26-2016 06:21 PM
Last Post: DariaVader

Forum Jump:

Who's Online (Complete List)