A self-hosted web application for monitoring and controlling a building over the web.
Installation
On Ubuntu Server/Ubuntu Desktop:
$ sudo snap install webthings-gateway
$ sudo snap connect webthings-gateway:system-observe
$ sudo snap connect webthings-gateway:hardware-observe
$ sudo snap connect webthings-gateway:network-manager
$ sudo snap set system experimental.hotplug=true
$ sudo snap restart webthings-gatewayOn Ubuntu Core:
$ snap install webthings-gateway
$ snap install network-manager
$ snap connect webthings-gateway:system-observe
$ snap connect webthings-gateway:hardware-observe
$ snap connect webthings-gateway:network-manager network-manager:service
$ sudo snap set system experimental.hotplug=true
$ snap restart webthings-gatewayCurrently untested on other host operating systems.
To connect a USB dongle:
$ snap interface serial-port
(to find the name of the slot automatically created by hotplug, then...)
$ snap connect webthings-gateway:serial-port snapd:foo
(where "foo" is the name of the slot)