EWBF api - this is the first option that I tried, but it doesn't work also.
"ewbf" {
$Message = @{id = 1; method = "getstat"} | ConvertTo-Json -Compress
$Request = Invoke-TCPRequest $Server $port $message 5
if ($Request) {
$Data = $Request | ConvertFrom-Json
$HashRate = [double](($Data.result.speed_sps) | Measure-Object -Sum).Sum
}
}
Do you have any idea what could be wrong here?
Also please write me a private message.