Open Exchange Rates
The openexchangerates
sensor will show you the current exchange rate from Open Exchange Rates that provides realtime exchange rates for 170 currencies. The free account is limited to only USD as a base currency, allows 1000 requests per month, and updates every hour.
Obtain your API key here
To enable this sensor, add the following lines to your configuration.yaml
file:
# Example configuration.yaml entry
sensor:
- platform: openexchangerates
api_key: YOUR_API_KEY
quote: EUR
Configuration Variables
- name
-
(string)(Optional)The name of the sensor.
Default value: Exchange Rate Sensor
- api_key
-
(string)(Required)The API Key for Open Exchange Rates.
- quote
-
(string)(Required)The symbol of the quote or target currency.
- base
-
(string)(Optional)The symbol of the base currency.
Default value: USD