CBUS Binding Configuration Queries

I’m currently working on setting up my OpenHAB system with CBUS binding and have encountered a few challenges that I’m hoping to resolve. Let me share my experience and ask for some advice.

I have a Raspberry Pi 3 running OpenHABian with CGate 2.11.4 and Ser2Sock. The setup is connected via a USB to Serial adapter to a CBUS serial controller. My OpenHAB version is 2.5.5, and I’ve installed the CBUS binding. While I can manually control the lighting using CGate CLI commands, the auto-discovery feature isn’t working as expected.

I’ve set up static Things for both the CGate and CBUS networks, and the lights are online. However, when I try to control them through the OpenHAB interface, I receive an error stating ‘Invalid Group.’ This is puzzling because the lights do update their status when toggled at the switch. I’ve also noticed that there are two ways to define lights in the configuration, and I’m unsure which method is more effective.

Looking at the CGate logs, it seems that OpenHAB isn’t sending the expected commands to change the light states. I’m wondering if the group number is always the same as the light number or if there’s a specific way to configure this. Additionally, I’m curious about the best practices for defining lights in the CBUS binding to ensure smooth operation.

If anyone has successfully configured CBUS binding or encountered similar issues, I’d greatly appreciate any insights or tips. This would be incredibly helpful in troubleshooting and optimizing my setup. Thanks in advance for your assistance!