# WebThingsIO/gateway

WebThings Gateway - a self-hosted web application for monitoring and controlling a building over the web

Repository: https://github.com/WebThingsIO/gateway
Canonical: https://ross.abutalabs.com/products/webthingsio-gateway
Homepage: http://webthings.io/gateway
Language: TypeScript
License: MPL-2.0
License Family: copyleft
Topics: hacktoberfest
Last push: 2026-06-21T21:16:39+00:00

## Health v2 (maintenance only)
Score: 70/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 88, release rhythm 30, longevity 100
- inputs: {"age_days": 3465, "days_push": 73, "days_rel": 258, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2644, forks 332 (observed 2026-08-28T04:07:06.662308+00:00)

## What it is
WebThings Gateway is a self-hosted web application for monitoring and controlling smart home devices over the web, built on W3C Web of Things standards. It provides a unified web UI, a drag-and-drop rules engine, sensor data logging, an interactive floorplan, and an add-on system for supporting many devices and protocols.

## Use cases
- self-host a private smart home hub without a cloud middleman
- monitor and control all smart home devices from one web interface
- create if-this-then-that automation rules with drag and drop
- log sensor data over time to spot trends and anomalies
- lay out devices on an interactive floorplan of the home
- add support for more devices and protocols via adapter add-ons
- run a smart home gateway on a Raspberry Pi or Docker

## When to choose
- you want a privacy-focused, self-hosted smart home hub with no vendor middleman
- you want a unified web UI plus a simple rules engine for home automation
- you want to build on open W3C Web of Things standards and extend via add-ons

## When to avoid
- you need deep native integrations with a specific commercial ecosystem like HomeKit
- you want a fully managed cloud-hosted solution rather than self-hosting
- you need a lightweight headless service without a web UI

## Facets
- artifact type: application
- maturity: active
- function: self-hosted, http-server, plugin-system, monitoring, workflow-automation
- domain: iot, self-hosted, web-development, privacy
- platform: windows, self-hosted, cross-platform
- tags: smart-home, web-of-things, home-automation, iot-gateway, rules-engine, w3c-wot, raspberry-pi, automation, linux, macos, docker, web-server

## Member repositories
- WebThingsIO/gateway (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:06.662308+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:19:00.413488+00:00, confidence not recorded.
  - readme: https://github.com/WebThingsIO/gateway (fetched 2026-08-28T04:07:06.662308+00:00, sha bf66cdeeedb5)
  - homepage: http://webthings.io/gateway (fetched 2026-08-29T10:02:11.646757+00:00, sha b837aeedb33e)
  - site_page: https://webthings.io/about (fetched 2026-08-29T10:02:11.655588+00:00, sha ced46318952f)
  - site_page: https://webthings.io/docs (fetched 2026-08-29T10:02:11.657322+00:00, sha 554557adc7c6)
  - site_page: https://webthings.io/docs/gateway/installation (fetched 2026-08-29T10:02:11.658922+00:00, sha a627cb6a1d55)
- Data as of 2026-08-30T08:39:29.467469+00:00.
