mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-13 06:28:59 +00:00
54 lines
1.4 KiB
Markdown
54 lines
1.4 KiB
Markdown
---
|
|
layout: page
|
|
title: "Fixer.io"
|
|
description: "Instructions on how to integrate exchange rates from Fixer.io within Home Assistant."
|
|
date: 2016-06-20 10:00
|
|
sidebar: true
|
|
comments: false
|
|
sharing: true
|
|
footer: true
|
|
ha_category: Finance
|
|
logo: fixer-io.png
|
|
ha_iot_class: "Cloud Polling"
|
|
ha_release: 0.23
|
|
---
|
|
|
|
|
|
The `fixer` sensor will show you the current exchange rate from [Fixer.io](http://fixer.io/) which is using data from the [European Central Bank (ECB)](https://www.ecb.europa.eu).
|
|
|
|
To get an overview about the available [currencies](https://fixer.io/symbols).
|
|
|
|
## {% linkable_title Setup %}
|
|
|
|
You need to create an [API key](https://fixer.io/product). There is a rate limit of 1000 calls per month.
|
|
|
|
## {% linkable_title Configuration %}
|
|
|
|
To enable this sensor, add the following lines to your `configuration.yaml` file:
|
|
|
|
```yaml
|
|
# Example configuration.yaml entry
|
|
sensor:
|
|
- platform: fixer
|
|
api_key: YOUR_API_KEY
|
|
target: CHF
|
|
```
|
|
|
|
{% configuration %}
|
|
api_key:
|
|
description: Your API key for [Fixer.io](http://fixer.io/).
|
|
required: true
|
|
type: string
|
|
target:
|
|
description: The symbol of the target currency.
|
|
required: true
|
|
type: string
|
|
name:
|
|
description: Name to use in the frontend.
|
|
required: false
|
|
type: string
|
|
default: Exchange rate
|
|
{% endconfiguration %}
|
|
|
|
Details about the API are available in the [Fixer.io documentation](https://fixer.io/documentation).
|