CoinMarketCap


The coinmarketcap sensor platform displays various details about a cryptocurrency provided by CoinMarketCap.

To add the CoinMarketCap sensor to your installation, add the following lines to your configuration.yaml:

# Example configuration.yaml entry
sensor:
  - platform: coinmarketcap

Configuration Variables

currency_id

(integer)(Optional)

The ID of the cryptocurrency to use, default is the ID of Bitcoin.

Default value:

1

display_currency

(string)(Optional)

The currency to display.

Default value:

USD

display_currency_decimals

(integer)(Optional)

The amount of decimals to round to.

Default value:

2

All supported currencies can be found here, a list of currency IDs can be found here.