Difference between revisions of "Wiring Editor"

From HSYCO
Jump to navigation Jump to search
Line 21: Line 21:
  
 
== Wirings ==
 
== Wirings ==
 +
A '''wiring''' represents a logical connection between one or more inputs and one output (which may be a group). It is mainly characterized by its output type, i.e. the type of output it acts on, based on which different functions are provided.
 +
The activation of a wiring occurs every time one of its inputs triggers an event and, depending on its function, will result in the modification of the output's status.
 +
 +
=== On/Off Wiring ===
 +
This wiring acts on "On/Off" outputs and provides the following functions:
 +
:;Toggle: to invert the value of the output when activating a single input
 +
:;2-Ways: to control the output using 2 inputs: one for the "on" command and the other for the "off" command
 +
:;Push-button: to control the output with a single input used as push-button: the output will be activated only when the input is active (e.g. while the button is kept pressed), the following options can be specified:
 +
:::'''Delay''': set the delay period, in seconds, after which the command is sent to the output. If the input is active for a period shorter than the delay, no command will be sent
 +
:::'''Hold''': set the maximum time, in seconds, after which the output is deactivated
 +
:;Direct: to have the output follow the state of an input
 +
 +
 +
=== Dimmer Wiring ===
 +
This wiring acts on "On/Off" outputs and provides the following functions:
 +
:;Toggle: to invert the value of the output when activating a single input
 +
:;2-Ways: to control the output using 2 inputs: one for the "on" command and the other for the "off" command
 +
:;Push-button: to control the output with a single input used as push-button: the output will be activated only when the input is active (e.g. while the button is kept pressed), the following options can be specified:
 +
:::'''Delay''': set the delay period, in seconds, after which the command is sent to the output. If the input is active for a period shorter than the delay, no command will be sent
 +
:::'''Hold''': set the maximum time, in seconds, after which the output is deactivated
 +
:;Direct: to have the output follow the state of an input

Revision as of 11:51, 27 February 2014

The Wiring Editor is a tool to create logical connections (wirings) between HSYCO's inputs and outputs. It can be used, for instance, to quickly and easily make a button turn on/off a light or control a dimmer or an automation or, again, activate a scenario. It provides for a set of functionalities which are often implemented in home automation installation without having to resort to complex programming.

Inputs and Outputs

An input is something that triggers an event. It can be: a readable I/O Server's datapoint, a User event (e.g. an event triggered by a User button), a scheduler event or a group of inputs.

Inputs are divided into 2 categories:

  • Binary (0/1): those whose value can be "0" or "1", generally used to activate/deactivate an output or a scenario
  • Level: those whose value correspond to a general numeric value (used, for instance, to set an output to a specific level).

An inputs group corresponds to the logical "or" of the inputs belonging to the group; i.e. whenever an input belonging to a group triggers an event, the group will trigger an event with same value. Input groups can be used, for instance, to activate a light from two different buttons.

An output is something on which is possible to perform an action. It can be: a writable I/O Server's datapoint, a User event or a group of outputs.

Outputs are categorized as:

  • On/Off: they accept a value of "0" or "1". As an example, an On/Off output can be an I/O datapoint representing a light, but also a datapoint to arm/disarm an area of a security system
  • Dimmer: they are generally I/O datapoints to control a dimmable light; accept the values "on", "off" and levels values from "1%" to "100%"
  • Blind: they are generally I/O datapoints to control blind automations and accept the values "up", "down" and "stop".

An output group connects together a set of outputs. Writing a value to an output group will result in writing that value in all the members of the group. As we will see later, output groups are also used as a target for scenarios.

Wirings

A wiring represents a logical connection between one or more inputs and one output (which may be a group). It is mainly characterized by its output type, i.e. the type of output it acts on, based on which different functions are provided. The activation of a wiring occurs every time one of its inputs triggers an event and, depending on its function, will result in the modification of the output's status.

On/Off Wiring

This wiring acts on "On/Off" outputs and provides the following functions:

Toggle
to invert the value of the output when activating a single input
2-Ways
to control the output using 2 inputs: one for the "on" command and the other for the "off" command
Push-button
to control the output with a single input used as push-button: the output will be activated only when the input is active (e.g. while the button is kept pressed), the following options can be specified:
Delay: set the delay period, in seconds, after which the command is sent to the output. If the input is active for a period shorter than the delay, no command will be sent
Hold: set the maximum time, in seconds, after which the output is deactivated
Direct
to have the output follow the state of an input


Dimmer Wiring

This wiring acts on "On/Off" outputs and provides the following functions:

Toggle
to invert the value of the output when activating a single input
2-Ways
to control the output using 2 inputs: one for the "on" command and the other for the "off" command
Push-button
to control the output with a single input used as push-button: the output will be activated only when the input is active (e.g. while the button is kept pressed), the following options can be specified:
Delay: set the delay period, in seconds, after which the command is sent to the output. If the input is active for a period shorter than the delay, no command will be sent
Hold: set the maximum time, in seconds, after which the output is deactivated
Direct
to have the output follow the state of an input