Skip to content

Commit

Permalink
decode-config.py: add new settings
Browse files Browse the repository at this point in the history
- add SetOption61 from PR arendst#4562
  • Loading branch information
curzon01 committed Dec 11, 2018
1 parent c07d027 commit f68c4d2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/decode-config.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
VER = '2.1.0012'
VER = '2.1.0013'

"""
decode-config.py - Backup/Restore Sonoff-Tasmota configuration data
Expand Down Expand Up @@ -807,6 +807,9 @@ def MqttFingerprint(value, idx=None):
Setting_6_3_0_16['mcp230xx_config'][0].update ({
'int_retain_flag': ('<L', (0x6F6,1,12), (None, None, ('MCP230xx', None)) ),
})
Setting_6_3_0_16['flag3'][0].update ({
'button_switch_force_local':('<L', (0x3A0,1,11), (None, None, ('SetOption', '"SetOption61 {}".format($)')) ),
})
# ======================================================================
Settings = [
(0x6030010, 0xe00, Setting_6_3_0_16),
Expand Down

0 comments on commit f68c4d2

Please sign in to comment.