Say a 3.5 kW ASIC hashes at full power into an unreachable pool. At $0.18/kWh it burns $0.63 an hour and earns nothing. That is the case for automation. The opposite case is a rule that flaps a rack on and off every ten minutes. That is the case against it.
The three features sit in different places, trigger on different data and fail in different ways. Treat them as three separate decisions.
Autoswitch: pool-side, driven by blocks
Autoswitch changes which coin a worker mines within one algorithm. It only matters if several coins are viable and the leader changes while you are not watching.
The calculation is simple. For SHA-256, expected coins per hash are:
coins_per_hash = block_reward / (difficulty * 2^32)
value_per_TH_day = coins_per_hash * 1e12 * 86400 * price_at_chosen_depth
This is gross revenue per TH/s per day before pool fee, electricity and exchange costs. Multiply by (1 - fee) for your grade. The formula models own-node, share-based coins; for partner-pool coins use the pool's displayed rate.
The input that moves the answer most is the price. Say coin A is worth $0.050 per TH/s per day at the best bid and coin B is worth $0.052. If B's order book is thin and a realistic sale only fills at $0.046 per TH/s per day after a realistic fill, A wins. Hash-Hut lets you choose the depth: Real is the best bid, Deep fills a small one-off sale, Deepest a large one. Pick the depth that matches how you actually sell.
Hash-Hut does this pool-side. Its nodes report each new block, and profitability is recalculated at that moment from block reward and current difficulty. If the leader changed, the ASIC gets work for the new coin when it would receive a new job anyway, with no reconnect and no stale share caused by the switch itself. You set everything in the dashboard, you can exclude coins per worker or pin a worker to one coin, and there is no extra charge.
Hash-Hut autoswitch does not sleep, reboot or tune your machines.
Autoswitch also creates several balances. Keep four states apart for each coin:
- accrued or credited
- withdrawable, once the balance reaches the coin's minimum payout
- paid to your wallet
- realised, meaning sold
A balance below the minimum is a delay, not a loss. QUAI is a useful case. The Quai network locks newly mined block rewards for a period before they can be spent. Hash-Hut does not make miners wait for that unlock and pays QUAI out of its own funds after 1 day. The only remaining wait is the minimum payout, 300 QUAI at the time of writing. Check the coin table for current minimums.
Conversion is yours to handle. Hash-Hut pays each coin to its own address and does not convert. Exchange spread and fees are your costs, so count them once, and not again if you already used a depth-adjusted price.
How to test it fairly
Block rewards are lumpy, so a three-day test proves nothing. Fix your criteria before you start: metric, window and stop date. Run two matched workers side by side, one pinned to a single coin and one on autoswitch. Swap the workers halfway, because units differ. Compare the same UTC windows, and run for several weeks. Look at the weak weeks as well as the average, and compare realised value after exchange costs, not accrued coin counts.
Autosleep: a threshold, not a feeling
Sleep pays only if the power you save in a window is worth more than the work you give up. Here is an illustrative example. The inputs are assumptions, so replace them with your own measurements:
- net pool credits R = $0.45/hour
- running draw 3.5 kW, asleep 0.10 kW, so ΔP = 3.4 kW
- wake-up takes 10 minutes (t_r = 1/6 hour) before accepted shares resume
break-even tariff (no restart cost) = R / ΔP
= 0.45 / 3.4 = $0.132/kWh
net saving = ΔP * tariff * t - R * (t + t_r)
- any extra energy used during start-up
For a one-hour peak at $0.18/kWh, the saving is 3.4 × 0.18 × 1 = $0.612. The forgone credits are 0.45 × (1 + 1/6) = $0.525. The net is about $0.087 per cycle. With the restart included, the break-even tariff for a one-hour window is 0.525 ÷ 3.4, about $0.154/kWh.
Now the unfavourable case. At a flat $0.10/kWh, sleeping for an hour saves $0.34 and gives up $0.45 in credits, so you lose about $0.11 per hour before restart. If R falls, the threshold falls with it, so revisit the numbers when hashprice moves.
These figures are net pool credits against power only. They leave out cooling, repairs, hosting and wear from thermal cycling. If your hosting bundle includes power, there is no avoidable power cost to save.
Use separate sleep and wake thresholds, plus a minimum sleep time and a minimum run time. After the first scheduled window, read the log for repeated state changes.
Autoreboot: only for faults a reboot clears
In many cases a reboot helps with a hung control board or a stuck hashboard enumeration. It does nothing for a blocked intake, a dead fan or a persistent thermal alarm. Those need a person.
A safe generic policy confirms zero local hashrate, not just missing pool work. It also checks that temperatures are normal, and that neighbours still report so you know it is not a site-wide outage. A safe generic policy also checks temperatures and saves the log first, then makes a limited number of attempts with a cooldown. This is a generic sketch, not any product's format:
reboot_policy:
trigger: {metric: hashrate, equals: 0, for_minutes: 10}
require:
- temperatures_normal
before_reboot:
- save_log
skip_if:
- operator_switched_off
- in_service
- same_cause_on_10_or_more_machines
cooldown_minutes: 30
max_attempts: 3
on_failure: notify_and_stop
Hash-Hut Monitoring, the self-hosted farm monitor, does the following (per its site text). Auto-reboot is off until you enable it and by default acts only on zero hashrate. It skips machines switched off by the operator or in service, and treats 10 or more machines with the same cause as a farm-wide outage. It waits 30 minutes between attempts, tries at most three times, and reports to Telegram if the reboot did not help. Its auto-sleep schedules work per container, group or machine and skip machines in service. At the time of writing, auto-sleep works on WhatsMiner, Avalon, Elphapex and Antminer with Vnish; check monitoring.hash-hut.net for the current list. The pool cannot do this. It sees accepted work, not temperatures, fans or hashboards.
Verdict and rollout
Autoswitch is worth it if more than one coin is close and you would otherwise check by hand. Autosleep is worth it only if your own tariff in the sleep window exceeds your own break-even, R × (t + t_r) / (ΔP × t). In the example above that is $0.154/kWh for a one-hour window. Autoreboot is worth it if you have seen a reboot clear the fault, and you cap the attempts.
Roll out one rule at a time, on one worker or one rack you can reach locally. Set limits and cooldowns, keep the previous config ready for rollback, and confirm both the action and the recovery before widening the scope.
Open the Hash-Hut pool home page, check the coin table and its current minimum payouts, and point one worker at the stratum address for your algorithm. Compare it against a pinned worker over several weeks.
Sources: Hash-Hut Monitoring – product site text · Hash-Hut pool site and public API
Disclosure: written with AI assistance by the Hash-Hut team, which runs the Hash-Hut mining pool and Hash-Hut Monitoring mentioned above.
Top comments (0)