Skip to content

rzr/generic-sensors-webthings

Repository files navigation

WEBTHINGS GATEWAY GENERIC SENSORS ADAPTER

GitHub forks license [Release( https://github.com/rzr/generic-sensors-webthings/actions?query=workflow%3ARelease ) Build Status FOSSA Status Fediverse

INTRODUCTION:

Addon for WebThings Gateway, built on "generic-sensor-lite" module to abstract I2C driver by a stable API (W3C generic sensors).

webthing-iotjs-tizenrt-cdl2018-20181117rzr

USAGE:

  • Install WebThings Gateway (0.4.0+) on supported system
  • Enable I2C if not present (Enable ssh, log in, run raspi-config)
  • It was tested on Raspberry PI 3 along 2 I2C sensors supported by "generic-sensors-lite" module

Check following wiki page for more details:

Default things are using hardware sensors, but simulators can be added explicitly from the UI: From configure page add device, select sensorType among (ambientlight, temperature or color) and type as multiLevelSensor (or customSensor eg: ColorSensor) then properties should be added, First is "on" as boolean, next is "level" as number or "color" as string.

DEMO:

mozilla-iot-gateway-sensors-20180406rzr.webm

htu21d

RESOURCES:

LICENSE: Apache-2.0

FOSSA Status

mozilla-iot-gateway-sensors-20180406rzr.png