mddub / urchin-cgm

A graph of your CGM data on a Pebble watch.
MIT License
56 stars 45 forks source link

Does not work with Nightscout Token based auth. #64

Open dramageek opened 7 years ago

dramageek commented 7 years ago

It looks like the URL gets sanitized, garbling the token.

tuzoenduro commented 5 years ago

Hi, is there work being done to correct the issue with the token based auth?

bjornoleh commented 4 years ago

I'd like to see token based auth too, but perhaps Urchin is not actively maintained any more? I just came across this project after having aquired an old Pebble.

Thanks for any pointers to how pebble watches could be used with NS tokens!

woernsn commented 4 years ago

I added the feature to my fork. Happy to hear if it is working for you. See https://github.com/mddub/urchin-cgm/pull/80

bjornoleh commented 4 years ago

I added the feature to my fork. Happy to hear if it is working for you. See #80

@woernsn Great, thanks! How do I install from your fork?

It seems I can't use the installer file from the release folder (updated 4 years ago). Also, the link in readme.md seems to point to the original repository.

woernsn commented 4 years ago

@bjornoleh I am not sure if @mddub is still active. I created a pull request. In the meantime you can find the new version on my fork here: https://github.com/woernsn/urchin-cgm/releases/tag/v0.2.0

sulkaharo commented 4 years ago

Note if you're using the latest release of Nightscout, you should be able to use the tokens in place of Secrets and not need to use the token api

woernsn commented 4 years ago

@sulkaharo I don't know about that. What did you mean by "the tokens in place of secrets"? I thought, I was pretty up to date with NightScout. Is there then anything that needs to be mosified for this watch face?

bjornoleh commented 4 years ago

@woernsn Thanks, I have set it up now, and it is working fine!