This repository includes Web Thing Server for ESP32 and things dedicated for this server.
Web Thing Server and other IoT things must be placed in components
directory in esp-idf project directory.
This software uses esp-idf environment with freeRTOS.
-
Web Thing Server - core element, it serves adding things, creating things with it's properties, actions and events. Server supports communication in accordance with Web Thing API, both „REST API” and „WebSocket API”. It also supports WoT Capability Schemas.
-
Push Button -
PushButton
thing with the following parameters:pushed
: shows if button is pushed or notcounter
: shows how many times button was pushed10times
(event): it sends event notification when button was pushed 10 times
-
Blinking Led -
Light
thing with the following parameters:led_on
: ON/OFF switchfrequency
: led blinking frequencysettings
: action with the following inputs:- mode (enum values)
- pattern (enum values)
- sensor (boolean)
- timer (integer 0..100).
-
ws2812 controller - with the following parameters:
on
- ON/OFF led linediodes
- number of diodes in the linepattern
- currently running patterncolor
- RGB color defined for some patternsspeed
- pattern refreshment speed, 0 .. 100brgh
- leds' brightness, 0 .. 100
-
thermometer - based on DS18B20 temperature sensor, properties:
temperature
errors
correctness
For more information, see the individual component folders.
The code in this project is licensed under the MIT license - see LICENSE for details.
- Krzysztof Zurek - kz