Difference between revisions of "Tag automation"

From Larnitech wiki page
Jump to navigation Jump to search
(Marked this version for translation)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
==Tag automation (except valve-heating)==
+
<languages/>
 +
<translate>
 +
==Tag automation (except valve-heating)== <!--T:1-->
 
===Standard automation description===
 
===Standard automation description===
  
 +
<!--T:2-->
 
There are 6 types of automation. Only one automation of each type could be connected to one element!
 
There are 6 types of automation. Only one automation of each type could be connected to one element!
  
===The template of declaring the element with automation===
+
===The template of declaring the element with automation=== <!--T:3-->
 
<syntaxhighlight lang="xml" line>
 
<syntaxhighlight lang="xml" line>
 
<item addr="Device address" auto-period="Time of automation disabling" name="Element name" type="Element type, for example lamp">
 
<item addr="Device address" auto-period="Time of automation disabling" name="Element name" type="Element type, for example lamp">
Line 14: Line 17:
 
===Automation types and all the parameters for each of them===
 
===Automation types and all the parameters for each of them===
  
 +
<!--T:4-->
 
#Activating when opening one of the doors: '''on-by-door''' – enabled, door-sensors, illumination-sensors, illumination-level, time-interval, time-intervals
 
#Activating when opening one of the doors: '''on-by-door''' – enabled, door-sensors, illumination-sensors, illumination-level, time-interval, time-intervals
 
#Disactivating when closing the door: '''off-by-door''' – enabled, door-sensors, delay, motion-sensors, motion-level, time-interval, time-intervals
 
#Disactivating when closing the door: '''off-by-door''' – enabled, door-sensors, delay, motion-sensors, motion-level, time-interval, time-intervals
Line 21: Line 25:
 
#Activating and disactivating according to time patterns: '''with-time''' – enabled, time-intervals
 
#Activating and disactivating according to time patterns: '''with-time''' – enabled, time-intervals
  
===Parameters description===
+
===Parameters description=== <!--T:5-->
  
 +
<!--T:6-->
 
#'''enabled''' – automation activating ('''="yes"''') or disactivating ('''="no"''')
 
#'''enabled''' – automation activating ('''="yes"''') or disactivating ('''="no"''')
 
#'''door-sensors, motion-sensors, illumination-sensors''' – the addresses of sensors of corresponding type applied for automation ('''several sensors are specified via, for example 533:10;525:12''')
 
#'''door-sensors, motion-sensors, illumination-sensors''' – the addresses of sensors of corresponding type applied for automation ('''several sensors are specified via, for example 533:10;525:12''')
Line 29: Line 34:
 
#'''time-intervals''' – parameter in the format of 7 consecutive repeating successions of hexadecimal notations like XXXXXXXXXXXX (their length is 12 symbols, per each day of the week starting from SUNDAY), symbolizing bitwise automation activity half-hour periods of time (i.e. each number equals to 2 hours exactly)<br>Examples:<br>time-intervals="000000000000000000000000000000000000000000000000000000000000000000000000000000000000" – it doesn’t operate ever:<br>time-intervals="FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" – it operates always:<br>time-intervals="FFFFFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" – it doesn’t operate only on Tuesday till 8 a.m.
 
#'''time-intervals''' – parameter in the format of 7 consecutive repeating successions of hexadecimal notations like XXXXXXXXXXXX (their length is 12 symbols, per each day of the week starting from SUNDAY), symbolizing bitwise automation activity half-hour periods of time (i.e. each number equals to 2 hours exactly)<br>Examples:<br>time-intervals="000000000000000000000000000000000000000000000000000000000000000000000000000000000000" – it doesn’t operate ever:<br>time-intervals="FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" – it operates always:<br>time-intervals="FFFFFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" – it doesn’t operate only on Tuesday till 8 a.m.
 
#'''delay''' – off delay parameter on movement in automation of switching off according to the door after its closing
 
#'''delay''' – off delay parameter on movement in automation of switching off according to the door after its closing
 +
</translate>

Latest revision as of 11:38, 23 January 2022

Other languages:
English • ‎русский

Tag automation (except valve-heating)

Standard automation description

There are 6 types of automation. Only one automation of each type could be connected to one element!

The template of declaring the element with automation

1<item addr="Device address" auto-period="Time of automation disabling" name="Element name" type="Element type, for example lamp">
2    <automation all the required parameters of automation within the tag and type="automation type"/>
3    all the subtags with all required automations, one per each type in a single string
4    <linked addr="could be bound to the buttons"/><br>
5</item>

Automation types and all the parameters for each of them

  1. Activating when opening one of the doors: on-by-door – enabled, door-sensors, illumination-sensors, illumination-level, time-interval, time-intervals
  2. Disactivating when closing the door: off-by-door – enabled, door-sensors, delay, motion-sensors, motion-level, time-interval, time-intervals
  3. Activating according to movement on any of specified sensors: on-by-moving – enabled, motion-sensors, motion-level, illumination-sensors, illumination-level, time-interval, time-intervals
  4. Disactivating according to movement on all the specified sensors: off-by-moving – enabled, motion-sensors, motion-level, time-interval, time-intervals
  5. Disactivating according to the level of illumination on all the sensors: off-by-illumination – enabled, illumination-sensors, illumination-level, time-interval, time-intervals
  6. Activating and disactivating according to time patterns: with-time – enabled, time-intervals

Parameters description

  1. enabled – automation activating (="yes") or disactivating (="no")
  2. door-sensors, motion-sensors, illumination-sensors – the addresses of sensors of corresponding type applied for automation (several sensors are specified via, for example 533:10;525:12)
  3. motion-level, illumination-level – reading levels of corresponding sensors
  4. time-interval – timing range operation of sensors readings levels
  5. time-intervals – parameter in the format of 7 consecutive repeating successions of hexadecimal notations like XXXXXXXXXXXX (their length is 12 symbols, per each day of the week starting from SUNDAY), symbolizing bitwise automation activity half-hour periods of time (i.e. each number equals to 2 hours exactly)
    Examples:
    time-intervals="000000000000000000000000000000000000000000000000000000000000000000000000000000000000" – it doesn’t operate ever:
    time-intervals="FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" – it operates always:
    time-intervals="FFFFFFFFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" – it doesn’t operate only on Tuesday till 8 a.m.
  6. delay – off delay parameter on movement in automation of switching off according to the door after its closing