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

Feature request -- Air11 time zone, have OSCAR do the right thing.
#1
Feature request -- Air11 time zone, have OSCAR do the right thing.
I'll start by saying that I am somewhat familiar with the outright religious wars in the the operating systems world over how to correctly treat time. This is something that even windows does correctly -- all time on computers is kept in GMT, and at the point that you ask for a time stamp the translation to localtime gets done according to the computer's time zone setting and all the right logic that is programmed into the operating system. On a modern computer you don't set the clock, the computer gets the time from an NTP server, you set the time zone, and then the computer uses the time and the time zone to calculate localtime.

With that as prologue, I'm thinking that ResMed has actually done time-keeping properly on the Air11. The system setting is the time zone, and it looks like part of the daily phone home has the cpap sync with an NTP server.

That means that it should be reasonably simple for OSCAR to take that information and run with it and deal with time well.

The Air11's time-zone value is right there in the settings, and OSCAR reads and stores settings.

The computer's time zone setting is readily available with a system call.

My feature suggestion is that OSCAR should take all of that readily-available information and convert all of times in an Air11 data feed into the computer's time zone.

In addition to making the average user's experience simple, I think that spoofing the time-zone setting properly would provide a rather elegant solution to the night-shift worker's problem, too.

Take this as an example: imagine that you live in GMT-7, and you sleep during the day (the GMT-7 day). If OSCAR could do the time-zone magic I'm requesting, then the right thing to do would be to set your Air11 to be in time zone GMT+5. Then suppose you went to sleep at 7am and slept until 3pm. Your Air11 would record that as 7pm to 3am and record it as a single night, with all of the dates correct. Then when OSCAR reads your data in, it looks in the Air11 settings and sees that the cpap thinks it lives in GMT+5, and it asks the computer and finds out that the computer thinks it's in GMT-7. So then OSCAR displays all of your graphs as running from 7am to 3pm.

We could call this the "Margaritaville Meridian" in honor of the Jimmy Buffett song, because it's always 5 o'clock somewhere!
Post Reply Post Reply
#2
RE: Feature request -- Air11 time zone, have OSCAR do the right thing.
It appears that you put some thought into this.  Kudos!  A fresh set of eyes and ideas are always helpful.  

I would like to point out that Mac and Linux store the computer's bios clock in UTC, Windows sets the bios clock to the current timezone's time.   The AS11 doesn't provide for those areas in the world that have a half-hour timezone offset.    

Since the Resmed stores the data for its day (noon to noon) in a folder, how do you address changing directories at noon?  How would you know which sleep sessions to split?   Resmed also writes its treatment settings for each day at the first sleep session for the day.  If you sleep through a day change, the current settings would be written for that day.  Now later in the day you start the next day's sleep data, having modified your settings, how do you address the modified settings wouldn't be displayed for another day.  

Using your example, how would the system know that you set it to the time offset and not because you were traveling across different timezones and didn't import the data until you returned?
Crimson Nape
Apnea Board Moderator
www.ApneaBoard.com
___________________________________
Useful Links -or- When All Else Fails:
The Guide to Understanding OSCAR
OSCAR Chart Organization
Attaching Images and Files on Apnea Board
Apnea Helpful Tips

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.
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  How and where to adjust local time. douglaskeene 2 85 03-23-2024, 04:07 PM
Last Post: SarcasticDave94
  Time listed: Wrong end time? How to fix? Plmnb 5 202 03-08-2024, 08:57 AM
Last Post: Crimson Nape
  Total Time In Apnea is missing ElUno 3 325 02-26-2024, 09:23 AM
Last Post: LoudSnorer
  OSCAR "scrubber bar" feature? jdavis 2 233 02-22-2024, 09:42 PM
Last Post: jdavis
  OSCAR- How to set time change to (Daylight Savings time) Reesche 5 754 01-03-2024, 04:44 PM
Last Post: Reesche
  Request Copy of Resmed Airsense 10 SDCard core files gedm 6 485 12-14-2023, 07:04 PM
Last Post: gedm
  Time adjust BlueSky1958 0 417 12-10-2023, 08:05 AM
Last Post: BlueSky1958


New Posts   Today's Posts


About Apnea Board

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