How is the API looks like? Do you take a API format from another miner to see hashrate and so on in HiveOS?
Hello Sir.
Well, the API does not mimic any existing miner at the moment, but is indeed used by the custom miner package we did build for HiveOS. In fact the current Api was heavily inspired by the requirements of the Hive custom miner packages, but it is not final yet. For example we plan to add the GPU names, the watts consumed as well as the accepted and rejected shares per graphic card in the next version.
At the moment the API output is a json file over http (so it can be requested via curl) with the following format - here an example of a 3070 LHR + 3070 FHR on moderate clocks.
{
"total_hs": 102656.72095372647,
"hs": [41565.117000464095, 61091.603953262376],
"hs_units": "khs",
"temp": [48,61],
"fan": [40,44],
"uptime": 390,
"ver": "21.12.15",
"ar": [12,0],
"bus_numbers": [2,3]
}
You see the interface is very basic at the moment, but in our opinion a solid base to build upon.
I'm really happy with the integration with HiveOS... it really make easy to mine and to controll it many thanks!! I have try also LHR. I have to be honest, it is not the best at the moment, but it hasn't get locked in all the test I did. I hope there will be more improvements .
There are also some youtubers showing how to install it:
https://www.youtube.com/watch?v=6b7KxXS9aGM