decode-config.py: adapt settings

- add SetOption62 (no_hold_retain)
This commit is contained in:
Norbert Richter 2019-03-14 18:29:09 +01:00
parent 2959ec9341
commit 398d21cc14
2 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
VER = '2.1.0021'
VER = '2.1.0022'
"""
decode-config.py - Backup/Restore Sonoff-Tasmota configuration data
@ -873,7 +873,13 @@ Setting_6_4_1_16.update({
Setting_6_4_1_17 = copy.deepcopy(Setting_6_4_1_16)
Setting_6_4_1_17['flag3'][0].pop('no_pullup',None)
# ======================================================================
Setting_6_4_1_18 = copy.deepcopy(Setting_6_4_1_17)
Setting_6_4_1_18['flag3'][0].update ({
'no_hold_retain': ('<L', (0x3A0,1,12), (None, None, ('SetOption', '"SetOption62 {}".format($)')) ),
})
# ======================================================================
Settings = [
(0x6040112, 0xe00, Setting_6_4_1_18),
(0x6040111, 0xe00, Setting_6_4_1_17),
(0x6040110, 0xe00, Setting_6_4_1_16),
(0x604010D, 0xe00, Setting_6_4_1_13),

0
tools/decode-status.py Normal file → Executable file
View File