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.
Login or Create an Account
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?
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
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.
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.
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!
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.
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.
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)