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

Time stamp out by 8 hours, ResMed AS11 and Linux
#1
Time stamp out by 8 hours, ResMed AS11 and Linux
Context
Oscar 1.4 on a Fedora 37 (Linux system)
Install source for Oscar: johanh/oscar on Fedora copr
CPAP Machine: ResMed AS11
Data source: SD Card

Analysis
I entered the clinical settings on the AS11 and checked the time, GMT-8.
The commands 'date' and 'timedatectl' verify that the local time is correct, the date is correct, the timezone is correct, and the GMT offset is correct.
The time and date displayed in the taskbar are correct.
Oscar's Local Settings in the User Profile show the time zone as GMT-8 Pacific Time USA/Canada.


Problem
Uploads from my SDcard to Oscar work correctly, but the charts have time stamps that are always 8 hours too soon. For example, last night, I began my therapy at 9:00 p.m., or 21:00 hours. Oscar shows that recording begins at 13:00 hours.

Data Verification indicating issue is with Oscar
If I upload the same data to sleepHQ, the timestamps are correct.

Question
Are there any Linux or ResMed or Oscar gurus that could provide some insight or suggestions?

Attachment
One picture from last night showing the beginning of the Flow Rate...


Attached Files Thumbnail(s)
   
Post Reply Post Reply
#2
RE: Time stamp out by 8 hours, ResMed AS11 and Linux
mgdapnea, Welcome to Apnea Board!

Do you happen to have the "CPAP clock drift" set in OSCAR preferences?

Open your profile, then Preferences > CPAP
The clock drift should be all zero's.
Jeff8356

MacBook Air (2017, Intel) | macOS Monterey (12.7) | OSCAR v1.5.1 | VM = Win10/Win11 |
How to Links:
Installing OSCAR on a Mac
Organizing your OSCAR charts
Attaching screenshots and files for the forum
OSCAR Help
OSCAR - The Guide

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
#3
RE: Time stamp out by 8 hours, ResMed AS11 and Linux
Yes, they are all zeros...thanks for responding.
Post Reply Post Reply
#4
RE: Time stamp out by 8 hours, ResMed AS11 and Linux
Has this always been the case with OSCAR on your Linux box? I know that a Linux system sets the PC's clock to GMT and performs the time offset separately. A Windows system sets the PC clock to the current time based on the declared timezone. I have no idea what a Mac does. This past week, there were several tzdata updates issued by the Linux foundation. Have you checked for updates?

- Red
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
#5
RE: Time stamp out by 8 hours, ResMed AS11 and Linux
I don't think it is a Linux issue. Yesterday, I just upgraded my system from Fedora 36 to Fedora 37. I installed Oscar subsequent to the upgrade. So, all time settings/packages will be current.

Here is the output of several time commands. Everything seems in order...
[~]$ timedatectl
               Local time: Sun 2022-11-20 09:28:53 PST
           Universal time: Sun 2022-11-20 17:28:53 UTC
                 RTC time: Sun 2022-11-20 17:28:53
                Time zone: America/Vancouver (PST, -0800)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no
[~]$ date --utc
Sun Nov 20 05:28:59 PM UTC 2022
[~]$ date
Sun Nov 20 09:29:03 AM PST 2022

The tzdata package is described as: This package contains data files with rules for various timezones around the world. But, as you see from the output of the commands, there is no problem with my timezone, nor with the GMT offset.

Murray
Post Reply Post Reply
#6
RE: Time stamp out by 8 hours, ResMed AS11 and Linux
H-m-m-m-m.  Since I don't have an AS11 for a fair comparison, I just imported the same AC10 data on both a Windows and a Linux box to different profile names on each one.   All the timestamps matched.  This just leaves the AS11 as the variable.  The only other thing I can think of at this point, it to run a checksum on the OSCAR install file that you used.  I don't anticipate anything, but I've seen odd things happen from a corrupted download before.  

If you need a comparison value, please advise which flavor of the Linux OSCAR you are using.  Providing the wrong version's value is believed to have caused heart attacks in the past. Big Grin

- Red

EDIT:  I just went back and read your initial post, which answers my last section of my post.   I don't have any Linux boxes using a RHEL flavor of Linux.  All mine are Ubuntu/Debian based.  Sorry!  Confused:
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
#7
RE: Time stamp out by 8 hours, ResMed AS11 and Linux
On the SD card there is a folder called Settings, with a file named CurrentSettings.json. It is a single line, which is annoying. You can prettyprint it with python3 -m json.tool CurrentSettings.json

Then look for "TimeZoneFeature" and see if the offset reported there is the same as that displayeed in the Clinician's menu.
(There have been some reports where they have not matched.

My Linux box is Debian, and it seems to work correctly with the contributed AS 11 files that I have looked at.
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
#8
RE: Time stamp out by 8 hours, ResMed AS11 and Linux
Thank you,

That was a quite helpful suggestion as I had not looked at the settings files on the SD Card.

Here is the snippet for time zone...

"TimeZoneFeature": {
                    "TimeZoneOffset": "-08:00"


So, unfortunately, that appears OK.
Post Reply Post Reply
#9
RE: Time stamp out by 8 hours, ResMed AS11 and Linux
I made a small step to resolving this issue. Initially, I did a manual file copy from the SD card into Oscar's data folder. I decided to purge all my data, not my profile, and import the data correctly using Oscar's 'File/Import CPAP Data Card' menu. I saw that the data gets massaged a bit and placed into my profile directory. Unfortunately, the time stamp is still off by 8 hours. I guess I may end up blowing away my profile and starting again.
Post Reply Post Reply
#10
RE: Time stamp out by 8 hours, ResMed AS11 and Linux
I'd like to look more closely at your SD card data. Please use OSCAR's Help->Troubleshooting->Create zip of CPAP data card

Please include your forum name in the zip file name, and upload it to https://www.dropbox.com/request/REp6AH7LCGyeOcXfOokH

Thanks
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
  Display average AHI over time period ? Bernard Flapdoodle 1 106 04-09-2024, 03:30 PM
Last Post: LoudSnorer
  How and where to adjust local time. douglaskeene 3 271 03-30-2024, 01:27 PM
Last Post: douglaskeene
  Newbie Q on using OSCAR for first time Tman1966 1 147 03-28-2024, 05:30 PM
Last Post: Crimson Nape
  Is there a solution to read out the newer versions of the Contect CMS50F under Linux? Mast04 10 1,017 03-25-2024, 08:46 PM
Last Post: Pierelly
Sad Instructions do NOT address hours used issue Plmnb 15 552 03-19-2024, 10:55 PM
Last Post: Plmnb
  OSCAR v1.5.2 - Linux Versions Crimson Nape 3 281 03-17-2024, 02:35 PM
Last Post: Crimson Nape
  Time listed: Wrong end time? How to fix? Plmnb 5 276 03-08-2024, 08:57 AM
Last Post: Crimson Nape


New Posts   Today's Posts


About Apnea Board

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