If you use a Wellue/Viatom oximeter with OSCAR, you probably know the routine: sync the oximeter to ViHealth on your phone, export the binary file, email it or copy it out of a hidden Android folder, then import it in OSCAR. Some nights the app won't sync at all. The other route via O2 Insight Pro needs the USB cable...
I got tired of that with my Checkme O2 Max, so I worked out how it talks over Bluetooth and made a small open-source tool called o2sync. It downloads the recordings straight from the oximeter to your PC with one command, with no phone, app or cable involved.
Tested with OSCAR: I've imported nights downloaded by o2sync into OSCAR 2.1.1 on Windows 11 with the normal Data → Import Viatom Data menu, and they come in with full SpO2 and pulse charts, the same as files exported from ViHealth.
What it gets you
- The raw recording files, saved unchanged, exactly as OSCAR's Viatom import expects them (named like
20261203005507)
- Only new nights are downloaded each time; nothing is ever deleted from the oximeter
- The oximeter's clock gets corrected while it's connected
- Optional extras: CSV files and an HTML report with SpO2, pulse and motion charts (screenshot)
How to use it
You need Python 3 on a Windows or Linux PC with Bluetooth (Mac should work but I haven't tried it). Then:
pip install o2sync
- Press the button on the oximeter to wake it and keep it near the PC. Make sure it isn't recording and that ViHealth is closed on your phone.
- Run (use any folder you like; keep using the same one, because it skips files it already has):
o2sync sync --out C:\OSCAR\oximetry
- In OSCAR:
Data → Import Viatom Data, go to that folder and open the new file. The files have no extension, and OSCAR's file picker shows them anyway.
I've only tested it with my Checkme O2 Max. The O2Ring, Checkme O2, SleepU, WearO2 and the other Wellue/Viatom oximeters seem to use the same Bluetooth protocol and the tool will recognize them, but I can't confirm they work. If you have one and give it a try, please tell me how it went in the comments or on GitHub, even if it fails.
Code, documentation and the Bluetooth protocol insights: https://github.com/pedrorivera/o2sync