This object is in archive! 

Zipato API Device Action ??

Allan shared this question 7 years ago
Answered

Hi im new on json code and just playing with the zipato api interface.


there is a device action send command where you put in the uiid of the device and send the command to the device.


I just want to send a off command to a on/off switch but off do not work any who know what to type instead?


and do anything needed in the body table also.

Best Answer
photo

I figured this way of doing it>>


1- go to device manager.. go to the device you want to control .. search for an attribute

(for example: I'm using a Zipato Micro-module Switch double , to turn the switch on you need to look for "State" attribute)

b92e36d871e57ecfac3069b533e2f294

2- click on configuration Icon

3- copy the UUID

4- Go to API >> attributes

c5976631ff363b37236e7f13bc5f9144


this will make you able to turn the light ON/OFF from API page

you can do it also using an HTTP request from your browser or any where else

Replies (3)

photo
1

Same problem, where can we find the documentation for the API?

photo
1

I figured this way of doing it>>


1- go to device manager.. go to the device you want to control .. search for an attribute

(for example: I'm using a Zipato Micro-module Switch double , to turn the switch on you need to look for "State" attribute)

b92e36d871e57ecfac3069b533e2f294

2- click on configuration Icon

3- copy the UUID

4- Go to API >> attributes

c5976631ff363b37236e7f13bc5f9144


this will make you able to turn the light ON/OFF from API page

you can do it also using an HTTP request from your browser or any where else

photo
3

How does the "URL" look to use it directly in the browser?

photo
photo
1

Although Allan's original request was not the function of the API command in question, we still do not have an answer to how to properly use the "/devices/{uuid}/actions/{action}" API? The API test screen does not say what valid "actions" are and it is a required parameter.

Leave a Comment
 
Attach a file