Monitor your Monero node directly within Home Assistant! This integration tracks key metrics like network height, node synchronization status, XMR price, and more to help you keep an eye on your Monero node's health and performance.
- Global Block Height: Monitors the current block height of the entire Monero network
- Local Block Height: Tracks your node's current block height
- Blocks Behind: Shows how many blocks your node is behind the network
- Monero Price: Displays the current USD price of Monero (XMR)
- Node Sync Percentage: Shows how much of your node's blockchain is synchronized
- Sync Speed: Displays how quickly your node is syncing (blocks/minute)
- Remaining Sync Time: Estimates time left until full synchronization
- Sync Status: Human-readable synchronization status
- Make sure you have HACS installed
- Go to HACS > Integrations > click the ⋮ menu in the top right
- Choose Custom repositories
- Add
https://github.com/ErwinSt/hass-monero-nodewith category Integration - Click Monero Node Integration in the HACS store
- Click Install
- Restart Home Assistant
- Download the latest release
- Extract the folder
custom_components/monero_nodeinto your Home Assistant'scustom_componentsdirectory - Restart Home Assistant
- Go to Settings > Devices & Services
- Click Add Integration and search for Monero Node
- Enter the configuration details:
- Global Height URL: API endpoint for network height (default: Blockchair API)
- Local Height URL: API endpoint for your node's height
- Price URL: API endpoint for Monero price (default: CoinGecko API)
- Refresh Interval: How often to update data (in seconds)
- Click Submit
Add a beautiful Monero dashboard to your Home Assistant with this example configuration:
title: Monero Node Dashboard
views:
- title: Monero Node
path: monero
badges: []
cards:
- type: gauge
entity: sensor.monero_node_node_sync_percentage
name: Node Synchronization
min: 0
max: 100
severity:
green: 99
yellow: 90
red: 0
- type: entities
title: Node Status
entities:
- entity: sensor.monero_node_global_height
- entity: sensor.monero_node_local_height
- entity: sensor.monero_node_blocks_behind
- entity: sensor.monero_node_sync_speed
- entity: sensor.monero_node_remaining_sync_time
- type: history-graph
title: Node Synchronization History
hours_to_show: 24
entities:
- entity: sensor.monero_node_node_sync_percentage| Sensor | Description | Unit |
|---|---|---|
sensor.monero_node_global_height |
Current network block height | blocks |
sensor.monero_node_local_height |
Your node's current block height | blocks |
sensor.monero_node_blocks_behind |
Number of blocks your node is behind | blocks |
sensor.monero_node_node_sync_percentage |
Synchronization percentage | % |
sensor.monero_node_sync_speed |
How fast your node is syncing | blocks/min |
sensor.monero_node_remaining_sync_time |
Estimated time to complete sync | time |
sensor.monero_node_monero_price |
Current Monero price | USD |
If your node is running behind a proxy, make sure to:
- Enable the RPC interface in
monerodwith:--rpc-bind-ip=0.0.0.0 --rpc-bind-port=18089 --restricted-rpc - Configure your proxy to forward traffic to port 18089
You can also configure this integration to monitor remote/public nodes by setting the appropriate URL.
- "Cannot connect to local height URL": Ensure your Monero node is running with RPC enabled
- "Invalid URLs or cannot connect to APIs": Check firewall settings and internet connectivity
- "No data updates": Verify that your refresh interval isn't too short causing rate limiting
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
