Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oref0-setup can create incompatible config for xdrip-js Logger #1397

Open
samgladstone opened this issue May 8, 2021 · 2 comments
Open

oref0-setup can create incompatible config for xdrip-js Logger #1397

samgladstone opened this issue May 8, 2021 · 2 comments

Comments

@samgladstone
Copy link

Describe the bug
xdrip-js Logger does not support token-based authentication with Nightscout, however the oref0-setup script will allow you to configure it this way

To Reproduce
Steps to reproduce the behavior:

  1. Run oref0-setup
  2. Select CGM method: xdrip-js
  3. Use a NightScout authentication token
  4. After set up completes, nothing will be uploaded to nightscout

Expected behavior
You should be prompted for an NS API secret rather than API token if you select xdrip-js so that the initial config can work

@inventor96
Copy link

I believe @sulkaharo knows more, but I believe Nightscout actually automatically handles tokens through the same channels that the API secret is used. I'm currently running the dev branch of oref0 with a NS token on my Edison/Explorer rig plus Logger with my Dexcom G6, and I'm getting live data with no apparent issues into Nightscout. I haven't dug into the logs on the rig to see if there's anything there, but I would imagine there's probably not much if I'm getting Logger info in Nightscout.

@sulkaharo
Copy link
Collaborator

Yup the newer Nightscout versions should accept tokens using the older API secret methods.

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

No branches or pull requests

3 participants