LHA

Lightweight Lua-based home automation platform

13 stars 4 forks last commit first released MIT

Actively maintained

Last commit 14 Jul 2026.

LHA is a lightweight, single-process home automation engine written in Lua. It provides a scheduler, an embedded HTTP server and an extensions system to connect gateways, record sensor history and compose automations using Blockly or Lua scripts.

Key Features

  • Single-process Lua engine with built-in scheduler and HTTP server
  • Exposes Thing Description JSON API (Web of Things) for device descriptions
  • Blockly visual scripting plus Lua extensions for advanced automations
  • Web-based UI built with Vue, includes dashboards and charts for historical data
  • Supports gateways and protocols such as Hue/ConBee and Z-Wave (via Z-Wave JS) and integrates with MQTT
  • Records device property values into time-based log files for history and charting
  • Extension system to add device mappings and protocol adapters
  • Very small footprint (~5 MB) and runs on small boards (Raspberry Pi) or general Linux/Windows systems

Use Cases

  • Bridge and orchestrate devices across ZigBee, Z-Wave and Hue ecosystems in a single UI
  • Build custom automations using Blockly or Lua to react to sensor data and control actuators
  • Collect and visualize time-series sensor data locally for home monitoring and analysis

Limitations and Considerations

  • Uses file-based time logs rather than a full database, which may be less convenient for very large datasets
  • Device support depends on extension mapping files; adding or adapting some devices may require editing JSON mappings or writing extensions
  • Single-process architecture and minimal footprint are geared toward small to medium deployments; very large, high-throughput installations may face performance constraints

LHA is suitable for users who want a compact, extensible home automation engine with local control, scripting flexibility and support for common gateway integrations. Its small size and Lua-based extension model make it easy to run on low-power hardware and to customize for specific device sets.

Categories:

Tags:

Tech Stack:

Share:

Similar to LHA

Node-RED logo

Node-RED

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

23.6k
3.9k
Last commit

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.

Apache-2.0Actively maintained
Alternative to:
IFTTT logo
IFTTT
+13
Domoticz logo

Domoticz

Home automation system for monitoring and controlling smart devices

3.8k
1.2k
Last commit

Open-source home automation platform to monitor sensors and control switches, lights, meters, and smart home devices from a responsive web interface with alerts.

GPL-3.0Actively maintained
Alternative to:
Samsung SmartThings logo
Samsung SmartThings
+13

SIP (Sustainable Irrigation Platform)

Raspberry Pi–based customizable irrigation and sprinkler controller

420
167
Last commit

Open-source Raspberry Pi irrigation controller with responsive web UI, scheduling, plugins (Node-RED, MQTT), and support for relay interfaces, pumps, and hydroponics.

Actively maintained
Alternative to:
Rachio logo
Rachio
+4

TestFlight Watcher

Monitors TestFlight invite links and notifies via Pushover

18
0
Last commit

Node.js utility that monitors TestFlight invite URLs and sends Pushover notifications when beta slots open; configurable via .env with an optional web endpoint for management.

MITLikely dormant
Alternative to:
Distill.io logo
Distill.io
+6
OctoPrint logo

OctoPrint

Web interface for controlling and monitoring 3D printers

9.1k
1.7k
Last commit

Self-hosted web UI to control, monitor, and manage consumer 3D printers, with webcam viewing, G-code visualization, and an extensive plugin system.

AGPL-3.0Actively maintained
Alternative to:
Obico Cloud (formerly The Spaghetti Detective) logo
Obico Cloud (formerly The Spaghetti Detective)
UpSnap logo

UpSnap

Wake-on-LAN web app for waking and managing network devices

6.2k
248
Last commit

UpSnap is a simple Wake-on-LAN web app with a device dashboard, scheduling via cron, port checks, and optional network discovery for managing machines on a LAN.

MITActively maintained
Alternative to:
IFTTT logo
IFTTT
+3