coinbase component lets you access account balances and exchange rates from coinbase.
You will need to obtain an API key from coinbase’s developer site to use this component. You need to give read access to
wallet:accounts in order for the component to access relevant data.
To set it up, add the following information to your
# Example configuration.yaml entry coinbase: api_key: YOUR_API_KEY api_secret: YOUR_API_SECRET
(string)(Required)Your API key to access coinbase.
(string)(Required)Your API secret to access coinbase.
(list)(Optional)List of currencies to create account wallet sensors for.
Default value: all account wallets
(list)(Optional)List of currencies to create exchange rate sensors for.
Possible currencies are codes that conform to the ISO 4217 standard where possible. Currencies which have or had no representation in ISO 4217 may use a custom code (e.g. BTC). A list of values can be obtained via https://api.coinbase.com/v2/currencies, for more information visit the Coinbase API documentation.
A full configuration sample including optional variables:
# Example configuration.yaml entry coinbase: api_key: YOUR_API_KEY api_secret: YOUR_API_SECRET account_balance_currencies: - EUR - BTC exchange_rate_currencies: - BTC - ETH - LTC