Elements Overview

Elements are implementations of a specific input, output or compute functionality that corresponds to a specific functionality like Sensors, Displays, Light, I/O control and internal control logic. Elements are implemented in the HomeDing library as Components that can be controlled using setup configuration and runtime actions.

There is a Element Sheet availabe as table data.

The following element implementations are available in the current version of the HomeDing library.

Input Elements

Input Elements are used to create an action based on a specific input signal like digital HIGH/LOW or analog signals or values from sensors like movement detectors.

Sensor Elements

The sensor elements implement the adoption to a very specific sensor or sensor family. They share some common implementation to allow gathering values on a regular basis and updating other elements or even other boards by sending actions with the current value.

More detailed information on sensor implementation can be found in sensor Elements implementation.

Output and Actor Elements

Single Light Elements

To control a simple light or bulb the Switch Element and Value Element can be used to control on/off and the brightness of LEDs using PWM Out Element or DigitalOut Element.

To control lights, bulbs and LED stripes with colors the following special light elements can be used.

There are special elements to control specific chips or using the PWM capabilities. The Color Element can be used to create a light color value of your choice.

Multiple Light Elements

For LED stripes the Stripe Element provides the base functionality to control a series of LEDs with individual color values and a overall brightness.

The stripes can be controlled from the following elements implementing the specific protocols:

Light Sensors

Light Sensors enable retrieving the intensity and other parameters from environmental light.

Logic, Data and Calculation Elements

Logic elements implement using on/off values expressed as 1/0 values. See Calc Abstract Element

Display Elements

The HomeDing library supports local attached displays but also works fine without a local display.

Display Item Elements

On the displays several Elements can be used to display data, text and visuals:

More detailed information on displays and related elements can be found in displays.

One Value Display Elements

These Elements can be used to display a single value.

Time related Elements

More detailed information on time element and time related implementation can be found in time elements implementation.

System Elements

Network Elements

Things based on the HomeDing library are network connected by default as they integrate a web server and web services.

The Network Elements extend the base functionality to connect to other devices and services over the network using different protocols. Service elements interact with services to get or publish data using actions.

Storage related Elements

Audio related Elements

The Audio Elements can be used to create / control audio related devices and chips.

Other Elements

You can find some more elements in the examples folder.

These implementations are for special purpose or are still experimental cases but are published already maybe with some restricted functionality. These element are part of the DevDing example and Probe example.

Web UI Elements

The elements starting with a web prefix in their name are only known to the Web UI implementation but are not part of the firmware- The intention is to enrich and customize the Web UI dashboard with elements like presets and macros.

See also

Tags

Element