Home automation with the openHAB platform

At Your Service

© Lead Image © naiklon, 123RF.com

© Lead Image © naiklon, 123RF.com

Article from Issue 288/2024
Author(s):

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.

[...]

Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Wireless APs with Ubuntu Core

    Set up a wireless access point with a Raspberry Pi 3, Ubuntu Core, and snaps.

  • Controlling a Smart Plug

    You could spend hundreds of dollars on specialized IoT appliances and fixtures, or you could just hack a smart plug and talk to it with your Linux system.

  • FHEM

    If you want to equip your home with smart technology, you will need to deal with a variety of providers and what are often incompatible standards. FHEM is a free integration platform that houses the building blocks under one roof and offers visually appealing interfaces.

  • Smart Picture Frame

    A digital picture frame displays photographs and a current weather forecast with just a few hundred lines of Bash and a Raspberry Pi.

  • Tasmota

    Flashing IoT devices with new firmware lets you wield control and keep them out of the cloud.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

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.

Learn More

News