mlukasek / M5StickC_NightscoutMon

M5StickC Nightscout monitor
GNU General Public License v3.0
25 stars 12 forks source link

M5StickC_NightscoutMon

M5StickC and M5StickC PLUS Nightscout monitor

M5StickC Nightscout monitor
Copyright (C) 2018, 2019 Martin Lukasek martin@lukasek.cz
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.
This software uses some 3rd party libraries:
IniFile by Steve Marple stevemarple@googlemail.com (GNU LGPL v2.1)
ArduinoJson by Benoit BLANCHON (MIT License)


  

Revisions:

31 January 2021

Support for Sugarmate added.

24 December 2020

Support for M5StickC PLUS added.

27 October 2020

Create a delay between POWER ON and searching for WiFi.

8 September 2020

Fix spacing between IOB and COB values.

5 September 2020

Nightscout token support added.
JSON unicode characters replacement for Medtronics.

28 October 2019

Key sgv_only (default 0) added to M5NS.INI. You should set it to 1 if you use xDrip, Spike or similar to filter out calibrations etc.
Maximum password length extended to 63 characters.

8 September 2019

Query for only the SGV records (Sulka Haro).
Better display cleaning after WiFi symbol display.

7 September 2019

JSON query update for Ascensia Diabetes Care Bluetooth Glucose Meter.
Small changes in SPK HAT speaker routines.
Removed forgotten alarm test from main button, so it now changes the brightness only, as supposed to do.

16 July 2019

Added support for M5StickC Speaker Hat (SPK, PAM8303).

3 June 2019

Alarm/warnign LED frequency changed.

18 May 2019

First test version. Need changes in M5StickC library. IMU must be changed or removed (not needed).

M5StickC Nightscout Monitor

M5StickC is smaller brother of M5Stack development kit based on ESP32. It is in a tiny plastic box, equipped with color display, 2 buttons, and internal battery. It can be used to monitor and display something, so I used it to monitor my daughter's glycemia. It is small and cheap solution. For better monitoring with alarms, use bigger M5Stack Nightscout monitor.

Buttons

The main button changes the backlight in the 3 steps defined in configuration source file.

Donations

If you find my project useful, you can donate me few bucks for further development or buy me a glass of wine

https://paypal.me/8bity