Bitcoin

The bitcoin sensor platform displays various details about the Bitcoin network.

To add the Bitcoin sensor to your installation, add a selection of the available display options to your configuration.yamlThe configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file. After changing the configuration.yamlThe configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file, restart Home Assistant to apply the changes. The integration is now shown on the integrations page under Settings > Devices & services. Its entities are listed on the integration card itself and on the Entities tab.

# Example configuration.yaml entry
sensor:
  - platform: bitcoin
    display_options:
      - exchangerate
      - trade_volume_btc

Configuration Variables

currency string (Optional, default: USD)

The currency to exchange to, e.g., CHF, USD, EUR, etc.

display_options list Required

Options to display in the frontend.

exchangerate

Exchange rate of 1 BTC

trade_volume_btc

Trade volume

miners_revenue_usd

Miners revenue

btc_mined

BTC mined

trade_volume_usd

Trade volume in USD

difficulty

Difficulty

minutes_between_blocks

Time between blocks in minutes

number_of_transactions

Number of transactions

hash_rate

Hash rate in PH/s

timestamp

Timestamp

mined_blocks

Mined Blocks

blocks_size

Block size

total_fees_btc

Total fees in BTC

total_btc_sent

Total sent in BTC

estimated_btc_sent

Estimated sent in BTC

total_btc

Total of BTC

total_blocks

Total Blocks

next_retarget

Next retarget

estimated_transaction_volume_usd

Estimated transaction volume in BTC

miners_revenue_btc

Miners revenue in BTC

market_price_usd

Market price in USD