Back to services

WebThings Gateway

WebThings is an open source implementation of the Web of Things, including the WebThings Gateway and the WebThings Framework.

View alternatives to WebThings Gateway
Suggest edit
Open source
Self-hostable
MPL-2.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Note: Repeated attempts to fetch the official website timed out while this entry was being written. The content below is compiled from existing knowledge of the project and only includes information that is reasonably certain. For specific versions, supported hardware and installation steps, please refer to the official website and documentation.

Introduction

WebThings Gateway is the gateway software of the WebThings platform. It was originally developed by Mozilla under the name "Mozilla Things Gateway" and was later handed over to an independent community that continues to maintain it. It connects smart home devices from different vendors that use different protocols to a single local gateway, which you then manage through a unified interface in your browser. Device data is kept local as much as possible and does not pass through third-party clouds.

The project follows the W3C's Web of Things (WoT) approach, using web technologies (HTTP, JSON, WebSocket, etc.) to describe and control physical devices, so that every device can be accessed as a "Web Thing".

Key Features

  • Unified web interface: Add, view and control lights, plugs, sensors, switches and other devices from your browser, on both phones and computers.
  • Add-ons system: Add-ons support a variety of protocols and device ecosystems, such as Zigbee and Z-Wave devices (used with the appropriate USB adapters) and other local network devices.
  • Rules engine: Build automations with visual "if... then..." rules, for example turning on a light when a sensor is triggered.
  • Floorplan view: Upload a floor plan and place devices at their positions to see the status of each device at a glance.
  • Logs and historical data: Record how device properties change over time and display them as charts.
  • Web Thing API: Exposes standardized REST/WebSocket interfaces, making it easy for developers to integrate with it or write their own applications.
  • Secure remote access: Optionally use the official secure tunnel service to reach your home gateway over HTTPS from outside your network.
  • Multi-user support: Create separate accounts for each family member.

Target Users and Use Cases

  • Users who value privacy, want their smart home to run locally and don't want to depend on vendor cloud platforms;
  • Home users who want to manage devices of different brands and protocols in one place;
  • DIY enthusiasts who like tinkering with single-board computers such as the Raspberry Pi;
  • Developers researching or building Web of Things and IoT applications.

Core Strengths

  • Open source and self-hosted: The code is public, and you deploy it on your own hardware, keeping control of your data.
  • Based on open web standards: Device descriptions and interfaces follow the Web of Things approach, which makes interoperability and further development easier.
  • Extensible: The add-on mechanism lets the community keep adding support for new devices and protocols.
  • Easy to get started: Ready-made Raspberry Pi system images are provided, with a graphical walkthrough for the initial setup.

Installation and Deployment

Common deployment methods include:

  1. Raspberry Pi image: Download the official system image, write it to an SD card, boot the Raspberry Pi, and then complete the initial setup in your browser by following the prompts.
  2. Docker: Deploy with the official container image on an existing Linux host.
  3. Linux packages: Install directly on some distributions such as Debian/Ubuntu.

To connect Zigbee, Z-Wave and similar devices, you will need to obtain the corresponding USB wireless adapter separately and install the relevant add-on.

Technical Requirements

  • Hardware: a Raspberry Pi or another Linux host;
  • The gateway itself is mainly developed in Node.js/TypeScript, and add-ons can be written in multiple languages;
  • License: Mozilla Public License 2.0 (MPL-2.0).

Things to Note

  • The project was incubated by Mozilla and later handed over to the community for independent maintenance; visit webthings.io for the latest developments;
  • Compared with platforms such as Home Assistant and openHAB, it puts more emphasis on web standards and a clean interface, but its device ecosystem and number of add-ons may be smaller, so it's best to check whether your devices are supported before choosing it.