skot / ESP-Miner

A bitcoin ASIC miner for the ESP32
GNU General Public License v3.0
373 stars 141 forks source link

Please add the current BitAxeDifficulty (1000, 1024, 2048 ...) to the system information page #482

Open seepv opened 1 week ago

seepv commented 1 week ago

Please add the current BitAxeDifficulty (1000, 1024, 2048 ...) to the system information Page:

Get system information

curl http://YOUR-BITAXE-IP/api/system/info

tdb3 commented 1 week ago

Could you please provide a bit more info on what is desired? For example, the difficulty of the last submitted share? Something else?

WhiteyCookie commented 1 week ago

The api did not provide this kind of information

seepv commented 1 week ago

@tdb3 The main goal is logging e.g. with a graph in NodeRed. My BitAxe (HW 204) seams to ramp up from 1000 to 2048/4096, then down to 1024, but after some time get stuck at 1000. Without this info a verification is hard. The effectiveness (Hashrate) at 1024/2048 seams to be higher than at 1000 but again hard to verify. [ Bitaxe 204; AxeOS v2.3.0 ]

tdb3 commented 1 week ago

Opened PR #489 to address this.