Commit Graph

230 Commits

Author SHA1 Message Date
Johan Degraeve 710932352b fix #80 - improvements nightscout settings
- a new row in the NightScout settings which allow to test the url and api key
- by default set url https://yoursitename.herokuapp.com
2020-04-09 23:53:37 +02:00
Johan Degraeve 34ff21a1da removed unused file Constants/ConstantsHomeChart.swift 2020-04-08 20:52:37 +02:00
Johan Degraeve a538e280f6 fix #81 Constant BG sent to NightScout when Libre-2 expires 2020-04-08 20:48:44 +02:00
Johan Degraeve 0cc70f2a2d Dexcom G4 with xdrip 2020-04-06 22:16:21 +02:00
Johan Degraeve 733f5d05ef reset function for G5 2020-04-06 22:12:17 +02:00
Johan Degraeve 3698775472 message shown when starting the scanning 2020-04-06 22:12:17 +02:00
Johan Degraeve 3e8d7839c5 bt redesign, DexcomG5 2020-04-06 21:57:29 +02:00
Paul Plant 7cb95b4142 Formatting corrections to commit f890014 + cosmetic changes to BG Chart 2020-04-06 21:50:37 +02:00
Paul Plant f3fd1bb326 Many UI changes. Theme, layout, styles, tabBar, icons. Also text corrections. 2020-04-06 21:50:37 +02:00
opsb 9363fb4a81 Add fast drop and fast rise alerts 2020-01-26 18:41:25 +01:00
Johan Degraeve 5bb63fd169 Option to write latest glucose value in Calendar event. This allows to make reading visible in Apple Watch.
Following instructions are copied from Spike :
On your Apple Watch or the Watch app in your iOS device select the
"Modular" watch face and make sure you also select the "Calendar Complication" to be present in the middle of the watch face
Your glucose values should now start syncing to your watch when you receive your next reading from your CGM transmitter.
If by any chance you're not getting readings in your Apple Watch, go to the Watch app and under "General", "Reset"
click the "Reset Sync Data" and wait a few minutes.
2020-01-24 21:13:34 +01:00
Johan Degraeve fe2b988b7c resolve merge conflicts 2020-01-19 21:24:16 +01:00
Johan Degraeve 2ec60c502f Watlaa connection, master mode (ie watlaa is master) - receives Libre packets and watlaa battery level
This is a test version

To setup Watlaa :
- go to settings tab, select transmitter type Watlaa
- go back to home screen
- click transmitter
- click start sensor and start the sensor
- then go to the bluetooth tab (the second tab)
- click the +
- select watlaa
- select watlaa master
- scan
- click 'done'

xdrip should now receive the libre packets, you should get a calibration request
2020-01-19 14:10:21 +01:00
Johan Degraeve 1429922bd5 Option to enable NSLog so that all tracing can be found with cfgutil
When enabled, all logging can be viewed on a Mac:
- install Apple Configurator 2 on a Mac (it's not necessary to run the application)
- Open a Terminal session (on Mac click Search button top right, type 'Terminal', double click on the Terminal app)
- change directory to Downloads folder , type :
cd Downloads
- copy paste this :
/Applications/Apple\ Configurator\ 2.app/Contents/MacOS/cfgutil syslog | grep xDrip-NSLog | awk -F "xDrip-NSLog " '{print $2}'  > xdriplog.txt
and press enter

Now use the app, all logging information can be found in the file xdriplog.txt
You can also leave out the redirection to file.
2020-01-18 00:02:58 +01:00
Johan Degraeve 14fe568e65 watlaa master connect working, receives packages 2020-01-09 18:09:11 +01:00
Johan Degraeve 4a95c2c50d connects to watlaa, discovers services and characteristics 2020-01-07 23:13:18 +01:00
Johan Degraeve a15db6c183 M5Stack and M5StickC settings : splitted in two sections, common and specific to M5Stack. Specific settings that only exist for M5Stack are not shown when viewing M5Stick 2019-12-29 00:02:55 +01:00
Johan Degraeve edc27ce6cf M5Stack : view battery level and option to switch off 2019-12-23 23:31:25 +01:00
Johan Degraeve d6fc94ca5d fixes for M5Stick 2019-12-21 21:11:04 +01:00
Johan Degraeve 4248d359e1 redesign M5Stack stuff, as preperation to move all bluetooth stuff to that page 2019-12-11 18:13:31 +01:00
Johan Degraeve dd105c08e6 glucose chart deceleration, timer from 20 ms to 30 ms, update chart, seems better 2019-11-27 13:54:49 +01:00
Johan Degraeve cd8850b2d2 renamed M5StackManaging to BluetoothPeripheralManaging and M5StackManager to BluetoothPeripheralManager 2019-11-26 21:47:58 +01:00
Johan Degraeve 1f697eb65b Glucose chart panning 2019-11-24 21:37:39 +01:00
Johan Degraeve 517e108448 M5Stack screen rotation and backgroundcolor 2019-11-07 22:34:40 +01:00
Johan Degraeve 81128ff7ee bluereader, not tested, battery level not supported 2019-11-01 14:07:15 +01:00
Johan Degraeve 2bbe99f8d8 small fix in log category name 2019-10-30 23:19:53 +01:00
Johan Degraeve cb1bdd7a12 readings on chart 2019-10-29 19:08:21 +01:00
Johan Degraeve 1317c54c26 clean up unused code 2019-10-27 20:46:32 +01:00
Johan Degraeve 95870fbdee moved layout related settings to constants 2019-10-27 18:33:16 +01:00
Johan Degraeve c5f9ad6165 temp commit calculation yaxis, will be using another approach in next commit 2019-10-27 14:12:59 +01:00
Johan Degraeve 3ac5da95bb chart horizontal axis label format set to 'H', moved it also to userdefaults, but not yet configurable 2019-10-26 21:55:35 +02:00
Johan Degraeve e22b8bcc1a switched startdate and enddate, enddate is always current date 2019-10-26 18:48:15 +02:00
Johan Degraeve 9fd842b75d compiles and shows chart but without content 2019-10-26 18:48:15 +02:00
Johan Degraeve 16ba940c05 follower mode, changed maximum age for reading, from 1 to 4 minutes, aligned with master mode 2019-10-19 11:58:52 +02:00
Johan Degraeve 8ae5b2479e M5Stack, wifi name and password being written successfully to M5stack 2019-10-17 00:32:29 +02:00
Johan Degraeve 79f6c981b3 sending textcolor update to M5Stack 2019-10-09 21:57:36 +02:00
Johan Degraeve a0f62239cb option to select textcolor per m5Stack 2019-10-06 22:11:50 +02:00
Johan Degraeve 5fc96ea44c reverted changes in coredata, need to create a new model version first 2019-10-06 18:08:17 +02:00
Johan Degraeve 3de5f40fc9 Revert "temp commit"
This reverts commit bc745a309d.
2019-10-06 17:57:27 +02:00
Johan Degraeve bc745a309d temp commit 2019-10-06 16:58:05 +02:00
Johan Degraeve 46bf878bfe Scanning for M5Stack transmitters, connect, disconnect, .. 2019-10-05 23:25:39 +02:00
Johan Degraeve 8ba5f328de M5Stack settings screens 2019-09-19 23:54:15 +02:00
Johan Degraeve b44be99f83 connects to M5 stack 2019-09-12 08:37:35 +02:00
Johan Degraeve 3f98a5c3dc Reworked for support oop web, however sitll not used because wrong values are being shown 2019-08-13 23:47:04 +02:00
Johan Degraeve 032425f733 Droplet-1 2019-08-02 23:03:27 +02:00
huyan_18040019 0c8b330d0e add bubble 2019-07-29 16:42:48 +08:00
Johan Degraeve 6490d8df25 Constants.swift splitted in different files 2019-07-28 14:22:47 +02:00
Johan Degraeve 40c12b25ea Blucon : up to pairing done 2019-07-14 15:37:50 +02:00
Johan Degraeve f1f9c0f01d G5 reset 2019-07-07 23:22:39 +02:00
Johan Degraeve bbdd6f138d Better handling for Dexcom G5 pairing 2019-07-05 23:26:25 +02:00
Johan Degraeve 597e33dd44 Dexcom share 2019-06-30 21:55:56 +02:00
Johan Degraeve 0544a64d58 when selecting alert sound, play it 2019-06-20 23:22:06 +02:00
Johan Degraeve b9207023b4 Speak readings finished 2019-06-18 22:37:59 +02:00
Johan Degraeve a997164740 Healthkit 2019-06-10 18:52:58 +02:00
Johan Degraeve 8eaa5eb129 follower mode 2019-06-05 23:05:04 +02:00
Johan Degraeve fabcb5d9cd release upgrade, just for submitting to Apple because they rejected version 2.0.5 2019-05-29 23:50:34 +02:00
Johan Degraeve aed5cf9118 temp commit 2019-05-29 13:49:43 +02:00
Johan Degraeve 10d916c384 attempt to fix G5 : start scanning during init of cgmtransmitter, and transmitter id to uppercase - also initial code for follower mode 2019-05-28 23:41:21 +02:00
Johan Degraeve d71b386e7f reorganizing files for clarity 2019-05-27 12:36:50 +02:00
Johan Degraeve aead1f50a9 Several pop ups added to avoid that calibration is done before active sensor and reading - also licenseInfo screen 2019-05-25 23:25:32 +02:00
Johan Degraeve d0b4bc89fa when app is open, update home screen every 15 seconds 2019-05-25 20:56:29 +02:00
Johan Degraeve a75c19cdce progress on homeview, calibration and bgreading notification, alerts and alert type settings screens 2019-05-17 23:09:47 +02:00
Johan Degraeve 1fafbf9ae4 Alert settings 2019-05-14 22:37:36 +02:00
Johan Degraeve ba8e978f11 some text renaming alarms to alerts 2019-04-30 21:58:40 +02:00
Johan Degraeve 6ea1e90946 Alerts implemented with default values but not fully tested, need to finish now the UI that allows changing alert parameters so they can be changed and better tested 2019-04-28 21:20:27 +02:00
Johan Degraeve 75459ad7ef temp commit, a few alerts, default values, and no snoozing yet 2019-04-23 17:24:05 +02:00
Johan Degraeve 574a9aebbe upload readings to Nightscout 2019-04-09 19:42:53 +02:00
Johan Degraeve d1df0d02e1 update coredata classes 2019-03-30 21:57:55 +01:00
Johan Degraeve 3383151a6a opening coredata manager in asynchronous mode 2019-03-26 11:56:57 +01:00
Johan Degraeve 4b1f357915 GNSEnry draft 2019-03-17 17:46:47 +01:00
Johan Degraeve da68361d9a settings first version 2019-03-09 14:38:36 +01:00
Johan Degraeve d5722c47f8 small changes 2019-02-08 21:05:17 +01:00
Johan Degraeve 21d608f17b dexcom G5 first tests working 2019-02-07 18:10:41 +01:00
Johan Degraeve 86f071a858 basic xdrip G4, calibrator fix .. 2019-01-28 21:59:23 +01:00
Johan Degraeve 85a0dc4ce4 temp commit 2019-01-26 15:25:43 +01:00
Johan Degraeve 7d27a76e33 reorganised calibration 2019-01-16 23:26:11 +01:00
Johan Degraeve 5820237888 update Constants 2019-01-13 14:35:49 +01:00
Johan Degraeve ab398f8f28 initial calibration works here 2019-01-12 23:30:16 +01:00
Johan Degraeve f60c7b1e4b progress 2018-12-31 10:32:40 +01:00
Johan Degraeve 5975eb1c21 setting up the core data manager as in cocoacasts.com 2018-12-26 10:37:50 +01:00