Commit Graph

223 Commits

Author SHA1 Message Date
Johan Degraeve 517e108448 M5Stack screen rotation and backgroundcolor 2019-11-07 22:34:40 +01:00
Johan Degraeve 470b830fa9 fix #34 - follower mode were not working if filtered and/or unfiltered are missing or 0 in nightscout 2019-10-30 23:55:09 +01:00
Johan Degraeve 2bbe99f8d8 small fix in log category name 2019-10-30 23:19:53 +01:00
Johan Degraeve 338083a570 minor comment 2019-10-30 17:38:02 +01:00
Johan Degraeve 4c1241b830 removed unused function 2019-10-29 21:58:22 +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 d1c28203a0 xaxisvalue correctly calculated, ending at endDate, starting at startDate 2019-10-27 00:01:13 +02: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 82aa163cc3 just a test version which allows to show three dots when clicking the snooze button 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 09349f6912 fix related to error message when authentication failed 2019-10-18 23:04:41 +02:00
Johan Degraeve ac4bee9342 M5stack, fix in uiviewcontrollers, if password reset required, then disconnect permenantly 2019-10-17 00:58:33 +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 7644a92587 M5Stack write nightscout url and token 2019-10-13 22:59:24 +02:00
Johan Degraeve 7bbeb045c3 M5Stack textcolor update now working immediately when changing in xdrip 2019-10-11 00:07:56 +02:00
Johan Degraeve 2059bb1876 temp commit, related to M5Stack settings 2019-10-10 18:07:19 +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 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 705fa98b8b all usage of os_log replaced by trace 2019-08-01 23:40:57 +02:00
Johan Degraeve 6490d8df25 Constants.swift splitted in different files 2019-07-28 14:22:47 +02:00
Johan Degraeve 7690914dcc Swift 5 2019-07-26 23:14:08 +02:00
Johan Degraeve f8ed0c5847 cosmetic changes 2019-07-12 22:43:24 +02:00
Johan Degraeve 9e1b9e2825 Dexcom Share fixes 2019-07-06 16:19:48 +02:00
Johan Degraeve eaa0fb5af3 NightScout upload : log the response from NightScout completely in case of error. Initial upload only 8 hours 2019-07-05 23:28:50 +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 a58008699c NightScout upload: remove logging of the NightScout response, small comments changes and improvements 2019-06-23 15:29:50 +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 0455768592 SpeakReading progress, for anyone who might try to compile - not yet ready 2019-06-12 22:28:25 +02:00
Johan Degraeve 91f4983af4 fix #4 - was trying to convert Double to Int, crashing on specific type of iPhone/iOS - timestamp in Double format (milliseconds) are now being casted to Int64 2019-06-12 22:27:58 +02:00
Johan Degraeve 5205253a9d fix #3 - crash when switching from Master to Follower and back to Master - not sure however if this solves it 2019-06-12 21:47:41 +02:00
Johan Degraeve debf79e959 2.0.16 update info.plist to support healthkit usage 2019-06-11 22:59:31 +02:00
Johan Degraeve c248ffc78b Version increase and disable speak readings/Dexcom share - this is just to release healthkit 2019-06-11 22:51:41 +02:00
Johan Degraeve a997164740 Healthkit 2019-06-10 18:52:58 +02:00
Johan Degraeve 523b6e3c56 Settings : when changing a setting value, other settings can be enabled/disabled in the settingsview 2019-06-09 23:09:27 +02:00
Johan Degraeve 3d02f4b744 coredatamanager : when terminating save changes with performandwait 2019-06-09 17:54:15 +02:00
Johan Degraeve 8eaa5eb129 follower mode 2019-06-05 23:05:04 +02:00
Johan Degraeve ea9ecca047 fix nightscout upload, unfiltered must be multiplied with 1000 2019-06-02 21:45:39 +02:00
Johan Degraeve a493eefc93 continuation follower mode 2019-05-30 17:59:08 +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 d0b4bc89fa when app is open, update home screen every 15 seconds 2019-05-25 20:56:29 +02:00
Johan Degraeve fc0b025423 ApplicationManager : allows to add closures that need to be run when app comes to background, foreground or terminates. Example when app comes to foreground : stop playing sound 2019-05-25 18:18:45 +02:00
Johan Degraeve db971a0e40 home view labels filled in 2019-05-24 23:50:12 +02:00
Johan Degraeve d0d88584b1 improved handling missed reading alert 2019-05-23 17:43:13 +02:00
Johan Degraeve af0cb2097b if very low alert snoozed, the skip check for low alert, also if high alert snoozed, skip check for high alert 2019-05-22 15:15:45 +02:00
Johan Degraeve 5721b61fbb button on home screen 'Transmitter' which allows to get status, start and stop sensor, scan for transmitter 2019-05-22 12:53:35 +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 b90efa12ee rootviewcontroller, buttons and labels 2019-05-16 00:13:14 +02:00
Johan Degraeve 1fafbf9ae4 Alert settings 2019-05-14 22:37:36 +02:00
Johan Degraeve 59e96e090c AlertKind and AlertManager : call to AlertKind.alertNeeded doesn't need to return a closure. It can return immediately the result 2019-04-30 23:03:41 +02:00
Johan Degraeve 8aeaab53d9 AlertManager fix, for when user clicks an alert notification, also for when user dismisses a notification 2019-04-29 22:53:01 +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 035c991b3c temp commit 2019-04-01 22:29:14 +02:00
Johan Degraeve 3383151a6a opening coredata manager in asynchronous mode 2019-03-26 11:56:57 +01:00
Johan Degraeve 85a0dc4ce4 temp commit 2019-01-26 15:25:43 +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