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

Thoughts?
Post Reply Post Reply
#2
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
  Wellue data off since daylight savings change brainfoggysleeper 1 35 04-16-2024, 07:51 AM
Last Post: Crimson Nape
  Display average AHI over time period ? Bernard Flapdoodle 1 82 04-09-2024, 03:30 PM
Last Post: LoudSnorer
  OSCAR import of Viatom/Wellue data - DST time base SleeperAwake21 5 925 03-30-2024, 02:21 PM
Last Post: dfunk
  How and where to adjust local time. douglaskeene 3 240 03-30-2024, 01:27 PM
Last Post: douglaskeene
  Newbie Q on using OSCAR for first time Tman1966 1 130 03-28-2024, 05:30 PM
Last Post: Crimson Nape
  Time listed: Wrong end time? How to fix? Plmnb 5 255 03-08-2024, 08:57 AM
Last Post: Crimson Nape
  Total Time In Apnea is missing ElUno 3 385 02-26-2024, 09:23 AM
Last Post: LoudSnorer


New Posts   Today's Posts


About Apnea Board

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