Skip to content

KrzysztofZurek1973/webthing-esp32-dual-light

Repository files navigation

webThing Dual Light

Introduction

WebThing Dual Light is prepared for ESP32 CPUs and uses esp-idf environment (current stable version: 4.1).

This software controls two channels via the WebThing API interface. In the prototype folder see implementation with 2 relays for 2 devices powered by 230 VAC with a maximum power of 300 W each.

Dependencies

Requires:

Example

See webthings-node-example-project

Features

webThing interface

This webThing has the following properties and one action:

  • ON/OFF
  • Channel, choose channel A, B or A+B
  • ON minutes, shows minutes when device was ON in the current day, it is cleared on midnight
  • Timer (action), turn ON the heater for a certain number of minutes

webThing interface

Documentation

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

In point 5 download webthing-dual-light repository. In function init_things() call init_dual_light() and include webthing_dual_light.h in your main project file.

Source Code

The source is available from GitHub.

Prototype

In the prototype folder there are schematic files, gerber files and a photo of the working prototype device. This device is built with ESP32 DevKitC.

Links

License

This project is licensed under the MIT License.

Authors

About

WebThing 2 channels (e.g. 2 relays) controller.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages