Coinbase
The coinbase
integration lets you access account balances and exchange rates from Coinbase
You will need to obtain an API key from the API section in Coinbase’s User Settingsorganizations/XXXXX/apiKeys/XXXXX
and -----BEGIN EC PRIVATE KEY-----\nXXXXXXXXXXXXXXXXX\n-----END EC PRIVATE KEY-----\n
respectively. When creating your API key, it is highly recommended to ensure that only the View box is ticked in the API restrictions section.
配置
要将 Coinbase integration 添加到您的 Home Assistant 实例中,请使用此 My 按钮:
手动配置步骤
如果上述 My 按钮不起作用,您也可以手动执行以下步骤:
-
浏览到您的 Home Assistant 实例。
-
转到
设置 > 设备与服务。 -
在右下角,选择
Add Integration 按钮。 -
从列表中选择 Coinbase。
-
按照屏幕上的说明完成设置。
选项
Coinbase 的选项可以通过用户界面设置,具体步骤如下:
- 浏览到您的 Home Assistant 实例。
- 转到 设置 > 设备与服务。
- 如果配置了多个 Coinbase 实例,请选择您想配置的实例。
- 选择集成,然后选择 配置。
Currency used as the currency unit for exchange rate sensors. The default is US Dollar (USD).
The number of decimals calculated in exchange rate sensors, a smaller number of decimal places may be returned when the upstream data from Coinbase lacks sufficient precision, this is usually the case when the exchange rate is much larger than the base currency and thus should have no significant effect on calculations.