|
1 | 1 | ## IPR Configuration |
2 | 2 | BitCap IPReporter works right out of the box, but offers a lot of configuration/addiontional functionality to accomdate most of your needs! |
3 | | -This document gives an overview of main window user interface, additional configuration options, and extras. |
4 | 3 |
|
5 | | -### Top Menubar (Quick Options) |
6 | | -Along the top of the window, is the main interaction with the IP reporter in the form of a menu bar. |
7 | | - |
8 | | -#### "Options" Menu |
9 | | -The "Options" menu contains settings relating to the core listener functionality. |
10 | | -Listener Behavior options: |
11 | | - - "Always Open IP in Browser" Checkbox : When checked, the received IP address will automatically open in your default web browser. |
12 | | - - "Disable Inactive Timer" : When checked, the listener will run until manually stopped instead of the default timeout of 15 minutes. |
13 | | - - "Auto Start on Launch" : When checked, the listener will automatically start on application launch (Effective next launch on changed). |
14 | | - |
15 | | -#### "ID Table" Menu |
16 | | -This menu contains settings relating to the ID Table view. When this view is enabled, the IP reporter will try to receive the following identifying information directly from it's API in their respective columns: |
17 | | -``` |
18 | | - SERIAL - miner serial number; Items in this column are editable on double click! |
19 | | - SUBTYPE - miner model i.e "S19 XP" |
20 | | - ALGORITHM - miner algorithm |
21 | | - POOL - active pool URL |
22 | | - WORKER active worker name |
23 | | - FIRMWARE - installed firmware version |
24 | | - PLATFORM - installed control board |
25 | | -``` |
26 | | -"N/A" will be shown if that information is not available. |
27 | | -If the API client failed to authenticate or timeouts, "Failed" will be shown for all addtional columns. |
28 | | - |
29 | | - - "Enable ID Table" : When checked, updates the current view to the ID Table view. |
30 | | - - "Open Selected IPs" : Once triggered, all selected IP addresses in the "IP" column will be opened in the default browser. |
31 | | - - "Copy Selected Elements" : Once triggered, all selected elements in the table will be copied to the clipboard (seperated by comma). |
32 | | - - "Import" : Once triggered, opens a file dialog to import a .csv file into the table view. |
33 | | - - "Export" : Once triggered, the current data in the table will be exported to a .CSV file located in system's documents path. |
34 | | - |
35 | | -### "Settings" Menu |
36 | | -Application settings: |
37 | | - - "Settings..." : When triggered, updates the current view to the configuration view. |
38 | | - |
39 | | -#### Application Settings ("Settings" Menu) |
40 | | -In the menubar, go to Settings -> "Settings..." to change the current view to the configuration view. |
41 | | -> [!NOTE] |
42 | | -> On MacOS, go to "Preferences..." (Command + ,) |
43 | | -
|
44 | | -Here is where you can change general, API, and log settings in their respective tabs. |
45 | | - #### "General" tab |
46 | | - - System Tray: |
47 | | - - "Enable System Tray" : When checked, the system tray icon is created. From the icon, you can show/hide the main window, start/stop listening and quit the application. If the main window is hidden, you will get information messages and confirmations as system notifications. |
48 | | - - "On Window Close" : When "Enable System Tray" is checked, you can change the window close behavior ("X" button clicked) to "Close" or "Minimize to tray" (default) to minimize the application to the system tray. |
49 | | - - Inactive Timer: |
50 | | - - "Use Custom Timeout" : When checked, enable ability to set custom inactive timer duration. |
51 | | - - "Inactive Timeout: : When "Use Custom Timeout" is checked, you can change the duration using the spin box. Default is 15 minutues. |
52 | | - - Listener Configuration: |
53 | | - - Listener Configuration group box: When toggled, will set/unset all listeners within the listener configuration. |
54 | | - - "Antminer" : When checked, enable listening for Antminers. Checked by default. |
55 | | - - "Whatminer" : When checked, enable listening for Whatsminers. Checked by default. |
56 | | - - "IceRiver" : When checked, enable listening for IceRivers. Checked by default. |
57 | | - - Additional Miners (disabled by default): |
58 | | - - "Goldshell" : When checked, enable listening for Goldshell miners. |
59 | | - - "Volcminer" : When checked, enable listening for VolcMiners. |
60 | | - - "Sealminer" : When checked, enable listening for Sealminers. |
61 | | - - "Elphapex" : When checked, enable listening for Elphapex miners. |
62 | | - - "Dragonball" : When checked, enable listening for Dragonball miners. |
63 | | - |
64 | | - #### "API" tab |
65 | | - "Settings" group: |
66 | | - - Locate Duration : Configure the blink duration when locating a miner. Default is 10s. |
67 | | - |
68 | | - "Authentication" group: |
69 | | - If you have an alternative password other then the default, you can set it here for the respective miner type/firmware to be able use with the ID Table view: |
70 | | - - Bitmain/Antminer: |
71 | | - - "Set Login Password" : Set alternative login password for Antminers. If blank, "root" is used for authentication. |
72 | | - - Whatsminer: |
73 | | - - "Set Login Password" : Set alternative login password for Whatsminers. If blank, "admin" is used for authentication. |
74 | | - - Volcminer: |
75 | | - - "Set Login Password": Set alternative login password for Volcminers. If blank, "ltc@dog" is used for authentication. |
76 | | - - Goldshell |
77 | | - - "Set Login Password": Set alternative login for Goldshell miners. If blank, "123456789" is used for authentication. |
78 | | - - Bitdeer/Sealminer: |
79 | | - - "Set Login Password": Set alternative login for Sealminers. if blank, "seal" is used for authentication. |
80 | | - - Vnish: |
81 | | - - "Set Login Password": Set alternative login for Vnish firmware. if blank, "admin" is used for authentication. |
82 | | - - "Use Antminer Login" Checkbox : When checked, it will set the alternative login for Vnish to be the same as the supplied Antminer login. |
83 | | - - pbfarmer: |
84 | | - - "Set API Key" : Set alternative API Key to access IceRivers using pbfarmer firmware. If blank, the default API key is used for authentication. |
85 | | - |
86 | | - #### "Logs" tab |
87 | | - - Log settings: |
88 | | - - "Log Level" : Set the desired base log level for the logger. The log file will only record that level and greater. Below are the available levels: |
89 | | - ``` |
90 | | - DEBUG - log debug messages; lowest level |
91 | | - INFO - log info messages; default level |
92 | | - WARNING - log warning messages |
93 | | - ERROR - log error messages |
94 | | - CRITICAL - log critical/exception messages |
95 | | - ``` |
96 | | - - "Max Log Size" : Set the maximum file size for the log file in KB. Default is 1024kb and max limit is 4096kb. |
97 | | - - "On Max Log Size" : Set the behavior for when the log file reaches the max log size value. "Flush" will flush/empty the current log to be used again. "Rotate" will rotate to a new log file, adding a number suffix to the old log file. Default is "Flush" |
98 | | - - "Flush Interval" : Set to override the flush interval. If set to "Close", the current log file will be flushed/emptied on application close. Default is "On Max Log Size". |
| 4 | +Below is the default configuration file. All of these options can be found in the UI of the application. The comments provide an brief overview of what each configuration does and generally where they correlate in the UI. |
99 | 5 |
|
100 | 6 | ### Default Configuration File |
101 | 7 | ```json |
102 | 8 | { |
103 | | - "general": { |
104 | | - "enableSysTray": false, |
105 | | - "onWindowClose": 0, |
106 | | - "useCustomTimeout": false, |
107 | | - "inactiveTimeoutMins": 15, |
108 | | - "listenFor": { |
109 | | - "antminer": true, |
110 | | - "whatsminer": true, |
111 | | - "iceriver": true, |
112 | | - "additional": { |
113 | | - "volcminer": false, |
114 | | - "goldshell": false, |
115 | | - "sealminer": false, |
116 | | - "elphapex": false, |
117 | | - "dragonball": false |
118 | | - } |
119 | | - } |
120 | | - }, |
121 | | - "api": { |
122 | | - "auth": { |
123 | | - "bitmainAltPasswd": "", |
124 | | - "whatsminerAltPasswd": "", |
125 | | - "volcminerAltPasswd": "", |
126 | | - "goldshellAltPasswd": "", |
127 | | - "bitdeerAltPasswd": "", |
128 | | - "firmware": { |
129 | | - "vnishAltPasswd": "", |
130 | | - "pbfarmerKey": "" |
131 | | - } |
132 | | - }, |
133 | | - "settings": { |
134 | | - "locateDurationSecs": 10, |
135 | | - "vnishUseAntminerLogin": false |
136 | | - } |
| 9 | + // "General" settings |
| 10 | + "general": { |
| 11 | + "enableSystemTray": false, // Enable/Disable system tray icon. |
| 12 | + "onWindowClose": 0, // window on close behavior (X). 0 = "Minimize to Tray", 1 = "Close". |
| 13 | + "useCustomTimeout": false, // Enable/Disable custom inactive timeout duration. |
| 14 | + "inactiveTimeoutDuration": 15 // the duration of the inactive timeout in minutes. |
| 15 | + }, |
| 16 | + // "Listener Configuration" settings |
| 17 | + "listener": { |
| 18 | + "enableFiltering": false, // Enable/Disable listener filtering. |
| 19 | + "enableAll": true, // Enable/Disable all listeners. |
| 20 | + // Enable/Disable listening for specific miners. |
| 21 | + "listenFor": { |
| 22 | + "antminer": true, |
| 23 | + "whatsminer": true, |
| 24 | + "iceriver": true, |
| 25 | + "hammer": true, |
| 26 | + "volcminer": true, |
| 27 | + "goldshell": true, |
| 28 | + "sealminer": true, |
| 29 | + "elphapex": true |
| 30 | + } |
| 31 | + }, |
| 32 | + // "API" Settings |
| 33 | + "api": { |
| 34 | + "locateDuration": 10, // locate/blink duration in seconds. |
| 35 | + // Set alternative passwords (non-default) for specific miner types/firmware |
| 36 | + "auth": { |
| 37 | + "antminerAltPasswd": "", |
| 38 | + "iceriverAltPasswd": "", |
| 39 | + "whatsminerAltPasswd": "", |
| 40 | + "goldshellAltPasswd": "", |
| 41 | + "hammerAltPasswd": "", |
| 42 | + "volcminerAltPasswd": "", |
| 43 | + "elphapexAltPasswd": "", |
| 44 | + "sealminerAltPasswd": "" |
137 | 45 | }, |
138 | | - "logs": { |
139 | | - "logLevel": "INFO", |
140 | | - "maxLogSize": 1024, |
141 | | - "onMaxLogSize": 0, |
142 | | - "flushInterval": 0 |
| 46 | + // set Alternative passwords for firmwares |
| 47 | + "firmware": { |
| 48 | + "useAntminerLogin": false, // Use same alternative password set in Antminer Login. |
| 49 | + "vnishAltPasswd": "" |
| 50 | + } |
| 51 | + }, |
| 52 | + // Pool Configurator store |
| 53 | + "poolConfigurator": { |
| 54 | + "autoSetWorkers": true, // Enable/Disable auto append worker names derivied from serial/mac to user. (.XXXXX) |
| 55 | + "selectedPoolPreset": -1, |
| 56 | + // Stored pool presets |
| 57 | + "poolPresets": [] |
| 58 | + }, |
| 59 | + // "Log" Settings |
| 60 | + "logs": { |
| 61 | + "logLevel": "INFO", // Change logger level. accepted values: "DEBUG" | "INFO" | "WARNING" | "ERROR" | "CRITICAL" |
| 62 | + "flushOnClose": false, // Enable/Disable flush log file on application close. |
| 63 | + "maxLogSize": 1024, // Set max log size in KB. Max value 4098kb or 4MB. |
| 64 | + "onMaxLogSize": 0 // Log behavior once log file reaches maxLogSize. 0 = "Flush", 1 = "Rotate" |
| 65 | + }, |
| 66 | + // "Instance" settings (Top menu bar) |
| 67 | + "instance": { |
| 68 | + "geometry": [], |
| 69 | + // "Options" menu |
| 70 | + "options": { |
| 71 | + "alwaysOpenIP": false, // Enable/Disable always open received IP address in default browser. |
| 72 | + "disableInactiveTimer": false, // Enable/Disable the inactive listening timer. |
| 73 | + "autoStartOnLaunch": false, // Enable/Disable auto start listeners on application launch. |
| 74 | + "clearTableOnStop": false, // Enable/Disable clear ID Table data when listening is stopped. |
| 75 | + "confirmsStayOnTop": false // Enable/Disable IP Confirmations stay on top of desktop. |
143 | 76 | }, |
144 | | - "instance": { |
145 | | - "geometry": { |
146 | | - "mainWindow": [] |
147 | | - }, |
148 | | - "options": { |
149 | | - "alwaysOpenIPInBrowser": false, |
150 | | - "disableInactiveTimer": false, |
151 | | - "autoStartOnLaunch": false |
152 | | - }, |
153 | | - "table": { |
154 | | - "enableIDTable": false |
155 | | - } |
| 77 | + "views": { |
| 78 | + "showIDTable": false, // Enable/Disable the ID Table view. |
| 79 | + "showPoolConfigurator": false // Enable/Disable the Pool Configurator view. |
156 | 80 | } |
| 81 | + } |
157 | 82 | } |
158 | 83 | ``` |
0 commit comments