Skip to content

Latest commit

 

History

History
66 lines (39 loc) · 2.2 KB

README.md

File metadata and controls

66 lines (39 loc) · 2.2 KB

webThing LED RGBW (RGB+White) controller

7th April 2020

Introduction

This WebThing controller is prepared for ESP32 CPUs and uses esp-idf environment (current stable version).

The WebThing controls RGBW LED strip.

Dependencies

Requires:

Example

See webthings-node-example-project or webthings-empty-project.

Features

webThing interface

WebThing has the following properties and one action with multi inputs:

  • ON/OFF
  • Color brightness, RGB channels, 0 .. 100%
  • White brightness, white channel, 0 .. 100%
  • Color-1, used by some patterns
  • Color-2, used by some patterns
  • Settings (action), with the following inputs
    • mode: WHITE+COLOR, COLOR, WHITE
    • pattern, color changing patterns
    • pulse-min, used by "pulse" patterns
    • sensor, if motion sensor is installed, check this option to switch ON LEDs after a sensor signal
    • speed, the speed of color change in patterns other than "STATIC"
    • timer, turn OFF after a specified number of minutes

webThing interface

Documentation

See webthings-empty-project and follow steps described in Build webThing Device chapter.

In point 5 download webthing-rgbw repository. In function init_things() call init_rgbw_controller() and include webthing_rgbw.h and rgb_color.h in your main project file.

Source Code

The source code is available from GitHub.

Links

License

This project is licensed under the MIT License.

Authors