Changes
Jump to navigation
Jump to search
3,029 bytes added
, 08:06, 19 August 2021
==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==
<syntaxhighlight lang="xml" line>
<item addr="Device address" auto-period="Time of automation disabling" name="Element name" type="Element type, for example lamp">
<automation all the required parameters of automation within the tag and type="automation type"/>
all the subtags with all required automations, one per each type in a single string
<linked addr="could be bound to the buttons"/><br>
</item>
</syntaxhighlight>
==Automation types and all the parameters for each of them==
#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
#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
#Disactivating according to movement on all the specified sensors: '''off-by-moving''' – enabled, motion-sensors, motion-level, time-interval, time-intervals
#Disactivating according to the level of illumination on all the sensors: '''off-by-illumination''' – enabled, illumination-sensors, illumination-level, time-interval, time-intervals
#Activating and disactivating according to time patterns: '''with-time''' – enabled, time-intervals
===Parameters description===
#'''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''')
#'''motion-level, illumination-level''' – reading levels of corresponding sensors
#'''time-interval''' – timing range operation of sensors readings levels
#'''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.:
#delay – off delay parameter on movement in automation of switching off according to the door after its closing