FHEM – Setup, practical use, and alternative interfaces
What's Next?
With its various modules and an active community, FHEM has become an important tool for open source IoT. However, the FHEM project also faces a number of (minor) problems. In particular, any enthusiast wanting to provide a new module can do so – assuming they follow a couple of rules. Accordingly, both the syntax and quality of the software can vary from module to module. It is not always easy for beginners to understand what commands need to look like.
The FHEM command reference [4] attempts to help by documenting the official modules. However, there are often delays before module changes appear in the command reference, or, in the worst case, changes may only be discussed on the FHEM forum. In case of problems, browsing through multi-page forum threads in the search for a solution may be your only hope.
In order to leverage the enormous possibilities that FHEM offers, it can also be useful to turn to commercial software. FHEM, with its wide range of modules, acts as a gateway between the third-party systems to be integrated on the one hand and a central control unit on the other. Sophisticated logic functions can often be implemented more easily with graphical solutions such as Node-RED or Loxone. FHEM is exclusively text-based, and Perl as programming language limits the possibilities in some cases.
Anyone who has ever failed to get a module to work in FHEM will understand the criticism being levied at the fact that users must resolve the software dependencies themselves. Resolving the dependencies sometimes results in unbelievably long-winded terminal commands needed to integrate the appropriate software versions into the basic system.
When you install a new system, you can quickly lose track of which dependencies have to be manually resolved, since the backup usually only contains the central FHEM configuration files. An automatic installation of the required resources, as in the case of Node-RED or openHAB, would be the easier approach for most users. But when it comes to depth of integration, you would be hard-pressed to find a system that matches FHEM.
Infos
- FHEM: https://fhem.de
- Setting up FHEM: https://www.meintechblog.de/2016/05/fhem-server-auf-dem-raspberry-pi-in-vweniger-als-einer-stunde-einrichten/ (German only)
- Setting up smartVISU: https://www.meintechblog.de/2015/06/smartvisu-mit-fhem-die-perfekte-visualisierung-teil-1-basics/ (German only)
- FHEM command reference: https://fhem.de/commandref.html
« Previous 1 2 3
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
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
-
New Slimbook EVO with Raw AMD Ryzen Power
If you're looking for serious power in a 14" ultrabook that is powered by Linux, Slimbook has just the thing for you.
-
The Gnome Foundation Struggling to Stay Afloat
The foundation behind the Gnome desktop environment is having to go through some serious belt-tightening due to continued financial problems.
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.
-
Fedora 41 Beta Available with Some Interesting Additions
If you're a Fedora fan, you'll be excited to hear the beta version of the latest release is now available for testing and includes plenty of updates.
-
AlmaLinux Unveils New Hardware Certification Process
The AlmaLinux Hardware Certification Program run by the Certification Special Interest Group (SIG) aims to ensure seamless compatibility between AlmaLinux and a wide range of hardware configurations.
-
Wind River Introduces eLxr Pro Linux Solution
eLxr Pro offers an end-to-end Linux solution backed by expert commercial support.