Releases: mlukasek/M5_NightscoutMon
M5Stack Nightscout Monitor v2022-10-02-01
Updates for Railway (longer token, accept "trend" in addition to "direction", response count limited to 10).
PS - Added new binaries for recent Core 2 v1.1 devices, this is not fully tested but functional.
M5Stack Nightscout Monitor v2021-06-01-01
Heroku SSL Certificate removed temporary to fix the "connection refused" issue from 2021-06-01.
Previous delta (plugins) value display corrected. Nightscout read postponed from 300 to 305 seconds after the last update to allow plugins (delta, iob, cob, ...) to update.
Corrected error when "/" character was at the end of Nightscout URL.
Redirection for HTTP codes 301 and 302 implemented.
HTTPClient and WiFiClientSecure returned back to readNightscout() function.
M5Stack Nightscout Monitor v2021-04-21-01
Stability and server load improvements.
Binary built with older versions of M5Stack board 1.0.6 and M5Stack library 0.3.0 as newer versions did not recover after some HTTP errors.
HTTPS GET uses root certificate “DigiCert High Assurance EV Root CA” for herokuapp.com site. It behaves „the old way“ for other servers.
Reduce Nightscout connections (NS is queried for update only once every minute and only if time from the last reading is bigger than 5 minutes).
Free memory and Up time added to the info page for diagnostic purposes.
Date format update (added 0 to days bellow 10).
M5Stack Nightscout Monitor v2021-03-12-01
- SoftAP mode added for configuration possibility on a new WiFi (hold button A and then click reset on M5Stack models with mechanical buttons, touch button A while you see CONFIG progress during boot on M5Stack Core2)
- No SD card needed. When you save configuration from the web interface, it is saved to both - SD card and internal flash memory. You can then remove the SD card and reboot. To archive your settings to SD card, insert SD card and save configuration from web interface.
- If you start blank M5Stack just programmed with M5 Nightscout Monitor firmware, it will enter the SoftAP mode directly for easy web configuration.
- SSID name length extended to 63 characters.
M5Stack Nightscout Monitor v2020-12-06-01
Mini graph corrected for Sugarmate users.
Alarm sound to loop error is now possible.
Support for 12-hour AM/PM time format.
Vibration motor unit support for hearing impaired.
Flexible RGB LED strip or M5Stack Fire internal RGB LEDs support.
Micro Dot pHAT support.
Core2 online update possibility (on next update, now you have to use M5Burner or build from sources).
M5Stack Nightscout Monitor v2020-07-24-02
Delta displayed in correct M5NS.INI units regardles from Nightscout settings. (romkuru)
Corrected "bellow->below" typo in web interface. (guydavies)
Replacing Unicode TAB character "/u000b" defined by Medtronic by space to correctly parse JSON without enabling Unicode.
Added SHT30 compatibility, so now temperature and humidity works with newer version of BTC TICKER stand and ENV.II Unit.
M5Stack Nightscout Monitor v2020-04-12-01
WiFi passwords are now hidden on all web pages and forms.
"snooze" part completely reworked.
Possibility to multiply alarm/warning sound snooze time by multiple presses of middle button. The button has to be pressed in less than 2s after the last press. The steps are 1x-2x-3x-4x-OFF and again.
Snooze (middle button) from one device works on all devices on the same network subnet with the same user (Nightscout URL). UDP broadcast is distributed in local network subnet.
M5Stack Nightscout Monitor v2020-02-13-01
Improved time handling when Epoch in milliseconds has decimal places (CGMBLEKit).
Added version number to the latest (log) page.
Some minor diagnostics monitor/log updates.
M5Stack Nightscout Monitor v2020-02-09-02
Support for OpenAPS loop (set info_line = 3 in M5NS.INI).
Corrected error in token implementation for IOB, COB, Loop, OpenAPS, basal.
Corrected an error in shifting SGV history graph buffer.
HTTP Server configuration edit and save.
mDNS added, you can connect to M5 Nightscout monitor by device_name.local (default M5NS.local).
mDNS name and IP address is displayed on Error log page.
Online update option from internal web page.
Please note, there is no security implemented yet. Internal web page is on unsecured port 80. Updates are going from server port 80, no SSL used currently. Use on your own risk.
M5Stack Nightscout Monitor v2019-10-17-01
Key invert_display (default = -1 when key not present) added to M5NS.INI. You should not use it in M5NS.INI unless you have a problem with display inversion. Set invert_dsiplay = 0 or invert_dsiplay = 1 if you have troubles to call M5.Lcd.invertDisplay(0) or M5.Lcd.invertDisplay(1). Under normal circumstances 0 should be normal display and 1 should be inverted display.