Open pixeldoc2000 opened 3 days ago
I was already using the API to pull the data into Home Assistant (back in 2.1.4) but I found the BitAxe devices stopped responding to web page requests after a while. So I stopped logging the data.
I do second being able to access and log the data in a way that doesn't stop the devices operating.
@HypeLaser There are some fixed to memory leaks and stuff in current firmware, maybe the problem is already fixed with 2.1.8 .
Other than that, the esp isn't the most powerful device and has to deal with a lot of things. We should limit the requests to the device.
Maybe test again with the current FW.
Update: basic Bitaxe Support was added to pyasic master, thanks to https://github.com/b-rowan and https://github.com/UpstreamData .
Let get pyasic support for Bitaxe (esp-miner) rolling.
Then we can monitor and control Bitaxe with Home Assistant and hass-miner integration via pyasic to have a simple automation going. For example: mining when enough Solar power is available or restarting Bitaxe if connection with pool is lost.
Created a Feature Request in pyasic Repo too: https://github.com/UpstreamData/pyasic/issues/165