# FHEM

> A GPL'd Perl server for house automation

Source: https://talira.ai/catalog/fhem-35ca4p43
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Web app
- Categories: [home / automation / platforms](https://talira.ai/categories/home/automation/platforms)
- Platforms: linux, macos, windows, docker, kubernetes[^1]
- Licence: GPL-2.0-only[^1][^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Self-hostable: yes[^1]
- API: yes[^1]
- Plugins: yes[^1]
- Supports: [MQTT](https://talira.ai/standards/mqtt.md)[^1], [Z-Wave](https://talira.ai/standards/z-wave.md)[^1]
- Backed by: [FHEM e.V.](https://talira.ai/orgs/fhem-ev.md)
- Creator: Rudolf Koenig

FHEM is a home automation server written in Perl that switches lamps, shutters and heating on schedules and events and logs temperature, humidity and power use to files or a database. It runs 24/7 on a NAS, Raspberry Pi, PC or Mac with USB sticks for the radio protocols, and is controlled through its built-in web frontend, other frontends (FHEM Tablet UI, smartVISU, floorplans, phone apps), telnet, or text, JSON and XML interfaces over TCP, SSL or HTTP. More than 430 modules support HomeMatic, FS20, MAX!, KNX, Z-Wave, EnOcean, Philips Hue, FRITZ!DECT, 1-Wire, MQTT, Alexa, HomeKit and many audio and video devices, and new devices are created automatically when they first send data. Popular in Germany, with a mostly German forum; GPL-2.0, created by Rudolf Koenig.

## Links

- Website: https://fhem.de/
- GitHub: https://github.com/fhem/fhem-mirror
- Docs: https://fhem.de/commandref.html

## Problems it solves

- automate my HomeMatic thermostats and shutters from a Raspberry Pi
- a home automation server that supports old 868 MHz devices like FS20 and MAX!
- log temperature and power consumption from my sensors and plot them
- switch lamps on at sunset and off at midnight automatically
- connect KNX, Z-Wave and EnOcean devices to one server
- a scriptable home automation server I can extend with my own Perl modules
- control my FRITZ!DECT plugs and Sonos speakers from one place

## Features

- more than 430 modules for home automation protocols, audio and video devices and online services
- devices and logs created automatically when a new device sends data
- logging to files or a database, with regexp filters
- timed commands and notifications to external programs
- text, JSON and XML interfaces over TCP/IP, SSL or HTTP
- built-in web frontend with SVG plots, plus FLOORPLAN, InfoPanel and FHEM Tablet UI
- update command for continuous updates between releases
- Debian package, tarball, Windows install and a container image

## Limitations

- Most posts on its forum are in German[^1]

## Capabilities

- Has an API: plan not known
- Takes plugins: plan not known

## Trust

Overall: 0.46 out of 1.
Signals: backing 0.50, extensibility 0.40.

- backed by FHEM e.V.
- created by Rudolf Koenig
- has a plugin system

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [openHAB](https://talira.ai/catalog/openhab-cf8hmpd0.md): A vendor and technology agnostic open source automation software for your home
- [Home Assistant](https://talira.ai/catalog/home-assistant-qsc7fbmt.md): Open source home automation that puts local control and privacy first
- [Jeedom](https://talira.ai/catalog/jeedom-n71f22mf.md): The French open source home automation framework
- [Domoticz](https://talira.ai/catalog/domoticz-7nwbenny.md): Free open source home automation system for Linux, Windows and Raspberry Pi
- [Apple Home](https://talira.ai/catalog/apple-home-ervhcmck.md): Control and automate your smart home accessories from your Apple devices
- [Gladys Assistant](https://talira.ai/catalog/gladys-assistant-pqthv1ab.md): A privacy-first, open-source home assistant

## Sources

[^1]: https://fhem.de/ (checked 23 Nov 2026)
[^2]: https://github.com/fhem/fhem-mirror/blob/master/fhem/fhem.pl (checked 23 Nov 2026)
