Skip to content

rzr/generic-sensors-webthings

Folders and files

NameName
Last commit message
Last commit date
Oct 20, 2020
Mar 3, 2020
Mar 28, 2019
Oct 15, 2020
Mar 26, 2019
Apr 13, 2018
Mar 28, 2019
Jan 13, 2020
Mar 3, 2020
Apr 10, 2018
Oct 21, 2020
Oct 21, 2020
Oct 15, 2020
Mar 3, 2020
Mar 1, 2019
Oct 20, 2020
Mar 4, 2023
Oct 20, 2020
Oct 15, 2020
Oct 15, 2020

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