Transform your boat's NMEA 2000 network into powerful Home Assistant sensors instantly!
A Home Assistant integration that brings marine data to your smart home. Automatically detect and convert NMEA 2000 messages into Home Assistant sensors with zero configuration. Works with USB, TCP, and python-can CAN bus gateways. Based on pure Python NMEA 2000 package built over canboat database.
- Plug & Play - Automatic sensor creation from detected messages
- USB gateways: CANBUS USB devices like Waveshare USB-CAN-A
- CAN adapter gateways: Any generic USB or SocketCAN device supported by python-can (e.g. Canable, Seeedstudio, SocketCAN on Linux/Raspberry Pi)
- TCP gateways: CANBUS TCP devices like:
- Real-time Data - Instant marine metrics in your Home Assistant dashboard
- Low Resource Usage - Optimized performance with minimal overhead
- Marine-focused - Specially designed for boating enthusiasts
- A working Home Assistant installation
- NMEA 2000 network with compatible gateway (USB, CAN adapter, or TCP)
Restart Home Assistant when prompted.
-
Download the latest release ZIP file:
📦 ha-nmea2000.zip -
Extract the contents into your Home Assistant
custom_componentsdirectory:mkdir -p /config/custom_components/nmea2000 unzip ha-nmea2000.zip -d /config/custom_components/nmea2000
-
Restart Home Assistant.
- Go to Settings → Devices & Services → + Add Integration and search for NMEA 2000. Or, press the link below:
- Click the ADD HUB button
- Choose a name and select the gateway type: USB, TCP, or CAN.
- Based on the gateway type, configure connection parameters (USB port, TCP IP/port, or CAN interface/channel/bitrate)
- Customize: Choose what PGNs to monitor and in what cadance you want the updates
If you prefer not to use HACS due to bandwidth constraints, especially in marine environments, you can use the provided update script to manually update the integration after it was installed for the first time.
-
Open the HA Terminal window.
-
For the first time only, you need to give the script execution permissions:
chmod +x /config/custom_components/nmea2000/update_integration.sh
-
Run the script using a terminal:
/config/custom_components/nmea2000/update_integration.sh
-
Optionally, use the
--restartflag to restart Home Assistant after the update:/config/custom_components/nmea2000/update_integration.sh --restart
This will validate the Home Assistant configuration and issue a restart command if the configuration is valid.
-
Restart Home Assistant manually if you did not use the
--restartflag.
This script will fetch the latest version of the integration directly from the repository and replace the existing files.
- This library leverages the canboat via nmea2000 as the source for all PGN data.
- Special thanks to Rob from Smart Boat Innovations. His code was the initial inspiration for this project. Some the code here might still be based on his latest OSS version.
- To all the incredible contributors to the canboat project — your relentless innovation keeps the lights on. Without your continuous hacking, we'd be adrift in the dark. Thank you!