Skip to content

Commit 58ff10c

Browse files
authored
Merge pull request #4470 from curzon01/development
decode-config.py: add 6.3.0.11 to .14 settings
2 parents 33a158f + 3470d47 commit 58ff10c

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

Diff for: tools/decode-config.py

+19-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
3-
VER = '2.1.0009'
3+
VER = '2.1.0010'
44

55
"""
66
decode-config.py - Backup/Restore Sonoff-Tasmota configuration data
@@ -783,7 +783,25 @@ def MqttFingerprint(value, idx=None):
783783
'use_wifi_rescan': ('<L', (0x3A0,1, 7), (None, None, ('SetOption', '"SetOption57 {}".format($)')) ),
784784
})
785785
# ======================================================================
786+
Setting_6_3_0_11 = copy.deepcopy(Setting_6_3_0_10)
787+
Setting_6_3_0_11['flag3'][0].update ({
788+
'receive_raw': ('<L', (0x3A0,1, 8), (None, None, ('SetOption', '"SetOption58 {}".format($)')) ),
789+
})
790+
# ======================================================================
791+
Setting_6_3_0_13 = copy.deepcopy(Setting_6_3_0_11)
792+
Setting_6_3_0_13['flag3'][0].update ({
793+
'hass_tele_as_result': ('<L', (0x3A0,1, 9), (None, None, ('SetOption', '"SetOption59 {}".format($)')) ),
794+
})
795+
# ======================================================================
796+
Setting_6_3_0_14 = copy.deepcopy(Setting_6_3_0_13)
797+
Setting_6_3_0_14['flag2'][0].update ({
798+
'calc_resolution': ('<L', (0x5BC,3, 6), (None, '0 <= $ <= 7', ('Management', '"CalcRes {}".format($)')) ),
799+
})
800+
# ======================================================================
786801
Settings = [
802+
(0x603000E, 0xe00, Setting_6_3_0_14),
803+
(0x603000D, 0xe00, Setting_6_3_0_13),
804+
(0x603000B, 0xe00, Setting_6_3_0_11),
787805
(0x603000A, 0xe00, Setting_6_3_0_10),
788806
(0x6030008, 0xe00, Setting_6_3_0_8),
789807
(0x6030004, 0xe00, Setting_6_3_0_4),

0 commit comments

Comments
 (0)