Open-source Perl-based home automation server with modular device support.

FHEM screenshot

FHEM is an open-source Perl-based server for home automation. It runs as a background service and provides device control and monitoring via built-in web frontends, smartphone apps, telnet, or TCP/IP. It supports a wide range of hardware protocols through a modular collection of modules.

Key Features

  • Modular architecture with hundreds of modules to support a wide range of devices and services.
  • Multiple frontends and interfaces, including web, mobile frontends, telnet, and TCP/IP, with JSON/XML support.
  • Autocreating devices and logs as new data arrives, reducing manual setup.
  • Flexible logging options (files or databases) with optional filters.
  • Event-driven automation: trigger external programs or scripts on device events.
  • Timed and scheduled commands and time-based actions (e.g., lights based on sunset).
  • Active community, comprehensive documentation, and a development repository.

Use Cases

  • Automate household tasks such as lighting, blinds, heating, and sensor monitoring.
  • Integrate with a broad set of protocols and devices (HomeMatic, KNX, Z-Wave, EnOcean, etc).
  • Run on a self-hosted server (e.g., NAS, Raspberry Pi) with local data storage for privacy.

FHEM is a long-running, Perl-based home automation server with broad device support and a modular, pluggable architecture.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

Home Assistant

Home Assistant

Open-source home automation platform prioritizing local control

84.2k
36.5k
Last commit: 17h ago

Open-source platform to control smart home devices, build automations and dashboards, with broad third-party integrations and local-first privacy.

Alternative to:
Google Home
Google Home
+15
Frigate

Frigate

NVR with real-time local object detection for IP cameras

29.5k
2.7k
Last commit: 2d ago

Self-hosted NVR for IP cameras with real-time local AI object detection, recording, and low-latency live viewing, with MQTT and Home Assistant integration.

Alternative to:
Blue Iris
Blue Iris
+10
Tasmota

Tasmota

Open source firmware for ESP8266/ESP32 smart home devices

24.1k
5k
Last commit: 20h ago

Alternative open source firmware for ESP8266/ESP32 IoT devices, providing local control via MQTT/HTTP/Web UI, OTA updates, and built-in automation rules and timers.

Alternative to:
SONOFF Cloud (eWeLink)
SONOFF Cloud (eWeLink)
+6
Node-RED

Node-RED

Flow-based low-code tool for building event-driven automations

22.6k
3.8k
Last commit: 10d ago

Open-source, browser-based low-code platform and Node.js runtime for wiring devices, APIs and services into event-driven flows for automation, IoT and integrations.

Alternative to:
IFTTT
IFTTT
+13
ThingsBoard

ThingsBoard

Open-source IoT platform for device management and dashboards

20.9k
6k
Last commit: 2d ago

Open-source IoT platform for device management, telemetry collection, rule-based processing, alarms, and real-time dashboards using standard IoT protocols.

Alternative to:
ThingsBoard Cloud
ThingsBoard Cloud
+10
Zigbee2MQTT

Zigbee2MQTT

Zigbee-to-MQTT bridge for connecting Zigbee devices to MQTT

14.6k
1.9k
Last commit: 16d ago

Self-hosted Zigbee-to-MQTT bridge that lets you control Zigbee devices without vendor gateways and integrate them with home automation platforms via MQTT.

Alternative to:
Tuya Zigbee Gateway
Tuya Zigbee Gateway
+16