Git Product home page Git Product logo

webthing-4-inputs's Introduction

IoT Thing: 4 Inputs with counter

Introduction

This is web connected 4 inputs module.

Dependencies

Requires:

Features

4 inputs webThing has @type MultiLevelSwitch and following properties:

  • Input-1 up to Input-4, indicates if input is in high (open) or low (closed) state, @type: OpenProperty
  • counter, shows how many times inputs has been changed, max = 1000, @type: LevelProperty
  • ON-OFF, ON: at least one input is high, @type: OnOffProperty

Documentation

How to start the node see iot_web_thing_example.

Configuration

GPIO number can be set in idf.py menuconfig -> Inputs config (see iot_web_thing_example).

Default input GPIOs:

  • INPUT-1: GPIO32
  • INPUT-2: GPIO33
  • INPUT-3: GPIO25
  • INPUT-4: GPIO26

Gateway web interface

GUI

To trigger an action in another webThing (e.g. set output-1 in 4-output high when input-1 drops low) use Gateway rule:

Rule

Source Code

The source is available from GitHub.

Links

License

The code in this project is licensed under the MIT license - see LICENSE for details.

Authors

  • Krzysztof Zurek - kz

webthing-4-inputs's People

Contributors

krzysztofzurek1973 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.