Cbus Integration with Cgate

Hi All,
New to Home Assistant, having used OpenHAB for years before exploring HA over the last 2 months.

I wanted to share a bit of progress on a C-Bus C-Gate integration for Home Assistant, mainly for anyone considering HA but hesitant about setting up and maintaining an MQTT bridge.

This isn’t anti-MQTT at all — it’s powerful and well-proven — but this project is aimed at a more direct C-Gate approach, closer to how the OpenHAB C-Bus binding behaves.

Current status:

:white_check_mark: Lights

  • Naming
  • On/off
  • Dimming (including low levels)
  • Reliable state updates

:white_check_mark: Switches / groups

  • Working as expected

:warning: Fans

  • Naming
  • Low / Medium / High commands work
  • Fan speed changes correctly on C-Bus
  • UI state in HA isn’t always staying in sync yet (actively being worked on)

The idea is to keep things feeling native in Home Assistant, with no external broker or translation layer required, and a structure that should feel familiar to anyone coming from OpenHAB.

If you’re already running C-Gate and exploring Home Assistant, this might be of interest. The main remaining focus is polishing the fan UI state before calling it “done”.

If you’d like to try it, here’s the link. Please note there’s no warranty or guarantee — this project is still very new and actively evolving.

https://github.com/Weslide/cbus

3 Likes

This is EXACTLY what I need! Are there any installation instructions available anywhere? The Readme file on Github seems to have been cut off for some reason.

Thanks for sharing this, as a new HA user this is exactly the kind of integration that’s been holding me back from migrating fully to Home Assistant. I’ve been on OpenHAB for years and really like the more direct C-Gate approach, so I’m very keen to see where this goes. Happy to help test it out on my system.

I’ve installed it and, for the most part, it worked straight out of the box. It’s picked up the majority of my C-Bus group addresses correctly and assigned the expected attributes.

I do have a small number of entities where the type doesn’t quite match the group — a few dimmers have been created as switches, and a couple of switches show up as dimmers. Is there a recommended way to correct or override this (either via configuration or naming), or anything I should check on the C-Gate side to help with detection?

Overall, this looks very promising.

1 Like

To add to that, a few of my dimmers, when I go to dim them below around 20% the slider goes all the way to off. Not sure if that’s an issue for this plug in or maybe just HA.

Thanks for creating this foundational integration using CGate.

It works OOB but I have found some issues that I’d love to help solve:

  • Lights being discovered as switches
  • Dimming seems to goto 0% if below 30%
  • Dimming I can click on slider rather than slide and get small % dimming eg 6%, 11%

Hey!

If it’s helpful I have a dedicated home assistant addon you can find here:

The source code is here: GitHub - dougrathbone/cgateweb: MQTT interface for C-Bus written in Node.js · GitHub

This should give you light, cover and hvac support, along with device autodetection over mqtt.