6. Command Reference of RPCM CLI
set automation device name testName test consumption --enabled yes --alarmBottomLimitMil-
liamps 4500 --restartBottomLimitMilliamps 4300 --alarmSeconds 60 --restartSeconds 300
set automation device name testName test consumption --alarmBottomLimitMilliamps 4600
set automation device name testName test consumption --enabled no
Example 1.
Set for a device with the name
"DEVICE-2"
lower warning limit is 3500mA, reboot
limit is 3300mA, delay before alert is 600 seconds, delay before restart is 3000 seconds:
set automation device name DEVICE-2 test consumption --enabled yes --alarm-bottom-limit-
milliamps 3500 --restart-bottom-limit-milliamps 3300 --alarm-seconds 600 --restart-seconds
3000
The return is:
Automation Device ID: 5, Name: 'DEVICE-2' has been updated
Consumption Enabled changed from 'OFF' to 'ON'
Consumption Alarm Bottom Limit Milliamps set to '3500'
Consumption Restart bottom Limit Milliamps set to '3300'
Consumption Alarm Seconds set to '600'
Consumption Restart Seconds set to '300'
Type 'help' to get suggestions
Example 2.
Turn off current consumption testing for this device:
set automation device name DEVICE-2 test consumption --enabled no
The return is:
Automation Device ID: 5, Name: 'nonexistent_claymore' has been updated
Consumption Enabled changed from 'ON' to 'OFF'
Type 'help' to get suggestions
6.10.2.2. Command
set
automation device
test
hashrate
It is used to specify the settings for monitoring the level of hashrate of specialized devices (min-
ers) for mining crypto currency.
This setting applies only to preset devices for mining. It is not applicable for other devices.
Available options:
enabled
— answer "yes" or "no" to enable (enable) this control method;
api-ip-address
— IP Address for API access to the miner (device for crypto currency pro-
duction);
api-port
— TCP port for API access to the miner (device for crypto currency extraction);
api-unavailability-timeout-seconds
— a valid timeout when the monitored device is
unavailable;
alarm-bottom-limit
— the lower limit of the hash, after which an alert occurs (a warning
is sent out);
restart-bottom-limit
— the lower limit of the hash, after which the device reboots;
313