Many of you are probably familiar with Marcel Schreiner’s awesome Pico C script for controlling individual Philips Hue lamps. I’ve taken a slightly different approach in my setup and built a script to control Philips Hue scenes instead.
Want to trigger scenes like "Relax" or "Bright" directly from your Loxone Miniserver? Then check out my project on GitHub: Loxone Hue Scene Controller.What’s It For?This script acts as a bridge between your Loxone Miniserver and Philips Hue lights. It lets you use Loxone inputs—like Touch switches, buttons, or sensors—to activate pre-set Hue scenes. Imagine flipping a switch to set the perfect mood lighting in your living room!
Why You’ll Love It
- Seamless Integration: Control entire Hue scenes with your Loxone setup.
- Flexible Setup: Loxone supports up to 8 program blocks per Miniserver, so you can run my scene controller alongside Marcel’s script for individual lamp control. Just make sure the scripts don’t clash by sending conflicting commands to the same lights or groups.
- Debugging Made Easy: Turn on debugging with ENABLE_DEBUGGING = 1 to see logs (they’re prefixed with "HUE") and troubleshoot like a pro.
Get Involved! I’d love to hear your feedback or see how you’re using this in your smart home. Have ideas for improvements? Run into any issues? Drop a comment below or open an issue on the GitHub repo. Let’s make this script even better together!
Big shoutout to Marcel Schreinerfor the original Pico C code that inspired this project.