Grad shape
Grad shape

WebThings Gateway

Internet of Things (IoT)

About this project

Build Status license

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

Screenshot of a the WebThings Gateway web interface showing a collection of Things

It is an open source Web of Things gateway.

Installation

  • If you have a Rasberry Pi, the easiest way to use the gateway is to download and flash a pre-built software image to an SD card.
  • If you prefer to use Docker, we have a prebuilt Docker image available here, for both ARM and amd64. You can also build your own image from this repository.
  • On Ubuntu or Ubuntu Core you can install the experimental snap package.
  • Otherwise, you can build WebThings Gateway from source yourself (see below).

Documentation

Community

Prerequisites for Building

Install OS

(If you're just installing on your PC, you can skip this step).

If you're installing on a Raspberry Pi then you may need to set up the OS on the Raspberry Pi first. See here for instructions.

Install Dependencies

Ubuntu/Debian Linux

$ sudo apt update
$ sudo apt install \
    autoconf \
    build-essential \
    curl \
    git \
    libbluetooth-dev \
    libboost-python-dev \
    libboost-thread-dev \
    libdbus-1-dev \
    libffi-dev \
    libglib2.0-dev \
    libpng-dev \
    libudev-dev \
    libusb-1.0-0-dev \
    pkg-config \
    python3-six \
    python3-pip \
$ sudo -H python3 -m pip install git+https://github.com/WebThingsIO/gateway-addon-python#egg=gateway_addon

Fedora Linux

$ sudo dnf --refresh upgrade
$ sudo dnf group install "C Development Tools and Libraries"
$ sudo dnf install \
    autoconf \
    bluez-libs-devel \
    boost-devel \
    boost-python2-devel \
    boost-python3-devel \
    curl \
    git \
    glib2-devel \
    libffi-devel \
    libpng-devel \
    libudev-devel \
    libusb1-devel \
    pkgconfig \
    python2-pip \
    python3-pip
$ sudo -H python2 -m pip install six
$ sudo -H python3 -m pip install git+https://github.com/WebThingsIO/gateway-addon-python#egg=gateway_addon

macOS

$ brew update
$ brew install 
Technologies & License
MPL-2.0 Node.js
Quick Deploy

Deploy this project to cloud platforms with one click