I still get a “you are not authorized to perform the requested operation” when I try to run Quirky (Connect).
I’ve set up the IFTTT channel for the NImbus, but it appears that any text sent via IFTTT will not scroll (although those items set up through the Wink app will when you press down on the device).
Hey @TheStressMachine, can you reference the name of the plugin that you used. Willing to get a little crazy in order to get these things up and running!
So is the quirky connect manager working again? I have an api token from wink. I’d like to have my spotter (since this is the last thing I have left with wink) added into smartthings. When I click to setup in ST it Wink just tells me that redirect is not authorized.
Since Wink does not currently support/allow ST to authorize using their API, we can remove the authorization and manually hard-code the access & refresh tokens.
Using Advanced REST client (Chrome, Firefox) we set the following:
URL: https://winkapi.quirky.com/oauth2/token
Request: POST
Payload: {"client_id":"c22d82a7fc3d6faf06dcff1bcf0feb52","client_secret":"bd44c524a1df9dce134235d174350603","username":"YOUR-wink-app@email.com","password":"YOUR-wink-app-pass","grant_type":"password"}
Content-Type: application/json
“Advanced REST” client is a browser add-on which will allow you to get the token info using the parameters specified above. Once you have the tokens, use the updated version of the Quirky-Connect-Service-Manager.groovy smartapp, which will allow you to enter the tokens manually in the IDE “App Settings”.
Thanks for the tips. I’m so close - but I’m getting the below error whenever I try to get my token. I can log in to their website just fine with the same credentials. Any ideas?
{
data: {
error: "invalid_grant"
error_description: “Either your email or password is incorrect”
}-
errors: [1]
0: “invalid_grant: Either your email or password is incorrect”
pagination: {}
error: "invalid_grant"
error_description: “Either your email or password is incorrect”
}
You can actually run it right on that page. No need to install any browser extensions. Just fill in the correct values on the right, and click “Call Resource”. Good luck!
Hi guys,
so struggling to get it to work without the token. Trying to create a new user fails, however updating my user profile needs my user ID (which I couldn’t find anywhere, but the validate my email Link in my inbox had it in my URL )
so using https://winkapi.quirky.com/users/
requires 2 Headers:
Content-Type application/JSON (as normal)
Authorization (bearer token - which I don’t have)
Did anyone manage to create a new user and get a token from that?
Got it working, but running into an error trying to add devices. I attempted to add the Egg Minder (installed the device type in IDE, and added the Egg Tray Device first) The credentials are accepted in the app, and add the Egg Minder, but when I click Done on the devices page, I get “an unexpected error occured” Message, and the Egg Minder device doesn’t update
I bought a Quirky Pivot Power Genius because a cursory Google suggested it worked with SmartThings. Reading all the legacy announcements about SmartThings Labs integration followed by trying to get the currently broken code here to work led me down a blackhole of frustration.
If you have the Quirky Pivot Power Genius do yourself a favor - create two "Simulated Switch"es and link the switches to the outlets using IFTT. It is a little clunky, but it takes 60 seconds and works reliably.
hey @nxsfan it will work fine if you follow @iakoubtchik 's method of getting your auth token / refresh token by using Advanced REST Client extension. Once you have done this, you will need to add the values you get back to the App Settings of his custom SmartApp he posted earlier in this thread. Now you need to get the device type file from github link in original post, one key thing to note is that he has added a comment to line ~62 without commenting it out it will look like this:
if ( description == "updated" ) on initial install we are returned just a string
you should either just delete the “on initial install we are returned just a string” or comment it out with //
once you have done this you should save and publish your smartapp and and it will retrieve your devices, you can select them and control them just got it working tonight
Got all five of my Spotters working using @iakoubtchik instructions & SmartApp code for Quirky Connect. I struggled with the instructions until I found the post I missed on configuring the “App Settings”. Once I configured the correct tokens in the “App Settings”, all worked.
I was able to get mine working doing similar last week. Amazon has em for $12ea right now.
Wanted to try and setup a custom trigger to order prime now eggs or walmart grocery eggs via api if running low. They apparently don’t expose the needed api 's though.
/me wonders if alexa could order them for me based on these events.