Hub
1.Hub.getGeneralInfo
Get Hub's General Info
Param | Value | Desc |
---|---|---|
method | Hub.getGeneraInfo | Get Hub's General Info |
targetDevice | <String,Necessary> | DeviceId of the Hub you use; |
token | <String,Necessary> | Net token of the Hub you use; |
Param | Value | Desc |
---|---|---|
data.name | <String,Necessary> | Hub's Name; |
data.zip | <String,Necessary> | Hub's Zip Code; |
data.firmVersion | <String,Necessary> | Hub's Firmware; |
data.binVersion | <String,Necessary> | Hub's bin version; |
data.rfmVersion | <String,Necessary> | Hub's rfm version; |
2.Hub.setGeneralInfo
Set Hub's General Info
Param | Value | Desc |
---|---|---|
method | Hub.setGeneralInfo | Set Hub's General Info |
targetDevice | <String,Necessary> | DeviceId of the Hub you use; |
token | <String,Necessary> | token of the Hub you use; |
params.name | <String,Necessary> | Hub's Name; |
params.zip | <String,Necessary> | Hub's Zip Code; |
Param | Value | Desc |
---|---|---|
data.name | <String,Necessary> | Hub's Name; |
data.zip | <String,Necessary> | Hub's Zip Code; |
data.firmVersion | <String,Necessary> | Hub's Firmware; |
data.binVersion | <String,Necessary> | Hub's bin version; |
data.rfmVersion | <String,Necessary> | Hub's rfm version; |
3.Hub.getNetworkInfo
Get Hub's Network Info
Param | Value | Desc |
---|---|---|
method | Hub.getNetworkInfo | Get Hub's Network Info |
targetDevice | <String,Necessary> | DeviceId of the Hub you use; |
token | <String,Necessary> | Net token of the Hub you use; |
Param | Value | Desc |
---|---|---|
data.ip | <String,Necessary> | Current IPv4 Address of Hub; |
data.webPort | <String,Necessary> | Port of web console; |
data.gateway | <String,Necessary> | Gateway of current network; |
data.subnetMask | <String,Necessary> | Subnet Mask of current network; |
data.dhcp | <String,Necessary> | Is dhcp enabled; |
data.mac | <String,Necessary> | The mac address of hub; |
4.Hub.setNetworkInfo
Set Hub's Network Info
Param | Value | Desc |
---|---|---|
method | Hub.setNetworkInfo | Set Hub's Network Info |
targetDevice | <String,Necessary> | DeviceId of the Hub you use; |
token | <String,Necessary> | Net token of the Hub you use; |
params.ip | <String,Necessary> | Current IPv4 Address of Hub; |
params.webPort | <String,Necessary> | Port of web console; |
params.gateway | <String,Necessary> | Gateway of current network; |
params.subnetMask | <String,Necessary> | Subnet Mask of current network; |
params.dhcp | <String,Necessary> | Is dhcp enabled; |
Param | Value | Desc |
---|---|---|
data.ip | <String,Necessary> | Current IPv4 Address of Hub; |
data.webPort | <String,Necessary> | Port of web console; |
data.gateway | <String,Necessary> | Gateway of current network; |
data.subnetMask | <String,Necessary> | Subnet Mask of current network; |
data.dhcp | <String,Necessary> | Is dhcp enabled; |
data.mac | <String,Necessary> | The mac address of hub; |
5.Hub.getTimeInfo
Get Hub's Time Info
Param | Value | Desc |
---|---|---|
method | Hub.getTimeInfo | Get Hub's Time Info |
targetDevice | <String,Necessary> | DeviceId of the Hub you use; |
token | <String,Necessary> | Net token of the Hub you use; |
Param | Value | Desc |
---|---|---|
data.time | <String,Necessary> | Current time of Hub,Formatted as hh:mm:ss; |
data.date | <String,Necessary> | Current date of Hub,Formatted as yyyy-MM-dd; |
data.offset | <String,Necessary> | The current Time Zone offset; -12 -> +12; |
data.isDST | <String,Necessary> | Is DST enabled |
data.dstStart | <String,Necessary> | DST Begin date;Format MM-dd; |
data.dstEnd | <String,Necessary> | DST End date;Format MM-dd; |
6.Hub.setTimeInfo
Set Hub's Time Info
Param | Value | Desc |
---|---|---|
method | Hub.setTimeInfo | Set Hub's Time Info |
targetDevice | <String,Necessary> | DeviceId of the Hub you use; |
token | <String,Necessary> | token of the Hub you use; |
params.offset | <String,Necessary> | The current Time Zone offset; -12 -> +12; |
params.isDST | <String,Necessary> | Is DST enabled |
params.dstStart | <String,Necessary> | DST Begin date;Format MM-dd; |
params.dstEnd | <String,Necessary> | DST End date;Format MM-dd; |
Param | Value | Desc |
---|---|---|
data.time | <String,Necessary> | Current time of Hub,Formatted as hh:mm:ss; |
data.date | <String,Necessary> | Current date of Hub,Formatted as yyyy-MM-dd; |
data.offset | <String,Necessary> | The current Time Zone offset; -12 -> +12; |
data.isDST | <String,Necessary> | Is DST enabled |
data.dstStart | <String,Necessary> | DST Begin date;Format MM-dd; |
data.dstEnd | <String,Necessary> | DST End date;Format MM-dd; |