Post
Topic
Board Hardware
Re: Official FutureBit Apollo BTC Software/Image and Support thread
by
wavelengthsf
on 16/08/2021, 23:26:19 UTC

Not sure I understand.  Is there an API?  Who is adding what to what?


As far as I know, there's no built-in API like cgminer has. However, the miner itself writes a JSON file that has it's current stats. You can parse this and it will show things like Uptime, Hashrate (calculated in different ways), Temperature, Current Pool, Share info, and power info.

I have a cron job that copies this file into my Apache folder, and then from there I use it to show a mining dashboard. I think other tools like AwesomeMiner would have to do something similar.