4-outputs webThing with counter, for ESP32.
This is web connected 4 outputs module.
Requires:
4 outputs webThing has @type MultiLevelSwitch
and the following properties:
BooleanProperty
LevelProperty
OnOffProperty
How to start the node see iot_web_thing_example.
GPIO number can be set in idf.py menuconfig -> Outputs config
(see iot_web_thing_example).
Default output GPIOs:
To trigger an action in another webThing (e.g. set output-1 in 4-outputs
high when input-1 drops low) use Gateway rule:
The source is available from GitHub.
The code in this project is licensed under the MIT license - see LICENSE for details.