pyasic icon indicating copy to clipboard operation
pyasic copied to clipboard

Add support for Avalon Mini 3

Open hugochar opened this issue 1 year ago • 4 comments

Could you add the avalon Mini 3 pls 😊

hugochar avatar Oct 22 '25 20:10 hugochar

I support hugochar's support request for the Avalon Mini 3 :) pls pls

dikarlgruber-max avatar Nov 09 '25 16:11 dikarlgruber-max

Support for Avalon Mini 3 is available! See Doku: https://docs.pyasic.org/en/latest/miners/avalonminer/nano/#avalon-nano-3-stock

cniweb avatar Dec 10 '25 20:12 cniweb

Support for Avalon Mini 3 is available! See Doku: https://docs.pyasic.org/en/latest/miners/avalonminer/nano/#avalon-nano-3-stock

@cniweb "Mini 3" is not "Nano 3"

Partiolainen avatar Dec 10 '25 20:12 Partiolainen

I'd like to emphasize the importance of adding proper support for the Canaan Avalon Mini 3 (not to be confused with the Nano 3, as @Partiolainen correctly pointed out).

Use Case: Home Assistant Integration

The Avalon Mini 3 is an ideal device for integration with Home Assistant via hass-miner, particularly for:

  • Remote temperature monitoring - Using the miner as a distributed thermometer
  • Heat reuse applications - Monitoring and controlling miners for home heating
  • Solar mining setups - Dynamic power management based on available solar energy

This is tracked in hass-miner issue #568.

Technical Information Available

User @hanleyp has already provided detailed API outputs from an Avalon Mini 3 in issue #312, including:

  • version command output showing: PROD=Avalon Mini3,MODEL=Mini3,HWTYPE=M_MM1v1_X1
  • Complete stats output with temperature sensors (ITemp, OTemp, HBTemp, TMax, TAvg)
  • devs and devdetails output

Why This Matters

Since hass-miner relies entirely on pyasic for miner communication, adding Avalon Mini 3 support here would immediately enable:

  • Automatic device detection
  • Temperature sensor exposure to Home Assistant
  • Power monitoring and control
  • Remote management capabilities

The device appears to use standard CGMiner API (port 4028), which should make implementation relatively straightforward based on the data in issue #312.

Would it be possible to prioritize this addition? The device is perfect for home automation use cases, and there's clearly community demand (multiple users requesting this feature).

Thank you for maintaining this excellent library! 🙏

cniweb avatar Dec 17 '25 22:12 cniweb