Skip to content

SenMorgan/EX-HABridge

Repository files navigation

EX-HABridge Integration for Home Assistant

hacs_badge GitHub all releases GitHub Workflow Status

Custom integration that allows Home Assistant to control and monitor an EX-CommandStation — a simple but powerful DCC/DC command station used for running model train layouts.

logo

Installation using HACS

To install the EX-HABridge integration using HACS, follow these steps:

  1. Open Home Assistant and navigate to HACS.
  2. Click on search field and type EX-HABridge.
  3. Click the DOWNLOAD button to install the integration.
  4. After the download is complete, restart Home Assistant.
  5. Go to Settings > Devices & services and click on Add integration.
  6. Search for EX-HABridge and follow the prompts to configure the integration.

Implemented and Planned Features

Core

  • Communication with EX-CommandStation over Telnet
  • Configuration via UI with connection validation
  • EX-CommandStation version validation
  • Reconnect logic with backoff (device availability monitoring)

Switches & Controls

  • Tracks power toggle (common for Main and Program tracks)
  • Support for loco function commands control (using service calls)
  • Loco speed and direction control
  • Multi-locomotive support
  • Turnout control
  • Routes/automations control
  • Turntable control

Other Features

  • Automatic assignment of icons to functions based on their names
  • Write to CV registers via service
  • Read CV registers via service
  • Display CV read results

Disclaimer

This integration is an unofficial, community-developed project and is not affiliated with or officially endorsed by Home Assistant or the DCC-EX project. Use at your own risk.

The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and noninfringement. In no event shall the author(s) be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with the software or the use or other dealings in the software.

All trademarks and logos are property of their respective owners.

License

Copyright (c) 2025 Arsenii Kuzin (aka Sen Morgan). Licensed under the MIT license, see LICENSE.md