@EWBF : how's that --pec option supposed to work ? i don't see any power efficiency infos in the console nor the log.
Hello, tell me how to get the API data? Use the --api and in the browser trying to go to ip:port, but in return get nothing.
Use a raw tcp request like so
echo "{\"id\":1, \"method\":\"getstat\"}\n" | nc 127.0.0.1 4444
you will get a json that you can parse for infos
example for getting total hashrate
echo "{\"id\":1, \"method\":\"getstat\"}\n" | nc 127.0.0.1 4444 |jq "." |grep -i speed_sps |sed 's/[^0-9]*//g'|awk '{s+=$1} END {print s}'