- Make sure that HACS is installed
- Add the URL for this repository as a custom repository in HACS
- Install via
HACS -> Integrations
In order to use this integration, you need to first Register an account with SBICrypto, and then generate an API key from the "API Access" settings section.
To use this component in your installation, add the following to your configuration.yaml
file:
sbicrypto_pool:
api_key: !secret sbicrypto_api_key
api_secret: !secret sbicrypto_api_secret
Key | Type | Required | Description | Default |
---|---|---|---|---|
name |
string | No | Name for the created sensors | SBICrypto |
api_key |
string | Yes | SBICrypto API key | - |
api_secret |
string | Yes | SBICrypto API secret | - |
miners |
array | No | List of pool accounts | - |
sbicrypto_pool:
name: My SBICrypto
api_key: !secret sbicrypto_api_key
api_secret: !secret sbicrypto_api_secret
miners:
- my_account
This configuration will create the following entities in your Home Assistant instance:
- Status sensors for each account, as example:
- "My SBICrypto my_account status" (
sensor.my_sbicrypto_my_account_status
)
- "My SBICrypto my_account status" (
- Worker's sensors for each bundle (account + algo + worker)> as example
- "My SBICrypto my_account.1023 worker" (
sensor.my_sbicrypto_my_account_1023_worker
)
- "My SBICrypto my_account.1023 worker" (
The name
you specify will be used as a prefix for all the sensors this integration creates. By default, the prefix is simply "SBICrypto".
An API key and secret from SBICrypto are required for this integration to function. It is highly recommended to store your API key and secret in Home Assistant's secrets.yaml
file.
A list of pool accounts can be specified here
if You like this component - feel free to donate me
- BTC: 1ALWfyhkniqZjLzckS2GDKmQXvEnzvDfth
- ETH: 0xef89238d7a30694041e64e31b7991344e618923f
- LTC: LeHu1RaJhjH6bsoiqtEwZoZg6K6qeorsRf
- USDT: TFLt756zrKRFcvhSkjSWaXkfEzhv2M55YN