ella7 / nightscout-workflows

A collection of
Apache License 2.0
7 stars 3 forks source link

Workflow Meter BG doesn't´t Work #1

Closed Byketol closed 6 years ago

Byketol commented 6 years ago

Hi i have installed the Workflow app on my Iphone 7. So if i start the workflow and enter the BG after that there is a push with that. Something went wrong and it appears the entry was not saved in Nightscout. How can i check what went wrong?

christerjensen commented 6 years ago

Same here. Tried adding HTTPS etc infront of the specified URL syntax without luck.

ryanpacker commented 6 years ago

Thanks for trying this out. What do you have for the NS URL? Did you include "/api/v1/treatments.json" at the end?

ryanpacker commented 6 years ago

Thinking about this more, two things come to mind:

  1. The first thing to check is that the URL is correct.
  1. The second thing to check is the hashed API secret.
Byketol commented 6 years ago

My Nightscout URL is https://diabetes-engel.herokuapp.com/api/v1/treatments.json So i think the url is ok. I think is the key. I thought the Nightscout site’s API is the same like the number for the Workflow.

Byketol commented 6 years ago

So with the right number (your link on 2) is every thing god. Thank you.

ryanpacker commented 6 years ago

I'm glad that worked. In the version I'm checking into the dev branch now, I've made both things easier. It will no longer be required to enter the full endpoint URL, and you will be able to enter your normal API secret, not the hashed secret. Thanks so much for the feedback.

ryanpacker commented 6 years ago

I suspect the issue here is the hashed API. Documentation has been updated and the new version will resolve permanently. Marking this as resolved.