home-assistant.io/source/_components/sensor.blockchain.markdown
2017-11-16 21:05:16 +01:00

37 lines
964 B
Markdown

---
layout: page
title: "Blockchain.info"
description: "Instructions how to integrate Blockchain.info data within Home Assistant."
date: 2017-06-01 16:20
sidebar: true
comments: false
sharing: true
footer: true
logo: blockchain.png
ha_category: Finance
ha_release: 0.47
ha_iot_class: "Cloud Polling"
---
The `Blockchain` sensor platform displays Bitcoin wallet balances from [blockchain.info](https://blockchain.info).
To add the Blockchain sensor to your installation, specify a list of bitcoin addresses to watch in the `configuration.yaml` file. The sensor state will be the sum of the balances of all addresses listed.
```yaml
# Example configuration.yaml entry
sensor:
- platform: blockchain
addresses:
- '1BMsHFczb2vY1BMDvFGWgGU8mkWVm5fupp'
- '183J5pXWqYYsxZ7inTVw9tEpejDXyMFroe'
```
{% configuration %}
addresses:
description: List of bitcoin wallet addresses to watch.
required: true
type: string, list
{% endconfiguration %}