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

A simple fix for OSCAR and Daylight Saving time
A simple fix for OSCAR and Daylight Saving time
I'm new to CPAP (2 months).  Back in February I was using my Resmed 10 to do some at-home titration studies, where I wore a pulse oximeter and also verified my sleeping position using a motion-activated camera. I was doing this because I was diagnosed using an at-home test that was just a glorified pulse oximeter, and then sent an APAP set to factory defaults. Also, my Resmed 10 has no modem, so the only way data ever gets off of it is through the SD card, and the only way the time is ever set is through me manually syncing it with my phone. Easy enough, though the internal clock on my Resmed 10 seems to drift by about 3 seconds per day, which is actually quite a lot.

I took notes on what I observed in my DIY sleep studies (I used the 45 minute ramp to study a span of pressures in one night), and I time-marked those in my notes.

Now in March, if I go back and look at my notes and at that data in OSCAR, the time displayed on the screen has shifted by an hour. This looks like OSCAR is seeing the timestamps, and knowing that now things are off by an hour from that, and so applying that fix retroactively to the past data. It should not be doing that.

Edit to add: the time shown on the waveform plots is updated incorrectly. The time shown at the center of the screen at the bottom, corresponding to the cursor position, is correct. So this looks like it is an actual bug, or at least a discrepancy between two different bits of the code handling time in two different ways. End edit.

Is there a setting that I'm not seeing that would just turn off OSCAR caring about Daylight Saving Time altogether? Because I just set the clock on my Resmed manually the morning after the time change, the same way I did for the clock on my oven.

If the setting actually isn't there, I think I may download the source code and build my own fork that is less DST-aware. I've got another fix I want OSCAR to have, regarding zooming out using the right click. It's really  simple, and I'm surprised it isn't already in there- when you right click to zoom out on the right side of a waveform graph, you zoom out toward the left, which is backwards. This seems like it should be a simple fix, unless these waveform plots are using some other plotting library, which is entirely possible.

Maybe one of these two fixes would be appreciated by others.

Post Reply Post Reply

Donate to Apnea Board  
RE: A simple fix for OSCAR and Daylight Saving time
The OSCAR team would be very interested in looking at the fixes you propose. There is a link to the Gitlab repo at the bottom of the OSCAR download page, which is linked in the OSCAR menu item in the black bar at the top of the page here.
Apnea Board Monitors are members who help oversee the smooth functioning of the Board. They are also members of the Advisory Committee which helps shape Apnea Board's rules & policies. Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients concerning their treatment.
Post Reply Post Reply

Possibly Related Threads...
Thread Author Replies Views Last Post
  SpO2 Time Correction for Just a Few Days jdavidstark 2 71 03-27-2023, 04:11 PM
Last Post: jdavidstark
  Total time in Apnea 0rangebear 4 1,791 03-07-2023, 05:16 PM
Last Post: Crimson Nape
  CPAP clock drift enhancement for OSCAR (multiple time-dependent corrections) tungpust 13 1,441 02-27-2023, 01:22 AM
Last Post: PjotterHasApn
  CPAP Time Drift drmaestro 5 834 02-27-2023, 01:12 AM
Last Post: PjotterHasApn
  OSCAR Suggestion: time slider at bottom of Overview tab JimInPT 0 130 01-02-2023, 11:31 AM
Last Post: JimInPT
  Adjusting/changing time in OSCAR Files Neo2020 6 605 11-28-2022, 08:44 PM
Last Post: pitdroidtech
  Time Scale Sleepy Steven 2 280 10-20-2022, 06:15 PM
Last Post: Sleepy Steven

New Posts   Today's Posts

About Apnea Board

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