32
3.2 Send API commands through the command line to set the Power Mode
Enter the api format:
echo -n "ascset|0,workmode,2" | socat -t 300 stdio tcp: Machine ip: port number (default is 4028),shut-none && echo
Example:
Input echo -n "ascset|0,workmode,2" | socat -t 300 stdio tcp:10.100.106.24:4028,shut-none && echo
The result is as shown in the figure. Returning set info: WORKMODE[2] success means that the power mode is set
successfully.
After successfully setting the Power Mode, please restart the miner.
After the Power Mode is set successfully, you need to wait for more than ten minutes after the power is turned on, and
then set the power consumption level according to this article.
Enter the api format:
echo -n "ascset|0,power-level-set,1" | socat -t 300 stdio tcp: Machine ip: port number (default is 4028),shut-none && echo
Example:
Input echo -n "ascset|0,power-level-set,1" | socat -t 300 stdio tcp:10.100.106.24:4028,shut-none &&echo
The result is shown in the figure. If the return set info: set power mode level success indicates that the power
consumption level is set successfully.