This object is in archive! 

IOS Shortcuts app - Zipato API auth

Karl Zander shared this idea 4 years ago
Completed

Hi,

I got an idea to make it possible to put the lights on directly from a widget in iOS with the build in app Shortcuts and the Zipato API. I am a total newbie on Shortcuts and Json but I have made an “Shortcut” shown in the pictures.

I got a user not exist or password is wrong error in the answer from server (last picture). I have checkt with a SHA-1 hash generator online and it seams that I hash the token right. First I hash the password, concatinate the nonce and password hash and then hash the concatenation.

If I have understand it correct no adjustment need to be done in the web interface to access thru the API. Am I correct?

EDIT: Link to the Shortcut if you want to try. https://www.icloud.com/shortcuts/0c395c38e7484167b605d46c141fa9bc

2d951af17a5d9fc92c7a64086f0d9720

1e9b96a6cea61e993c304b33b22c5f39

7b732084773fa77609923330b18b5d09

5afc7779d44b42d5b79b0d29b103706c

Replies (1)

photo
1

Hi ! I am very interesting. Did you succed to create shortcuts with light ?

photo
1

Hi,

I am still stuck in the same problem. 😕


// Karl

photo
1

Hi

it doesn't work because each request is considered as a new session so username and password are not valid anymore.

photo
1

Hi,

Anyone find a way to create a working IOS shortcut with the indication of Dino ?

photo
Leave a Comment
 
Attach a file