cloud-reg-ex
Use the interface to register your device with Control Hub. You can host your device to 2 Control Hub platforms simultaneously.
GET http://ip:8070/cloud-api?method=cloud-reg-ex&id=1&cloud-enable-https=0&...
| Parameter | Description |
|---|---|
| method | cloud-reg-ex |
| id | Control Hub ID. Options are 0 and 1. |
| cloud-code | 4-digit string invitation code given by the Control Hub. |
| cloud-ip-addr | IP address or domain of the Control Hub. |
| cloud-http-port | HTTP port of the Control Hub server. |
| cloud-enable-https | 0: disable https 1: enable https |
| cloud-https-port | HTTPS port of the Control Hub server. |
Response Body
{
"result": 0
}
| Item | Description |
|---|---|
| result | 0 indicates that the request was accepted successfully. Refer to Control Hub API Status Codes to find specific description for other values. |