6c0a39e7c7
- update readme install instructions - update badge links |
||
---|---|---|
.devcontainer | ||
.github | ||
.vscode | ||
custom_components/nicehash | ||
.gitattributes | ||
.gitignore | ||
CONTRIBUTING.md | ||
hacs.json | ||
info.md | ||
LICENSE | ||
README.md | ||
setup.cfg |
NiceHash Home Assistant Integration
Component to integrate with NiceHash
This component will set up the following platforms.
Platform | Description |
---|---|
sensor |
Show info from NiceHash API |
Installation
- Using the tool of choice open the directory (folder) for your HA configuration (where you find
configuration.yaml
). - If you do not have a
custom_components
directory (folder) there, you need to create it. - In the
custom_components
directory (folder) create a new folder callednicehash
. - Download all the files from the
custom_components/nicehash/
directory (folder) in this repository. - Place the files you downloaded in the new directory (folder) you created.
- Generate NiceHash API key
- Supported API Permissions
- Wallet Permissions > View balances...
- Mining Permissions > View mining data...
- See this repository for assistance
- Supported API Permissions
- Add
nicehash
toconfiguration.yaml
nicehash: organization_id: <org_id> api_key: <api_key_code> api_secret: <api_secret_key_code>
- Restart Home Assistant
Using your HA configuration directory (folder) as a starting point you should now also have this:
custom_components/nicehash/translations/en.json
custom_components/nicehash/__init__.py
custom_components/nicehash/const.py
custom_components/nicehash/manifest.json
custom_components/nicehash/sensor.py
Contributions are welcome!
If you want to contribute to this please read the Contribution guidelines