Control the number of mining cores on xmrig from home assistant. The script calls the http interface on xmrig and sets the number of cores used for mining with cn-pico
algorithm. Feel free to edit to your usecase.
Put __init__.py
file in <homeassistant_root>/custom_components/xmrig/__init__.py
Then add the following to your configuration.yaml
xmrig:
host: <host>
port: