Mining Control
demo
registration
log in
language
dashboard
statistics
messages
devices
profile
Load
Step 1. Setting up the miner
If you already know how to configure, you can go straight to Step 5.
  • check that the API is configured when starting the miner
  • GMiner - specify the port in the miner via the --api parameter (for example, --api 22333) and enter it below
Step 2. Checking the miner settings
  • start the miner;
  • launch the browser on the computer where the miner is running, and go to - http://localhost:33333/stat;
  • something similar should be displayed on the screen:
    {"miner":"GMiner 2.66", "uptime":168434, "server":"ssl://eu1.ethermine.org:5555", "user":.....
  • if it didn't work out, then check that:
    • the miner is running and has started mining;
    • the link opens on the computer where the miner is running;
    • in the miner settings, the parameter responsible for enabling the API is specified (if relevant);
    • when the miner is launched, the antivirus or firewall does not block the activation of the API.
Step 3. Checking the connection with the server
  • on the computer where the miner is running, run the following scripts in the command line/terminal:
    • curl http://localhost:33333/stat > file.tmp
    • curl -F "login=demo" -F "token=demo" -F "deviceid=demo" -F "file=<file.tmp" https://mining-control.com/api/load_log.php --ssl-no-revoke
  • something similar should be displayed:
    dd.mm.yyyy h24:mi:ss - servertime - Accepted
  • if it didn't work out due to the lack of curl, install it with of the official site, otherwise follow the recommendations that will be indicated instead of "Accepted".
Step 4. Checking the data on the server
  • data received
    - none
  • loading time
    - none
  • data verification
    - none
  • received data
    - none
Step 5. Running the script
  • copy the script below to the file (*.bat) to the computer where the miner is running:
    @echo off
    setlocal enabledelayedexpansion
    set logfile="send_log.log"
    :loop
        TIMEOUT /T 60 /NOBREAK
        echo %date% %time:~0,8% - localtime - Start >> %logfile%
        curl http://localhost:33333/stat > file.tmp
        curl -F "login=demo" -F "token=demo" -F "deviceid=demo" -F "file=<file.tmp" https://mining-control.com/api/load_log.php --ssl-no-revoke >> %logfile%
        del file.tmp
        echo %date% %time:~0,8% - localtime - End >> %logfile%
    goto loop

  • run the miner and the script file
Step 6. Checking Notifications
Notifications will be sent according to the settings
  • lack of response
  • disabling one card
  • excess temperature
Additional information:
  • you can find information on how the script works in the send_log.log file, which is located next to the script from step 5;
  • sending information to the server, by one piece of equipment, is possible no more than 1 time per minute.
Copyright © 2021-2022
Mining Control
* data received from an external resource WhatToMine