Home automation with the openHAB platform
At Your Service
© Lead Image © naiklon, 123RF.com
OpenHAB is an open source facility-automation platform that lets you network your smart devices independently of vendor or protocol.
OpenHAB [1], or the Open Home Automation Bus, is a vendor- and technology-independent open source facility-automation platform that can act as the brain of a smart home. OpenHAB follows the "Integrate Everything" principle, currently supporting more than 400 technologies and systems, including EnOcean, KNX, LCN, Loxone, Modbus, MQTT, Philips Hue, Z-Wave, and Zigbee. In fact, openHAB can integrate, visualize, and automate more than 3,000 different devices. You'll find a list of the supported technologies and systems at the project website [2].
See the box entitled "openHAB History" for some background on the openHAB project. One of openHAB's aims is to simplify sequence control. The openHAB control engine offers various options for automation, from UI-based rules, to Blockly based visual scripts, to full-fledged programming languages, such as JavaScript, Python, Ruby, openHAB DSL (with a Java-like syntax), full Java, and Groovy. You will even find official help libraries for JavaScript and Ruby that simplify the use of openHAB's Java interfaces. Less experienced programmers can use Blockly (Figure 1), then check out the generated JavaScript code and familiarize themselves with the JavaScript environment in openHAB.
OpenHAB is platform independent: It runs on Linux, macOS, and Windows, and you can set it up on an Intel-compatible PC, a Raspberry Pi, a NAS appliance, or a Docker container. Users can access the applications via a web interface, but also via iOS and Android apps, Google Assistant, Amazon Alexa, or Apple HomeKit.
[...]
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Digital Autonomy
• The Answer Was Already on the Shelf
• Changing the Chip Industry: How Public Investment Has Grown Open Silicon
• United Nations Open Source Portal Goes Live
• EU Open Source Strategy Plays Key Role in Tech Sovereignty Package
• France Says “Au Revoir” to Microsoft
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Office 365 Available for Testing on Linux via Bottles
Linux users can now test the official Office 365, thanks to Mirko Brombin's work on Bottles.
-
Dutch Government Turns to Open Source for Digital Sovereignty
Following in the footsteps of European countries, the Netherlands is looking to increase its sovereign digital infrastructure with open source software.
-
Linux May Soon Work on Snapdragon X2-Based PCs
If you're thinking about buying a Snapdragon X2-based desktop or laptop, Linux may soon be an option.
-
KDE for People Initiative Calls for AI Ban in Plasma
A new community of KDE wants the project to adopt a strict no-AI policy for KDE Plasma.
-
KDE Sets Ambitious Goals for 2026 and Beyond
KDE Connect reveals the goals for the Linux desktop darling, with one of those goals long overdue.
-
It’s Time to Test Fedora 45 Beta
Fedora 45 beta has been released with updated Gnome, KDE Plasma, and kernel.
-
Ubuntu Stonking Stingray Gets Even Rustier
Ubuntu 26.10 has completed its migration to the Rust-based coreutils.
-
AI Fixes Linux Bottlenecks Using “Hideous” Code
A Linux developer used AI to fix bottlenecks that caused problems when building the kernel. The resulting AI-generated code needed a lot of work.
-
Advanced Video Coding Still Under Patent
Brazilian patent BRPI0109962B1 has expired, which means that DivX and Xvid are no longer problematic for Linux, but it doesn’t mean that video is all of a sudden fully unleashed.
-
2,000 Vulnerabilities per Linux Release
Thanks to AI bug hunters, the Linux kernel is seeing record numbers of vulnerabilities, and it's overwhelming developers.
