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

Auto backup of SD card to Dropbox using FlashAir
#1
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.

Post Reply Post Reply
#2
(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

The above is my opinion.  It is just possible that I may, occasionally, be mistaken.

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

Everything put together sooner or later falls apart.
Post Reply Post Reply
#3
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.

Post Reply Post Reply


#4
(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
Post Reply Post Reply
#5
(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.

Post Reply Post Reply
#6
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

Post Reply Post Reply


#7
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.

Post Reply Post Reply
#8
(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

The above is my opinion.  It is just possible that I may, occasionally, be mistaken.

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

Everything put together sooner or later falls apart.
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  FlashPAP - FlashAir WiFi SD card utility TiredToo 220 34,247 03-01-2017, 08:26 PM
Last Post: Beej
  SleepyHead / Flashair problem seawolf 6 468 11-21-2016, 03:34 PM
Last Post: AlanE
  Using FlashAir with a Macbook Mamabird 7 532 11-03-2016, 06:36 PM
Last Post: Mamabird
  FlashPAP / Flashair - Connection Refused? IMSleeplessInSeattle 1 339 09-23-2016, 07:20 PM
Last Post: AlanE
  FlashAir & SleepMaster: won't reconnect after power down or removal chill 5 510 09-11-2016, 01:51 AM
Last Post: Jack_Russell_Fan
  FlashAir & W10 build 1607 troubles natyprueba 0 420 09-04-2016, 11:31 AM
Last Post: natyprueba
  FlashAir 3 Wireless Timeout ronsch00 1 494 06-26-2016, 06:21 PM
Last Post: DariaVader

Forum Jump:

New Posts   Today's Posts




About Apnea Board

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

For any more information, please use our contact form.