SleepU / Viatom / Wellue Data File Name Change - Printable Version +- Apnea Board Forum - CPAP | Sleep Apnea (https://www.apneaboard.com/forums) +-- Forum: Public Area (https://www.apneaboard.com/forums/Forum-Public-Area) +--- Forum: Software Support Forum (https://www.apneaboard.com/forums/Forum-Software-Support-Forum) +--- Thread: SleepU / Viatom / Wellue Data File Name Change (/Thread-SleepU-Viatom-Wellue-Data-File-Name-Change) |
SleepU / Viatom / Wellue Data File Name Change - spacewrench - 08-11-2021 My phone just updated the SleepU app, and it's storing the data files under a new name. The old name used to be just digits: "YYMMDDHHMMSS". Now it's "SleepU_YYMMDDHHMMSS". It would be helpful to change the default filename pattern in the data-load portion of OSCAR. RE: SleepU / Viatom / Wellue Data File Name Change - Crimson Nape - 08-11-2021 What type of phone and ViHealth version are you using, iPhone or Android? Since this is the first I've heard of this, a current workaround will be to rename it, deleting the "SleepU_" prefix. The latest Android ViHealth app for my phone v2.65 dropped the file creation all together and only stored the information in the database. - Red RE: SleepU / Viatom / Wellue Data File Name Change - spacewrench - 08-11-2021 I'm using an app called ViHealth v.2.69.0 on an older Android phone. I've found that you have to look at the data for a particular day in the ViHealth app before it creates the file...my daily routine is to load the SleepU data into the phone, view the day, check battery level, and then download the most recent data file to my Mac, where OSCAR can load it. It works fine to rename the file, but it'd be more convenient if I didn't have to do that. Thanks! RE: SleepU / Viatom / Wellue Data File Name Change - Crimson Nape - 08-12-2021 OK, that explains it. Version 2.63 was the last to have the standard file creation name. In version 2.65 they did away with all file creations and relied on the database only. I guess people like me complained enough that they returned with the 2.69 version, albeit with the suffix. I have the download link they sent me for version 2.63, if you want it. Also, because of this problem, I found that you can go into the Play Store listing for each app and selectively turn off its automatic version update. As far as I can tell, the only difference between the 3 versions, is how they handle file creation names, or not. If you want to use version 2.63, first turn off the automatic updates for this app, then delete the current version on you android. Next, download the ViHealth APK from my dropbox to your phone, Download Link Here. After it is downloaded, go into your Download directory. My Android has a "MyFiles" app for this purpose. Double-tap the ViHealth APK to start the installation process. That should be it. RE: SleepU / Viatom / Wellue Data File Name Change - Crimson Nape - 08-12-2021 I just found a site that has different versions for download. Here is the link: https://www.apkmonk.com/app/com.viatom.vihealth/#previous and another site: https://m.apkpure.com/vihealth/com.viatom.vihealth/versions The odd number versions seem to be for North American distribution, and the even numbers are for the European market. RE: SleepU / Viatom / Wellue Data File Name Change - awaitz - 08-22-2021 FWIW. I have the viatom O2 Max and am using the ViHealth 2.70.0 app on my Android phone. The data files are in the format O2M_date. When I rename the data files to remove the prefix OSCAR crashes. Happy to provide sample files. Also, there is a 14MB sqlite database file: sqlite3 PlusebitO2.db .tables android_metadata o2device sleepData The data-files are smaller than the database so quite possible the database has a redundant copy of everything. Am continuing to explore. RE: SleepU / Viatom / Wellue Data File Name Change - Crimson Nape - 08-22-2021 The filename must be the 14-digit number portion of the filename. It represents the year (4-digits), month (2-digits), day (2-digits), hour (2-digits), minute (2-digits), and seconds (2-digits). No other filename will work. The PlusebitO2.db stores all the data. sergio has provided a file extraction script for anyone to use. Code: for filename in `sqlite3 ./PlusebitO2.db 'select mFileName from sleepData'`; do echo $filename; (sqlite3 PlusebitO2.db "select quote(dataBuf) from sleepData where mFileName = '$filename'" | cut -d\' -f2 | xxd -r -p > $filename); done RE: SleepU / Viatom / Wellue Data File Name Change - awaitz - 08-22-2021 Thanks. And sorry to bother you! Script works great. Although since I haven't used OSCAR before I don't seem able to load / visualize any data. When I try Data / Import Viatom Data I get the message "Already up to date .." RE: SleepU / Viatom / Wellue Data File Name Change - Crimson Nape - 08-22-2021 Purge the oximetry data for that day. Data > Advanced > Purge Oximetry Data > Current Day RE: SleepU / Viatom / Wellue Data File Name Change - awaitz - 08-22-2021 The menu option says "Current Days" not "Current Day" and selecting it gives this error: "Select the day with valid oximetry data in daily view first." There is no way to select anything in daily view since that is grayed out. |