Currently, these instructions are for those that are relatively tech savvy. Time pending, I may clean this up to simplify install.
- Install openaps so you can interact with your Dexcom
- Install jq to parse the json from the device
brew install jq
- Install BitBar so you can pipe data from the script to a menu item
brew cask install bitbar
- Clone the git repo
git clone git@github.com:DanGodfrey/dexcom-osx-menu-item.git
- Modify the env config section of the script as needed for your setup
- Launch BitBar
- If you have not set a Plugin Folder, it will ask you to provide one. Point it at the bin directory of the git repo
- If you are not prompted, open BitBar's preferences and do the same.
- If you want to use the American units of mg/dL, replace
$proper_glucose
with$american_glucose
at the end of the script