Monitor one or more Bitcoin Core nodes in Home Assistant using the node's local JSON-RPC API. The integration is deliberately read-only: it never accesses wallets, keys, seed phrases, signing, or transaction broadcasting.
- Blockchain synchronization progress, height, headers, and blocks behind
- Node availability, initial block download, sync completion, and pruning state
- Peer connections, mempool size and transaction count, network, and uptime
- Optional difficulty, chain-size, and relay-fee sensors
- A Home Assistant device per configured node, with diagnostics that redact secrets
Click the button above, select Download, then restart Home Assistant. Alternatively:
- Open HACS in Home Assistant.
- Select Integrations and use the three-dot menu to add this custom repository:
https://github.com/mroxso/home-assistant-bitcoin-node. - Choose category Integration, download Bitcoin Core Node, and restart Home Assistant.
- Go to Settings → Devices & services → Add integration, then select Bitcoin Core Node.
Keep RPC access on your local network. Do not expose port 8332 to the public internet. Create a dedicated RPC user and limit which hosts may connect. A minimal bitcoin.conf example:
server=1
rpcbind=127.0.0.1
# Add the Home Assistant IP only when it is on another machine.
rpcallowip=192.168.1.50
rpcauth=<generate-with-bitcoin-core-rpcauth-tool>Restart Bitcoin Core after changing its configuration. In the integration setup form, enter the node host, port, generated RPC username/password, and TLS settings. The default RPC port is 8332.
For a remote Home Assistant instance, use a private network or VPN. HTTPS is supported; disabling certificate verification should only be used for a deliberately trusted, local self-signed endpoint.
| Entity | Meaning |
|---|---|
| Blockchain sync progress | Bitcoin Core verification progress as a percentage |
| Current block height / header height / blocks behind | Chain state and header gap |
| Network connections | Active peer count, with inbound/outbound attributes when supplied |
| Mempool transactions / size | Current mempool activity |
| Uptime / network / pruning status | Basic node information |
| RPC available / IBD / synchronized / pruned blockchain | Node health binary sensors |
Enable optional sensors in the integration options to show difficulty, chain size, and relay fee when your Bitcoin Core version reports them.
- Cannot connect: confirm
server=1, the hostname and port,rpcbind, firewall rules, andrpcallowip. - Invalid credentials: check the dedicated RPC username/password or
rpcauthentry and restart Bitcoin Core after editingbitcoin.conf. - TLS error: use a certificate Home Assistant can validate, or explicitly choose the local-only certificate-verification override.
- Some entities are unavailable: older Bitcoin Core versions and disabled features may omit optional RPC fields; the essential chain and network entities remain available.
Run tests in a Home Assistant development environment:
pytest
ruff check .This project is a monitoring integration only. It does not manage Bitcoin Core, wallets, or funds.