Post
Topic
Board Mining (Altcoins)
Re: [Awesome Miner]- Powerful Windows GUI to manage and monitor up to 5000 miners
by
dnyt
on 24/11/2017, 14:25:17 UTC
The command is --telemetry=0.0.0.0:4029 instead of --api ...

Then you can query it via browser or json query.

It would take somebody from Awesome Miner, to add support for stats, patrike?
There is a sample json-rpc.txt file in the folder:

Request:
-->{"id":1, "method":"getstat"}

Response:
<--{
    "id": 1,
    "result": [{
        "gpu_id":          0,         // GPU CUDA id
        "temperature":     0,         // current GPU temperature
        "sol_ps":          0.00,      // current Sol/s
        "avg_sol_ps":      0.00,      // average Sol/s
        "sol_pw":          0.00,      // current Sol/s / Watt
        "avg_sol_pw":      0.00,      // average Sol/s / Watt
        "power_usage":     0.00,      // current power usage
        "avg_power_usage": 0.00,      // average power usage
        "accepted_shares": 0,         // total amount of accepted shares
        "rejected_shares": 0,         // total amount of rejected shares
        "latency":         0          // network latency
    }],

    "uptime":   0,                    // uptime in seconds
    "contime":  0,                    // connection time in seconds (gets reset on reconnect)
    "server":   "myserver.com",       // server name
    "port":     0000,                 // port
    "user":     "username",           // username
    "version":  "0.5.4",              // zm version
    "error":    null
}


IS IT POSSIBLE TO ADD SUPPORT OF "dstm-zcash" MINER ?

I can get this to work, but only by using it as a custom miner within Awesome Miner, the problem is Awesome Miner does not get any data back from the miner so no stats are displayed.

Patrike,

Below is the diagnostic output...  I hope you can fix / add this in Awesome Miner soon.



Starting Diagnostics
Starting Mining Software
Setting up Miner Engine. Instance: 2
Engine Type: 7, Auto Download: False, EnginePath: D:\NiceHashMiner\zm_0.5.5_win\zm.exe, Subtype: Disabled, CustomExecutable:
Added rule for: D:\NiceHashMiner\zm_0.5.5_win\zm.exe
D:\NiceHashMiner\zm_0.5.5_win\zm.exe  --server equihash.mine.zpool.ca --port 2142 --user --pass c=BTC --api 0.0.0.0:4029   (WindowMode: ConsoleFormat, EngineType: 7, IsProfitMiner: True)
Configuration:

Mining Engine Process started, PID: 10476

====================================================================================================
> #  zm 0.5.5
> #  GPU0 + GeForce GTX 1070         MB: 8192 PCI: 1:0
> #  GPU1 + GeForce GTX 1070         MB: 8192 PCI: 8:0
>
> #  GPU0  connected to: equihash.mine.zpool.ca:2142
> #  GPU1  connected to: equihash.mine.zpool.ca:2142
> #  GPU0  server supports extranonce
> #  GPU1  server supports extranonce
> #  GPU0  server set difficulty to: 00002003e07c0f81f0000000...
> #  GPU1  server set difficulty to: 00002003e07c0f81f0000000...

====================================================================================================
Stopping miner process ...
Stopping Mining Software
> D:\NiceHashMiner\zm_0.5.5_win\zm.exe: unknown option -- api
Diagnostics completed