Comments (9)
You need to use:
https://MYSITE/api/v1/entries/sgv.json
from glance.
Hmmm. This gives me a 401 error
https://MYSITE/api/v1/entries/sgv.json
For reference, I followed these steps: https://navid200.github.io/xDrip/docs/Nightscout/GoogleCloud.html
Previously I had tried railway.app but it gave me the same errors as mentioned above.
from glance.
You might need to use:
https://ThisIsMyPassword@MYSITE/api/v1/entries/sgv.json
It seems the default configuration via google is completely password protected which is set up that way due to the AUTH_DEFAULT_ROLES
being set to denied
from glance.
Hey! In your browser if you navigate to https://MYSITE/pebble
what does the data look like? Could you send me it?
I know that there is an issue currently with some / all nightscout sites hosted on https://ns.10be.de
where the modified version that they have isn't returning the bgs
key on the json object which is what Glance uses.
from glance.
Hey, @Rytiggy,
this https://MYSITE/pebble
returns {"status":401,"message":"Unauthorized","description":"Invalid/Missing"}
this https://ACCESS_TOKEN@MYSITE/pebble
returns "This site can’t be reached"
this https://API_SECRET@MYSITE/pebble
returns "This site can’t be reached"
Would you like me to send you the MYSITE and ACCESS_TOKEN to your gmail so you can try it out?
Hey, @ddellspe
this https://ACCESS_TOKEN@MYSITE/api/v1/entries/sgv.json
returns "This site can’t be reached"
this https://API_SECRET@MYSITE/api/v1/entries/sgv.json
returns "This site can’t be reached"
from glance.
Sure but but please do not send me the access token you use. create a new one so you can kick me out after: https://nightscout.github.io/nightscout/security/#create-a-token
My email is [email protected]
from glance.
is this problem solved now?
im using 10be too
from glance.
I am not currently using nightscout, please report back if its working for you guys and if 10be has fixed the issue on their end.
from glance.
So, for those looking at this, the problem is in the settings. If nightscout is set to "private" and requires a token for access, it would normally do this with something like this: https://mysite/pebble?token=MYTOKEN
This will not work here, because in the custom endpoint settings, it will add queryParams to the URL you provide it, and by default it adds "?count=47" which would create a URL like this:
https://mysite/pebble?token=MYTOKEN?count=47 which is a malformed url, it should be:
[https](https://mysite/pebble?token=MYTOKEN&count=47
emphasis on the ampersand there.
The quick workaround is to make your nightscout site public, if your comfortable with that and not require a token in the URL.
If I find some time I will try and build a pull request to fix this going forward.
from glance.
Related Issues (20)
- Always On watchface? HOT 3
- No longer working with tomato HOT 3
- Glance not showing any values when pulling from xDrip which is in turn pulling from BYO Dexcom app HOT 2
- Feature Request - Separate thresholds for the graph and alarms
- Dexcom sensor error displays as zero, instead of as stale data
- E404 error HOT 1
- E500 error dexcom login on sense HOT 4
- Sense oxygen data on watchface?
- Missing trend direction HOT 1
- Fitbit Update: Glance stopped working for EU users HOT 1
- Stale data
- More Nightscout sources. HOT 4
- Dexcom stopped pulling data on 08/15/22
- FitBit Sence 2 data not pulling from Dexcom Database
- Fitbit Versa 4 Always-On is only 24-hr HOT 1
- E404 issue
- Feature request: Seconds in time
- Better support for custom Nightscout URLs HOT 3
- Fitbit Glance face cannot be displayed as Always-on
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glance.