Skip to content

A Home Assistant Integration for the cryptocurrency trading platform Binance.

Notifications You must be signed in to change notification settings

lowprize/home-assistant-binance

 
 

Repository files navigation

hacs_badge hacs_badge

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Binance Logo

Binance Integration for Home Assistant

A Home Assistant Integration for the cryptocurrency trading platform Binance.

Features:

  • pull prices of a configurable list of currency pairs (e.g. BTCUSDT, XRPBTC...)
  • additional attributes for each currency pair (priceChange, highPrice, lowPrice, volume, ...)
  • support configuration via the UI
  • fetch personal account balance over secured api

screenshot_2 screenshot_1

Installation

I recommend to install this integration via HACS. Simply search for it
or manually add this repository by using the "three-dots-menu" at the top right in HACS.

Configuration

Configure the sensor(s) in configuration.yaml.

- platform: binance
  symbols:
    - BTCUSDT
    - ETHUSDT
- platform: template
  sensors:
    cena_btc:
      value_template: '{{ (states("sensor.binance_ticker_btcusdt")) | round(0)}}'
      friendly_name: 'BTCUSDt'
      unit_of_measurement: 'USD'
      device_class: monetary
      icon_template: mdi:currency-btc
    cena_eth:
      value_template: '{{ (states("sensor.binance_ticker_ethusdt")) | round(0)}}'
      friendly_name: 'ETHUSDt'
      unit_of_measurement: 'USD'
      device_class: monetary
      icon_template: mdi:currency-eth

About

A Home Assistant Integration for the cryptocurrency trading platform Binance.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%