Want to keep track of Ethereum in Home Assistant? Try the ethermine.org integration

Disclosure: This post contains affiliate links. If you click through and make a purchase, I will earn a commission, at no additional cost to you. Read my full disclosure here.

Cryptocurrencies and crypto mining have taken centre stage in recent years, like a Shakespearean drama unfolding in the world of digital finance. With this in mind, it's no wonder that Thomas Prior has developed a custom integration for Home Assistant that pulls data from the Ethereum mining pool ethermine.org, transforming it into a sensor for your favourite home automation tool. If you've ever dreamed of emulating Gilfoyle's crypto mining alerts while driving your coworkers up the wall, now's your chance.

Though my technical prowess is strong, my allegiance to the world of cryptocurrencies wavers. Decentralization has its merits, but the environmental havoc wreaked by crypto mining is a steep price to pay. Alas, the electricity devoured by this process is a significant player in global greenhouse gas emissions—a harsh reality that cannot be ignored.

YouTube video

Installing the EthermineInfo custom integration: a walk in the park

Much like a vinyl record stuck on repeat, I must once again emphasize that the EthermineInfo Home Assistant integration is best installed via HACS (Home Assistant Community Store). If HACS remains a stranger to your Home Assistant, I highly recommend extending an invitation by following the instructions on their website. Those who dabble in custom integrations, unofficial Lovelace cards, or themes will find HACS invaluable in keeping everything shipshape. Simply add the repository to HACS, and you're off to the races:

https://github.com/ThomasPrior/EthermineInfo

With the integration installed, a touch of YAML magic will conjure up a new sensor using the EthermineInfo custom integration:

sensor:
  - platform: ethermineinfo
    miner_address:
    currency_name:
    name_override:

Your ethermine.org miner address, a string of 42 characters (starting with 0x) or 40 characters (sans 0x), serves as your digital calling card. Choose your desired currency for unpaid balance conversions, be it ETH (Ethereum), USD (United States Dollar), BTC (Bitcoin), EUR (Euro), CNY (Chinese Yuan), or RUB (Russian Ruble). The optional final parameter can be set to override the miner's address with any string, allowing for effortless identification.

Tracking the digital gold rush with EthermineInfo

The EthermineInfo custom integration keeps tabs on a wealth of data via the etherinfo.org API: unpaid balance, unconfirmed balance, reported hash rate, average hash rate, current hash rate, valid shares, invalid shares, stale shares, active workers, and balance in local currency. Payouts are also monitored, with details such as paid-on date, amount, transaction hash, and value in local currency.

The ApexCharts Card being used to display Etherium information from ethermine.org
Various graphs created using the ApexCharts Card
The Mini Graph Card being used to display Etherium information from ethermine.org
Various graphs created using the Mini Graph Card

In my humble opinion, the best way to showcase this trove of information is through a captivating graph. While the default History Graph Card is serviceable, those with a discerning eye will opt for the Mini Graph Card or ApexCharts Card when configuring their Home Assistant dashboard.

2 thoughts on “Want to keep track of Ethereum in Home Assistant? Try the ethermine.org integration”

  1. Hello!

    Tom Prior here, author of the component. Just wanted to say thanks for taking the time to write this up and I appreciate the added reach this provides.

    If I can ever return the favour please drop me a message.

    Tom

    Reply
    • iHi Tom. What an honour😊 Thank you for improving Home Assistant. I don’t know what you could do for me except letting me know if there’s anything new you make! Thanks, Liam

      Reply

Leave a comment

Share to...