help with Sleepyhead

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
User avatar
ephraimh
Posts: 114
Joined: Thu Jan 03, 2008 9:59 pm
Location: Seattle

help with Sleepyhead

Post by ephraimh » Tue Jan 09, 2018 10:16 pm

I lost my SD card but have all the data through the 6th in my Sleepyhead folder. Is there a way that I can export the data to a new SD card either directly or indirectly. thanks

_________________
Machine: AirCurve™ 10 VAuto BiLevel Machine with HumidAir™ Heated Humidifier
Additional Comments: min EPAP 10, max EPAP 14, PS min 6, PS max 12, ramp off
Satan ~~ Spawn of Apria Can't type well ith this stupid macular degeneration.

User avatar
palerider
Posts: 32300
Joined: Wed Dec 16, 2009 5:43 pm
Location: Dallas(ish).

Re: help with Sleepyhead

Post by palerider » Tue Jan 09, 2018 11:24 pm

ephraimh wrote:I lost my SD card but have all the data through the 6th in my Sleepyhead folder. Is there a way that I can export the data to a new SD card either directly or indirectly. thanks
No. SH keeps a subset of the data that's on the card, not an identical copy.

_________________
Mask: Bleep DreamPort CPAP Mask Solution
Additional Comments: S9 VPAP Auto
Get OSCAR

Accounts to put on the foe list: dataq1, clownbell, gearchange, lynninnj, mper!?, DreamDiver, Geer1, almostadoctor, sleepgeek, ajack, stom, mogy, D.H., They often post misleading, timewasting stuff.

SnoringInOregon
Posts: 60
Joined: Sun Nov 26, 2017 6:47 pm
Location: Oregon

Re: help with Sleepyhead

Post by SnoringInOregon » Wed Jan 10, 2018 4:22 am

ephraimh wrote:I lost my SD card but have all the data through the 6th in my Sleepyhead folder. Is there a way that I can export the data to a new SD card either directly or indirectly. thanks
Why would you want to write old data onto a new SD card?

The CPAP machine won't use it. SleepyHead already has a copy. So ... ??? The only reason I can think of is to pass the old data to a copy of SleepyHead on a different computer?

Just buy a new SD card and use it in the CPAP machine. Every day, simply continue sucking this new data into SleepyHead. It will combine new and old.

Even if you could write old data to the SD card, it would be tricky to get the CPAP machine to accept the re-written card. That's what happened to me. The details:

I use the terminal line "ditto" command every day to copy raw SD card contents to my Mac. I then point SleepyHead at the newly copied data on my Mac. I never read directly from the SD card to SleepyHead. This method allows me to retain a copy of the SD data even if what's already in SleepyHead somehow becomes corrupted.

But I've never had problems with the data already in SleepyHead. Instead, one day I had my SD card become corrupt.

I tried to "ditto" back old files from my computer copy to the SD card to "fix" it. I tried to change the file timestamps on the SD card. I tried a few other experiments. None worked. There is metadata, such as directory timestamps, on the SD card. The CPAP machine probably looks at that metadata before accepting the contents of the SD card. When it's not as expected, the machine throws an error message that I no longer remember exactly (I did post this a few months ago to either here or apneaboard, so the info is out there, but it's not that important).

I finally reformatted my SD card and popped it back into the CPAP machine. The machine accepted the erased card. For the last few months, the CPAP machine has been writing new data to the formerly corrupt SD card.

But as far as SleepyHead is concerned, nothing bad has happened. SleepyHead cheerfully accepts new data from the SD card every day, and combines it with its existing old data. My SleepyHead breath-by-breath data has remained fully intact.