Mixing Homematic and MiLight Components Successfully

Hi everyone, I wanted to share my experience with mixing Homematic and MiLight components in OpenHAB. I’ve been exploring the OpenHAB ecosystem and was curious if I could combine different vendors to get the best out of it. My goal was to use Homematic light switches (via CCU) to control MiLight bulbs, and I’m thrilled to say it worked out perfectly!

Initially, I wasn’t sure if this setup was possible, but after some research and experimentation, I found a smart way to make it happen. I used item bindings and rules in combination, specifically:

plaintext
rule when Item homematic_switch changed from OFF to ON then sendCommand(milight_bulb, new HSBType(new DecimalType(0),new PercentType(0),new PercentType(100))) end

This rule allows me to control the MiLight bulbs using the physical Homematic switches, which is exactly what I wanted. It’s fantastic to have this level of integration without relying solely on mobile apps or virtual devices.

The best part is the flexibility this setup provides. I can now control my lights in multiple ways—whether through the physical switches, voice commands, or even via the OpenHAB interface. This integration has really enhanced my smart home experience, making it more convenient and user-friendly.

If anyone else is looking to mix different components, I’d highly recommend exploring the possibilities within OpenHAB. The community support and extensive documentation make it easier than ever to create a customized and integrated smart home system.

Cheers,

mischu