5. The Reference for RPCM REST API
"restartSeconds": null
},
"hashRate": {
"hashrateMeasurementUnit": null,
"api": {
"port": null,
"unavailabilityTimeoutSeconds": null
},
"alarmBottomLimit": null,
"restartBottomLimit": null,
"alarmSeconds": null,
"restartSeconds": null
}
}
},
"20": {
"name": "Custom",
"settings": {
"checkIntervalSeconds": 6,
"interRestartIntervalSeconds": 600,
"consumption": {
"alarmBottomLimitMilliamps": null,
"restartBottomLimitMilliamps": null,
"alarmSeconds": null,
"restartSeconds": null
},
"hashRate": {
"hashrateMeasurementUnit": null,
"api": {
"port": null,
"unavailabilityTimeoutSeconds": null
},
"alarmBottomLimit": null,
"restartBottomLimit": null,
"alarmSeconds": null,
"restartSeconds": null
}
}
}
}
Example:
curl -X GET http://192.168.1.10:8888/api/automation/device-types
5.2.9.3. Get the Automation Devices List
Command:
GET /api/automation/devices
REPLY:
{
"1": {
"deviceType": 6,
"name": "dragonmint_t1",
"description": "",
"checkIntervalSeconds": 6,
"interRestartIntervalSeconds": 600,
204