generic-sensors-webthings

Sensors kit for RPI

MPL-2.0 License

Stars
4

WEBTHINGS GATEWAY GENERIC SENSORS ADAPTER

[Release( https://github.com/rzr/generic-sensors-webthings/actions?query=workflow%3ARelease )

INTRODUCTION:

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

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:

RESOURCES:

LICENSE: Apache-2.0