Skip to content

Commit

Permalink
add more commands
Browse files Browse the repository at this point in the history
  • Loading branch information
gytisgreitai committed Dec 12, 2020
1 parent ec9430f commit 00443d3
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,19 @@ def transform_any(value: list) -> float:
# 031d 0107 01 Set sensor ventilation: humidity protection: auto
# 031d 0107 02 Set sensor ventilation: humidity protection: on
commands = {
'ventilation_level_0': [0x84, 0x15, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00],
'ventilation_level_0': [0x84, 0x15, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00],
'ventilation_level_1': [0x84, 0x15, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01],
'ventilation_level_2': [0x84, 0x15, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x02],
'ventilation_level_3': [0x84, 0x15, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x03],
'bypass_activate_1h': [0x84, 0x15, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0e, 0x00, 0x00, 0x01],
'bypass_deactivate_1h': [0x84, 0x15, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0e, 0x00, 0x00, 0x02],
'bypass_auto': [0x84, 0x15, 0x02, 0x01],
'air_supply_only': [0x84, 0x15, 0x06, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0e, 0x00, 0x00, 0x01],
'air_extract_only': [0x84, 0x15, 0x06, 0x01, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0e, 0x00, 0x00, 0x00],
'ventilation_balance': [0x84, 0x15, 0x06, 0x01],
'temp_profile_normal': [0x84, 0x15, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x00],
'temp_profile_cool': [0x84, 0x15, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x01],
'temp_profile_warm': [0x84, 0x15, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x02],
'boost_10_min': [0x84, 0x15, 0x01, 0x06, 0x00, 0x00, 0x00, 0x00, 0x58, 0x02, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00],
'boost_20_min': [0x84, 0x15, 0x01, 0x06, 0x00, 0x00, 0x00, 0x00, 0xB0, 0x04, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00],
'boost_30_min': [0x84, 0x15, 0x01, 0x06, 0x00, 0x00, 0x00, 0x00, 0x08, 0x07, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00],
Expand Down

0 comments on commit 00443d3

Please sign in to comment.