A Home Assistant integration that creates a collection of NiceHash account balance, rig, and individual device sensors.
None of the sensors are added by default. See installation instructions for available configuration options.
These instructions assume you have a NiceHash account and an API key.
Supported API permissions and associated sensors
See this repository for further assistance generating an API key.
nicehash
to configuration.yaml
nicehash:
organization_id: # <org_id>
api_key: # <api_key_code>
api_secret: #<api_secret_key_code>
currency: EUR # (default = USD)
balances: true # (default = false) - Enable balance sensors
rigs: true # (default = false) - Enable rig sensors
devices: true # (default = false) - Enable device sensors
payouts: true # (default = false) - Enable payout sensors
configuration.yaml
).custom_components
directory (folder) there, you need to create it.custom_components
directory (folder) create a new folder called nicehash
.custom_components/nicehash/
directory (folder) in this repository.nicehash
to configuration.yaml
nicehash:
organization_id: # <org_id>
api_key: # <api_key_code>
api_secret: #<api_secret_key_code>
currency: EUR # (default = USD)
balances: true # (default = false) - Enable balance sensors
rigs: true # (default = false) - Enable rig sensors
devices: true # (default = false) - Enable device sensors
payouts: true # (default = false) - Enable payout sensors
If you want to contribute to this please read the Contribution guidelines