Вентиляция 2

Revision as of 14:41, 25 January 2022 by Rusanov (talk | contribs) (Created page with "===Дополнительные параметры===")
Other languages:
English • ‎русский

Пример описания в XML

 1<item addr="201:50" automation="mode1" cfgid="62" name="vent" co2-sensors="997:1" type="vent">
 2    <automation alg="eco" name="mode" co2-level="800">
 3        <time-interval end-time="15:00" start-time="07:00" co2-level="850" week-days="mo;tu;we;th;fr"/>
 4        <time-interval end-time="18:00" start-time="09:00" co2-level="900" week-days="sa;su"/>
 5    </automation>
 6    <automation alg="fast" name="mode1" co2-level="600">
 7        <time-interval end-time="18:00" start-time="09:00" co2-level="650" week-days="mo;tu;we;th;fr"/>
 8        <time-interval end-time="20:00" start-time="12:00" co2-level="700" week-days="sa;su"/>
 9    </automation>
10</item>

Дополнительные параметры

Name type and variety description default value
co2-sensors list list of valve co2 sensors (for automation) -
automation string name of current automation mode -
undefined-behavior 0-250/on/off/last ventilation position in case of sensors readings absence (off – 0; on – 250) last
P0 0-100 minimal power for turning on fan last
alg string eco/fast/boost alg -
limit-fan number(0-250) max power
ctrl-change1 number(0-250) min level of power change (one time per "ctrl-ticks" attr) if defined 5
ctrl-change2 number(0-250) min level of power change -
ctrl-ticks number(0-3825) power change by "ctrl-change1" timeout -

Automation parameters (optional element)

Name type and variety description
name* string Device name in the control interface
co2-level* number Temperature level for the intervals not specified in time-interval tags
alg string eco/fast/boost alg
limit-fan number(0-250) max power
ctrl-change1 number(0-250) min level of power change (one time per "ctrl-ticks" attr) if defined
ctrl-change2 number(0-250) min level of power change
ctrl-ticks number(0-3825) power change by "ctrl-change1" timeout

* – required fields

Parameters of time-interval (optional element)

Name type and variety description
co2-level* Number co2 level for this time interval
start-time* HH:MM interval starting time
end-time* HH:MM interval ending time
week-days list
mo;tu;we;th;fr;su;sa
list of week days when this interval is active
alg string eco/fast/boost alg
limit-fan number(0-250) max power

* – required fields

Device status upon status request (7 bytes)

Byte number Bit number Description
0 0
1
3
4-7
On/Off
Fan On/Off
Boost On/Off
Integration algorithm (slow,medium,fast,boost)
1-2 8-23 CO2 setpoint (<-100 - no automation)
3-4 24-39 CO2 current (<-100 - no automation or undefined all CO2 sensors)
5 40-43
44-47
Current automation time interval index
Current automation index
6 48-55 Current fan level (0-250)
7 56
57
61
62
63
Error: Has undefined CO2 sensor(s)
Error: Has no any defined CO2 sensor
Error: low power for accessing setpoint
Error: fan state is undef
Reserved

Possible variants of setting the status

1-byte

Byte Description
0 0 – off
1 – on
0xFF – Change the status for the opposite one

2-bytes

Byte Description
0 0 – off
1 – on
0xFF – Change the status for the opposite one
0xFE – do not change
1 0-250 – Power