Releases: mlukasek/M5_NightscoutMon
M5Stack Nightscout Monitor v2019-09-23-02
Key sgv_only (default 0) added to M5NS.INI. This is for apps that do not define type:"sgv" value to the Nightscout, such as Tomato and it is default setting. You should added sgv_only = 1 to your M5NS.INI if you use xDrip, Spike or other apps that behave more correct. This will filter out other than sgv readings, such as calibrations etc to prevent false alarms.
Explicit M5.Lcd.invertDisplay(0) added to try to prevent inverted display.
M5Stack Nightscout Monitor v2019-09-21-02
Added support for Dexcom by using Sugarmate connection workaround. Thanks to Patrick Sonnerat.
Only SGV entries are now queried, so no more troubles with calibration. Thanks to Sulka Haro.
Fast page switching. No need to wait for NS data (does not work while accessing Nightscout = while blue WiFi icon displayed).
New page with analog clock and Temperature/Humidity. Display environment values requires DHT12 - ENV Unit or BTC Standing Base.
New key in M5NS.INI temperature_unit = 1 for CELSIUS, 2 for KELVIN, 3 for FAHRENHEIT. Can be omitted (default is Celsius).
Display rotation possibility added. New key in M5NS.INI display_rotation = 1 (buttons down, default, can be omitted), 3 = buttons up, 5 = mirror buttons up, 7 = mirror buttons down.
US date format added. New key in M5NS.INI date_format = 0 (dd.mm., default, can be omitted), 1 = MM/DD.
JSON query update for some Bluetooth Glucose Meters.
Compiled with manually updated esp32 board library v1.0.3.
M5Stack Nightscout Monitor v2019-06-28-01
Stable release for summer. Just minor changes, removed test log record when brightness changed by button A.
M5Stack Nightscout Monitor v2019-06-20-01
Split of Nightscout read and display code (this should allow simpler user display code modification and more different "faces" from users).
New concept of display pages (different display designs, information, faces).
Switch page by short press of the right button.
Power OFF by the right button long press (4 seconds).
Right button works also as power ON after power off by this button.
New page added with large simple info (large BG, clock, delta + arrow and few icons only).
New M5NS.INI key "default_page" added (default 0).
Smaller WiFi symbol (now as blue WiFi icon in 2 sizes for the 2 different Nightscout queries).
Buttons do not work during Nightscout communication (blue WiFi symbol displayed).
Bigger delta value even with COB+IOB values displayed (COB: and IOB: shortened to C: and I: ).
Errors now logged silently (log can be displayed as the last page).
Warning triangle icon added to show that errors are in the log (up to 5 errors - grey, more - yellow). Only last 10 errors can be displayed.
New M5NS.INI key "restart_at_time" added (default no restart) to restart M5Stack regularly at predefined time to reconnect to WiFi access point and clear possible other errors. No startup sound during soft restart, snooze state reapplied, errors cleared.
New M5NS.INI key "restart_at_logged_errors" added (default no restart) to restart M5Stack after predefined amount of errors logged in error log to reconnect to WiFi access point and clear possible other errors. No startup sound during soft restart, snooze state reapplied, errors cleared.
Right button power icon changed to door icon to better express the page change/power off functions.
M5Stack Nightscout Monitor v2019-06-12-01
More silent speaker. Found the way how to switch off adc1 after sound play.
Added token key in M5NS.INI to allow connection to secured Nightscout sites (thanks to Peter Leimbach).
Added keys snd_warning_at_startup and snd_alarm_at_startup to play warning/alarm sound test during startup (1 = play, 0 = do not play).
M5Stack Nightscout Monitor v2019-06-09-01
More WiFi APs possible. Now you can create section [wlan0], [wlan1], up to [wlan9] in M5NS.INI.
Added SD card info for better error handling.
Added empty Nightscout check. No restarts repeat if Nightscout is empty.
Wait for NTP time synchronization.
M5Stack Nightscout Monitor v2019-06-02-01
Large DELTA value displayed if no COB/IOB on display.
Sample M5NS.INI dile now has default values in mg/dL.
Corrected volume bug, it did not work at all. Now accepts values from M5NI.INI correctly.
M5Stack Nightscout Monitor v2019-05-30-01
Added battery icon. This feature works only on newer M5Stack units. Removed seconds from time to make more place for possibly more icons.
M5Stack Nightscout Monitor v2019-05-23-01
Fixed restart bug if some properties were not defined on Nightscout.
M5Stack Nightscout Monitor v2019-05-18-01
Added button function icons (set M5NS.INI key info_line = 1). This is now default option.
Added loop and basal info (set M5NS.INI key info_line = 2)
Original sensor information available when M5NS.INI key info_line = 0
Small changes to silence background hiss as much as possible.