M5StickC Nightscout monitor
Copyright (C) 2018, 2019 Martin Lukasek [email protected]
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 [email protected] (GNU LGPL v2.1)
ArduinoJson by Benoit BLANCHON (MIT License)
Support for Sugarmate added.
Support for M5StickC PLUS added.
Create a delay between POWER ON and searching for WiFi.
Fix spacing between IOB and COB values.
Nightscout token support added.
JSON unicode characters replacement for Medtronics.
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.
Query for only the SGV records (Sulka Haro).
Better display cleaning after WiFi symbol display.
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.
Added support for M5StickC Speaker Hat (SPK, PAM8303).
Alarm/warnign LED frequency changed.
First test version. Need changes in M5StickC library. IMU must be changed or removed (not needed).
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.
The main button changes the backlight in the 3 steps defined in configuration source file.
If you find my project useful, you can donate me few bucks for further development or buy me a glass of wine