💵 Custom NiceHash integration for Home-Assistant
This is a custom integration for NiceHash.
It will enable you to collect:
All the values which represent a BTC amount generate 2 sensors:
custom_components/nicehash
into your custom_components/nicehash folder
.You'll need to create an API key in NiceHash for this integration to work:
head over to your NiceHash account settings
Go into the API Keys menu
In this menu at the top, you'll find your Organisation ID which is required to later setup the integration in Home-Assistant
click CREATE NEW API KEY
This will present you with this popup:
:warning: Make sure you configure it like the above picture (DO NOT ENABLE ANY OF THE OTHER SETTINGS, this is at your own risk)
Click on GENERATE API KEY
This will give you 2 strings, note them down, you can't retrieve them later on:
Validate the popup and enable the API Key (it will be through email)
Once that is done, head over to Home-Assistant and add the integration from the integration menu:
It is best to use apexcharts-card (more flexibility) or mini-graph-card (less flexibility) to display the data from those sensors.