OSCAR API - 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: OSCAR API (/Thread-OSCAR-API) |
OSCAR API - gio.stefani - 03-26-2024 Looking for a way to automate the process of downloading my data from my ResMed AirSense 11 and uploading it into the OSCAR app. I run OSCAR on both Windows and Mac platform and have already automated the process of getting the data from my EZ Share WiFi SD card to my Raspberry Pi 5 device. I can easily create a script using SCP to copy the folder structure to either my PC or Mac workstation. Now just need a way to automate the CPAP importer using an API call. Hoping someone can lead me in the right direction. I can use any variety of programming languages (Python, Bash or PowerShell). RE: OSCAR API - Crimson Nape - 03-26-2024 Hi gio.stefani! - You could either map your Raspberry's data file location to your local PC and then point OSCAR to this drive for importing the data. Or do a rsync from the Raspberry to either or both to a dedicated directory on Mac and Windows PC. Then point OSCAR to this directory for the import phase. For my setup, I use a Linux NAS with a crontab set to run each day with a rsync command to import the CPAP data to a dedicated directory. All versions of OSCAR I use, are pointed to the NAS directory. - Red RE: OSCAR API - lg2010 - 04-04-2024 Hello: I read your post and wonder if you could help me - 1. Where can I buy the SD card that allows me to transfer to another computer using WiFi 2. What model of Raspberry Pi are you using I am very interested in pursuing this further and perhaps you can DM me here?? Thanks Lou |