[( https://github.com/rzr/generic-sensors-webthings/actions?query=workflow%3ARelease )
Addon for WebThings Gateway, built on "generic-sensor-lite" module to abstract I2C driver by a stable API (W3C generic sensors).
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.