-
Notifications
You must be signed in to change notification settings - Fork 440
WebUI
T-Rex comes with a built-in web monitoring/control page.
By default, it is only accessible from the same PC where the miner is running - http://127.0.0.1:4067/.
If you would like to use it from other machines in your local network you need to set --api-bind-http
parameter, e.g.
--api-bind-http 192.168.0.15:4067
- replace IP address with yours.
By default, T-Rex WebUI provides read-only access to your mining statistics information and rig configuration.
In order to be able to modify/update the settings, you need to set up a password as a security measure to prevent others
changing your miner configuration.
Steps to set up WebUI password:
- Open command prompt and navigate to the directory where the miner executable is.
- Run
t-rex --api-generate-key <your_password>
.
The password must be 8-64 characters long, without spaces, and must contain at least one digit, lowercase, and uppercase letters. - The output from step 2 is your API key, and it needs to be added as an extra T-Rex parameter in your
*.bat
/*.sh
script:
--api-key <generated_key>
- Start the miner. Now when you try to access WebUI, it will prompt you to enter the password that you used in step 2.
Note: there is no way to recover your password from the API key, so if you forget it, regenerate the key using a new password.
At the moment, changing miner configuration is only possible if you've started the miner using config file
(t-rex -c <config_file>
) as opposed to setting command line arguments in *.bat
/*.sh
scripts.
Applying the changes for most parameters exposed on Settings page requires miner restart. You will be prompted to do so
after clicking "SAVE SETTINGS" button. "RESTART MINER" button is the top of the page and will be glowing red.