OpenGarage › Forums › OpenGarage Mobile and Web App › iOS app – Invalid Blink Token
Tagged: ios
- This topic has 12 replies, 3 voices, and was last updated 5 years, 8 months ago by Ray.
-
AuthorPosts
-
October 8, 2018 at 3:28 pm #1313
AnonymousInactiveI have OpenGarage working using the web interface and it also works using the Blynk app.
I am trying to set it up on the iOS app. If I add the controller using the local IP address it works; only whilst I’m on the local network as expected.
However when adding the controller using the Blynk token (which is the same one I entered in the OpenGarage web interface) I am getting the following errors:
Invalid Blynk token
Unable to find device. Please verify the IP/password and try again
Anyone has any idea what I can do to make it work please?
- This topic was modified 6 years ago by . Reason: added more information
January 7, 2019 at 6:00 pm #1387
NicolareinaParticipantSame over here on android
January 10, 2019 at 1:41 pm #1388
RayKeymasterSorry about the issue. We are looking into it right away and will report back.
February 23, 2019 at 2:08 pm #1442
AnonymousInactiveHas any progress been reported on this please?
February 25, 2019 at 11:32 pm #1445
RayKeymasterI can’t reproduce this issue: I just tried the OpenGarage app on my Google pixel 2, an iPhone X, and an iPad 2. Adding controller using Blynk token worked fine on all three of them. What device did you use, and what iOS version?
February 26, 2019 at 10:46 am #1446
AnonymousInactiveI am trying on an iPhone 6s running iOS 12.1.4. I just downloaded the app and tried to add the Blynk token. I took a screen recording which I’m attaching here. Let me know if I can gather any logs from the phone.
The screen recording skips the part where I am pasting the Blynk token for obvious reasons.
Attachments:
You must be logged in to view attached files.March 1, 2019 at 3:25 pm #1453
RayKeymasterWell, the problem is that without seeing the token you pasted, it’s hard to tell whether you pasted the correct token or maybe it was wrong. Try this token:
f7e0aeff238446cfbfc07ddbbc1e547c
it’s not actually hooked up to any real OpenGarage so is good for testing purpose. I just tried it on my android phone and there is no problem with this token.March 1, 2019 at 4:41 pm #1456
AnonymousInactiveThe token actually works.
So I went ahead and I deleted my Blynk project and created a new one. The token of the new project is
fd07a0dd3d684a3687474741efa225da
; which does not work with OpenGarage app.I created the project using the QRCode here: https://github.com/OpenGarage/OpenGarage-Firmware/blob/master/OGBlynkApp/og_blynk_1.1.png
EDIT BELOW
Strangely enough calling the API on my new token works. So http://blynk-cloud.com/fd07a0dd3d684a3687474741efa225da/get/v3 gives me a value.Calling the same API on the token provided http://blynk-cloud.com/f7e0aeff238446cfbfc07ddbbc1e547c/get/v3 in the previous post gives me “Invalid Token” response.
- This reply was modified 5 years, 8 months ago by .
- This reply was modified 5 years, 8 months ago by .
March 2, 2019 at 12:53 pm #1459
RayKeymasterI am confused by the last part of your message: it looks like calling the API on the token I gave you worked (gave a value), and calling it on the token you created returned invalid token (what you said was the reverse). I really don’t know why this is happening, as I scanned the same QR code. I think this is a blynk token problem and not a problem of the OpenGarage app. Did you happen to delete the project after you created it? Note that once if the project is deleted or you refresh the token the old one will be invalid. The other thing is to make sure you have the latest version of the Blynk app. In any case, this seems not an issue of the OpenGarage app.
- This reply was modified 5 years, 8 months ago by Ray.
March 2, 2019 at 1:11 pm #1461
AnonymousInactiveThe API returned a valid response when called on the new token I created (fd…).
When the API was called on the token you provided earlier (f7…) it returned an invalid response.
March 2, 2019 at 10:18 pm #1462
RayKeymasterHuh? I just clicked on the two links you posted, the first one (what you created) returns invalid, the second one (what I created) returns a value of 62. I don’t understand how we are observing completely opposite outcomes.
- This reply was modified 5 years, 8 months ago by Ray.
March 3, 2019 at 12:36 pm #1464
AnonymousInactiveNow that’s strange. Refer to attached screenshots.
I have now deleted the project so both are returning invalid for me.
- This reply was modified 5 years, 8 months ago by .
Attachments:
You must be logged in to view attached files.March 4, 2019 at 10:09 pm #1470
RayKeymasterWhat browser are you using? I don’t recognize from its interface. In any case, I’ve asked others to check the links too and they observe the same as I did. So I can’t reproduce this issue on my side.
-
AuthorPosts
- You must be logged in to reply to this topic.
OpenGarage › Forums › OpenGarage Mobile and Web App › iOS app – Invalid Blink Token