Skip to content

WebThings Gateway

Self-hosted web gateway for monitoring and controlling smart home devices over the web

Weak copyleft (OSI) · MPL-2.0
  • Self-hosted

Listed by , founder & editor

65

Health

Active

Overview

Stars

2,644

Last commit

6 days ago

Nov 2026

Repository age

9 years

since Mar 2017

Latest version

2.1.0

Nov 2026

Contributors

–

3 active in 90 days

Releases

2

last 12 months

Docker pulls

2.3M

webthingsio/gateway

Language

TypeScript

WebThings Gateway is a self-hosted web application for monitoring and controlling a building over the web. It is an open source gateway built around the Web of Things approach, and you run it on your own hardware instead of a vendor cloud.

Since the 2.0 release, Docker is the recommended way to install it. An experimental snap package is available, and you can build from source on Ubuntu, Debian, Fedora or macOS. The source build needs Node.js, Python 3 and several system libraries, and on Linux you must grant Bluetooth permissions to node and python3. The interface is written in TypeScript. A Raspberry Pi is a common target.

The project has run since 2017 and is licensed MPL-2.0. Help is available through documentation, a wiki, Discourse and Matrix. It is a fit if you want local control of connected devices without tying them to one manufacturer's app or cloud service.

Who it's for

Smart home hobbyists with a Raspberry Pi

It runs locally and can be installed from a Docker image.

Skip if: You want a polished app with broad ready-made device support out of the box.

Developers building Web of Things devices

It is an open gateway built on web standards, with source and add-on tooling available.

Skip if: You only need basic automation and do not care about the web standards.

The problem it solves

Smart devices often depend on separate vendor apps and clouds. This gateway gives you one local web interface to monitor and control them.

Strengths

  • Runs on your own hardware with no vendor cloud
  • Docker image is the recommended install
  • Source builds on Ubuntu, Debian, Fedora and macOS
  • MPL-2.0 license with an active community on Discourse and Matrix

Trade-offs

  • Building from source needs many system dependencies
  • The snap package is experimental
  • Only 2 releases in the past year

Self-host WebThings Gateway

Self-hostable
Yes
Docker image
webthingsio/gateway
Docker Compose
The repository ships a Compose file

Frequently asked questions

Is WebThings Gateway free?

Yes. It is open source under MPL-2.0.

How do I install it?

Docker is the recommended method as of version 2.0. A snap package is experimental, and you can build from source.

Can I self-host it?

Yes. It is a self-hosted web application you run yourself.

Does it run on a Raspberry Pi?

Yes. The documentation covers setting up a Raspberry Pi to run it.

Similar tools in Smart home and voice assistants

Home Assistant (home-assistant-2)

Smart home and voice assistants

Local-first smart home hub for tinkerers who want private control of their devices

92k Apache-2.0

Tasmota

Smart home and voice assistants

Open firmware for ESP8266 and ESP32 devices with local control over MQTT, HTTP or KNX

25k 5.2k today Thriving GPL-3.0

Thingsboard

Smart home and voice assistants

Self-hosted IoT platform for device management, telemetry dashboards and alarms

23k 6.6k yesterday Thriving Apache-2.0

Jeedom

Smart home and voice assistants

Self-hosted, plugin-based home automation hub with scenarios and custom dashboards

413 319 5 days ago Active GPL-2.0

evcc

Smart home and voice assistants

Local energy manager that charges your EV from solar surplus

7.7k 1.7k today Thriving MIT

bumper

Smart home and voice assistants

Self-hosted central server for Ecovacs robot vacuums that keeps them off the cloud

404 77 5 years ago Dormant GPL-3.0