I recently figured out how to talk to my Avalon Mini 3 Bitcoin miner programmatically. Turns out it's surprisingly simple - the device runs CGMiner and exposes a JSON API on port 4028 with zero authentication. Here's everything you need to build your own monitoring app.
The Mini 3 speaks JSON over raw TCP. Open a socket to port 4028, send a command, read the response (null-terminated), done. No HTTP, no auth tokens, no handshakes.
{"command": "stats"}

