Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Home Assistant Automations and Templates

Automations are the smart logic that makes your smart home actually smart. They connect your integrations together—triggering actions based on sensor readings, schedules, or device states. This is what transforms a bitcoin miner into a functional heater for your home.

What Are Automations?

Integrations connect your devices to Home Assistant. Automations make them work together.

Every automation follows the same pattern:

  • Trigger - What starts the automation (temperature drops, time of day, button press)
  • Condition - Optional checks before proceeding (only if home, only on weekdays)
  • Action - What happens (turn on miner, adjust power level, send notification)

Example: When room temperature drops below 68°F (trigger), and it’s between 6am-10pm (condition), turn on the miner in heating mode (action).

This is the special sauce that lets a bitcoin miner replace your space heater, tie into your whole-home thermostat, or only run when electricity is cheap.

Use cases we cover:

  • Space heater replacement - Miner maintains room temperature using a temp sensor
  • HVAC integration - Miner responds to your whole-home thermostat
  • Time-of-use optimization - Mine during cheap electricity, reduce during peak rates
  • Solar monetization - Use excess solar production for mining instead of selling back cheap
  • Scheduled operation - Run on custom schedules with different modes

These automations pair with Exergy hardware kits and installed systems, but work with any compatible setup.

Available Exergy Automation Templates

Template Use Case
Space HeaterRoom temperature control with miner as heat source
HVAC IntegrationWhole-home thermostat integration
Time-of-UseOptimize mining around electricity rates

See all Exergy Automations: github.com/exergyheat

Building Your Own Automations

Don’t see what you need? Build custom automations:

Visual Editor - Home Assistant’s built-in editor walks you through triggers, conditions, and actions without code.

YAML - Write automations directly for more control and easier version management.

Node-RED - Visual flow-based programming for complex logic. Install via the Node-RED add-on.

Home Assistant’s automation system is powerful. Start with our blueprints, then customize or build your own as you learn.

Contributing Blueprints and Automations

Created a useful automation for hashrate heating? Share it with the community:

  • Guides Forum - Post your automation for discussion
  • GitHub - Submit a PR to add your blueprint to the official collection

Learn More