mirror of
https://github.com/arendst/Tasmota.git
synced 2025-08-01 15:07:42 +00:00
Merge pull request #6124 from curzon01/development
decode-config.py: adapt settings
This commit is contained in:
commit
64faec9e5c
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
VER = '2.2.0028'
|
||||
VER = '2.2.0029'
|
||||
|
||||
"""
|
||||
decode-config.py - Backup/Restore Sonoff-Tasmota configuration data
|
||||
@ -928,8 +928,18 @@ Setting_6_6_0_1['flag3'][0].update ({
|
||||
'tuya_dimmer_range_255': ('<L', (0x3A0,1,16), (None, None, ('SetOption', '"SetOption66 {}".format($)')) ),
|
||||
})
|
||||
# ======================================================================
|
||||
Setting_6_6_0_2 = copy.deepcopy(Setting_6_6_0_1)
|
||||
Setting_6_6_0_2['flag3'][0].update ({
|
||||
'buzzer_enable': ('<L', (0x3A0,1,17), (None, None, ('SetOption', '"SetOption67 {}".format($)')) ),
|
||||
})
|
||||
Setting_6_6_0_2.update ({
|
||||
'display_width': ('<H', 0x774, (None, None, ('Display', '"DisplayWidth {}".format($)')) ),
|
||||
'display_height': ('<H', 0x776, (None, None, ('Display', '"DisplayHeight {}".format($)')) ),
|
||||
})
|
||||
# ======================================================================
|
||||
Settings = [
|
||||
(0x6050010, 0xe00, Setting_6_6_0_1),
|
||||
(0x6060002, 0xe00, Setting_6_6_0_2),
|
||||
(0x6060001, 0xe00, Setting_6_6_0_1),
|
||||
(0x605000F, 0xe00, Setting_6_5_0_15),
|
||||
(0x605000C, 0xe00, Setting_6_5_0_12),
|
||||
(0x605000B, 0xe00, Setting_6_5_0_11),
|
||||
|
Loading…
x
Reference in New Issue
Block a user