Discovery
Make requests to discover user’s iZone devices.
Discover Device Command
HTTPS Request.
POST https://api.izone.com.au/dev
Request Body JSON:
Key | Type | Description |
---|---|---|
requestId | string | A UUID string to identify request session |
requestType | string | Must be Discover |
An example of response would be like:
{
"requestId": "28d45cb2-ff5a-4d58-a4c8-efb751ded699",
"requestType": "Discover",
"response": {
"userID":string_userID,
"devices":[
{
"componentId":"123456798_izone_systemsettings_0",
"datagram":{
"SysOn":1,
"SysMode":2,
"SysFan":3,
...
}
},
...]
}
Response contains requesting user’s string_userID
and an array of all componentId
s and their latest datagram.
Individual device states can be queried through Query.
Refer to Reference the detail datagram of different types of iZone components.