Skip to content

Pick up units correctly from Juggluco web server#2

Open
krystianhub wants to merge 1 commit into
prospo:mainfrom
krystianhub:juggluco-units-compat-fix
Open

Pick up units correctly from Juggluco web server#2
krystianhub wants to merge 1 commit into
prospo:mainfrom
krystianhub:juggluco-units-compat-fix

Conversation

@krystianhub
Copy link
Copy Markdown

@krystianhub krystianhub commented Mar 18, 2025

Juggluco provides a web server API that mimics the Nightscout API. However, the status call currently returns the following response:

{
  "status": "ok",
  "name": "juggluco",
  "version": "9.1.2",
[...]
  "settings": {
    "units": "mmol/L" - instead of "mmol"
[...]

This minor fix will make Nightscout Shell compatible with both the official Nightscout API and the emulated Juggluco version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant