home-assistant.io/source/_components/sensor.bitcoin.markdown
2017-06-02 08:36:38 +02:00

1.7 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release, ha_iot_class
layout title description date sidebar comments sharing footer logo ha_category ha_release ha_iot_class
page Bitcoin Instructions how to integrate Bitcoin data within Home Assistant. 2015-05-08 17:15 true false true true bitcoin.png Finance pre 0.7 Cloud Polling

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.yaml file:

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

Configuration variables:

  • currency (Optional): The currency to exchange to, eg. CHF, USD, EUR, etc. Default is USD.
  • display_options array (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: Minded 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