Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Bitaxe - Exergy Home Assistant Integration

Monitor AND control your Bitaxe mining devices directly in Home Assistant. Full local control with no cloud dependency.

Before You Start

Before installing this integration:

  1. Home Assistant 2024.1.0 or newer - This integration requires HA 2024.1.0+.

  2. HACS installed - This is a custom integration distributed via HACS. See our system configuration guide if you need to set up HACS.

  3. Bitaxe running ESP-Miner firmware - Your device must be running compatible ESP-Miner firmware.

  4. Bitaxe IP address - The local IP where your Bitaxe is accessible.

What is Bitaxe?

Bitaxe is an open-source, ASIC-based bitcoin miner designed for home use. Key features:

  • Open hardware - Fully open-source hardware design
  • Compact - Small form factor for desktop/home use
  • Local-only - No cloud services required
  • Customizable - Adjustable frequency, voltage, and fan settings

Integration Features

The Exergy Bitaxe integration provides comprehensive monitoring AND control:

Sensors

SensorEntity ExampleDescription
Hashratesensor.bitaxe_hashrateCurrent hashrate
Hashrate (1 min avg)sensor.bitaxe_hashrate_1m1-minute average hashrate
Hashrate (5 min avg)sensor.bitaxe_hashrate_5m5-minute average hashrate
Hashrate (1 hr avg)sensor.bitaxe_hashrate_1h1-hour average hashrate
Hashrate (24 hr avg)sensor.bitaxe_hashrate_24h24-hour average hashrate
Shares Acceptedsensor.bitaxe_shares_acceptedTotal accepted shares
Shares Rejectedsensor.bitaxe_shares_rejectedTotal rejected shares
Error Ratesensor.bitaxe_error_rateShare error rate percentage
Chip Temperaturesensor.bitaxe_chip_temperatureASIC chip temperature
VR Temperaturesensor.bitaxe_vr_temperatureVoltage regulator temperature
Input Voltagesensor.bitaxe_input_voltageInput voltage
Core Voltagesensor.bitaxe_core_voltageASIC core voltage (mV)
Powersensor.bitaxe_powerPower consumption (W)
Fan Speedsensor.bitaxe_fan_speedFan speed percentage
Uptimesensor.bitaxe_uptimeDevice uptime

Switches

SwitchEntity ExampleDescription
Auto Fan Speedswitch.bitaxe_auto_fanToggle automatic fan speed control
Overclock Enabledswitch.bitaxe_overclockToggle overclocking mode
Invert Screenswitch.bitaxe_invert_screenInvert display colors

Number Controls

ControlEntity ExampleRangeDescription
Core Voltagenumber.bitaxe_core_voltage1000-1400 mVASIC core voltage
Frequencynumber.bitaxe_frequency100-1000 MHzASIC clock frequency
Fan Speednumber.bitaxe_fan_speed0-100%Manual fan speed (when auto off)
Temp Targetnumber.bitaxe_temp_target30-100 CTarget temperature for auto fan
Display Timeoutnumber.bitaxe_display_timeout-1 to 240 minScreen timeout duration
Stats Frequencynumber.bitaxe_stats_frequency0-600 secStats update frequency

Select Controls

ControlEntity ExampleOptionsDescription
Screen Rotationselect.bitaxe_screen_rotation0, 90, 180, 270Display rotation angle

Buttons

ButtonEntity ExampleDescription
Update Firmwarebutton.bitaxe_updateTrigger OTA firmware update
Restartbutton.bitaxe_restartRestart the device
Identifybutton.bitaxe_identifyFlash screen/LED to identify device

Note: Entity IDs are generated based on your device name. Find actual IDs at Settings > Devices & Services > Bitaxe > [your device].

Installation

Step 1: Install via HACS

  1. Open Home Assistant
  2. Navigate to HACS > Integrations
  3. Click + Explore & Download Repositories
  4. Search for “Exergy Bitaxe”
  5. Click Download
  6. Restart Home Assistant

Step 2: Add Your Bitaxe

  1. Go to Settings > Devices & Services
  2. Click + Add Integration
  3. Search for “Bitaxe”
  4. Enter your configuration:
SettingDefaultDescription
IP AddressYour Bitaxe’s local IP address
Port80HTTP port (usually 80)
Scan Interval15 secHow often to poll for updates (5-300 sec)
  1. Click Submit

Step 3: Verify

The integration creates a device with all sensors and controls. Check the device page to see all available entities.

Finding Your Bitaxe IP Address

Method 1: Router Admin Panel

  1. Log into your router’s admin interface
  2. Look for “Connected Devices” or “DHCP Leases”
  3. Find the device named “Bitaxe” or similar
  4. Note the IP address

Method 2: Bitaxe Web Interface

If you’ve previously accessed your Bitaxe, check your browser history for the IP.

Method 3: Network Scanner

Use a network scanning app:

  • Fing (iOS/Android)
  • Advanced IP Scanner (Windows)
  • nmap (Linux/Mac)

Tip: Set a static IP or DHCP reservation for your Bitaxe to prevent the address from changing.

Dashboard Integration

Create a comprehensive Bitaxe control panel:

type: vertical-stack
cards:
  - type: entities
    title: Bitaxe Status
    entities:
      - entity: sensor.bitaxe_hashrate
        name: Hashrate
      - entity: sensor.bitaxe_chip_temperature
        name: Chip Temperature
      - entity: sensor.bitaxe_power
        name: Power
      - entity: sensor.bitaxe_shares_accepted
        name: Accepted Shares
      - entity: sensor.bitaxe_error_rate
        name: Error Rate

  - type: entities
    title: Bitaxe Controls
    entities:
      - entity: switch.bitaxe_auto_fan
        name: Auto Fan
      - entity: number.bitaxe_fan_speed
        name: Fan Speed
      - entity: number.bitaxe_frequency
        name: Frequency
      - entity: number.bitaxe_core_voltage
        name: Core Voltage

Automation Ideas

Temperature Protection

automation:
  - alias: "Bitaxe overheat protection"
    trigger:
      - platform: numeric_state
        entity_id: sensor.bitaxe_chip_temperature
        above: 75
    action:
      - service: number.set_value
        target:
          entity_id: number.bitaxe_frequency
        data:
          value: 400
      - service: notify.mobile_app
        data:
          message: "Bitaxe temperature high - reduced frequency"

Scheduled Performance Mode

automation:
  - alias: "Bitaxe night performance mode"
    trigger:
      - platform: time
        at: "23:00:00"
    action:
      - service: number.set_value
        target:
          entity_id: number.bitaxe_frequency
        data:
          value: 575

  - alias: "Bitaxe day efficiency mode"
    trigger:
      - platform: time
        at: "07:00:00"
    action:
      - service: number.set_value
        target:
          entity_id: number.bitaxe_frequency
        data:
          value: 450

Low Hashrate Alert

automation:
  - alias: "Bitaxe low hashrate alert"
    trigger:
      - platform: numeric_state
        entity_id: sensor.bitaxe_hashrate_1h
        below: 400
        for:
          minutes: 30
    action:
      - service: notify.mobile_app
        data:
          message: "Bitaxe hashrate dropped below 400 GH/s"

Tuning Your Bitaxe

The integration gives you full control over performance parameters:

Frequency vs Efficiency

FrequencyTypical HashratePowerNotes
400 MHz~400 GH/sLowMost efficient
500 MHz~500 GH/sMediumBalanced
575 MHz~575 GH/sHigherPerformance

Voltage Guidelines

  • Start at stock voltage
  • Increase in small increments (25mV) if unstable at higher frequencies
  • Monitor error rate - keep below 1-2%

Temperature Management

  • Auto fan mode maintains target temperature
  • Lower target = more noise, better stability
  • Recommended: 55-65C target

Troubleshooting

Integration not finding Bitaxe

  1. Verify Bitaxe is powered and connected to network
  2. Confirm IP address is correct
  3. Try accessing Bitaxe web interface directly (http://[IP_ADDRESS])
  4. Check that port 80 is not blocked

Controls not responding

  1. Some controls require firmware support
  2. Check you’re running compatible ESP-Miner firmware
  3. Reload the integration after firmware updates

High error rate

  1. Reduce frequency in small steps
  2. Increase core voltage slightly
  3. Improve cooling
  4. Check power supply stability

Entities showing “Unavailable”

  1. Ping the device to confirm it’s online
  2. Reload the integration: Settings > Devices & Services > Bitaxe > ⋮ > Reload
  3. Check Home Assistant logs for specific errors

What’s Next?

Monitor Pool Stats

Build a Dashboard

Set Up Automations

Source Code & Support