Oh, yeah, I see how that would work. Rather than doing API-allow for the whole LAN, we could just do it for our stats aggregation server. This would only give the data that cgminer has access to, though. No ASIC temps, clocks, power consumption, etc. Also, it would require a small mod to the firmware for each miner, which isn't a big deal, but it is a moderate-sized deal.
Zvi, is there another remote API for getting stats from the miners that includes the Spondoolies-specific stuff, or am I hunting unicorns?
https://github.com/Spondoolies-Tech/minepeon/blob/Spond0.1/http/monitor.phpLooks like the stats in the UI are read from files created by the various software parts. One can do that if the thing resides in the same location as the rest of the UI.
If you authenticate to the miner's HTTP, you I guess you can access the JSON offered by the "monitor.php" as output .. like an api call.
One can hit password protected areas with the username and passwords in the URL call. It's a webserver ..