mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-28 05:06:32 +00:00
decode-config.py: adapt settings
- add Setoption68 (pwm_multi_channels)
This commit is contained in:
parent
27efc08d2c
commit
908bf6cc63
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
VER = '2.2.0029'
|
VER = '2.2.0030'
|
||||||
|
|
||||||
"""
|
"""
|
||||||
decode-config.py - Backup/Restore Sonoff-Tasmota configuration data
|
decode-config.py - Backup/Restore Sonoff-Tasmota configuration data
|
||||||
@ -937,7 +937,13 @@ Setting_6_6_0_2.update ({
|
|||||||
'display_height': ('<H', 0x776, (None, None, ('Display', '"DisplayHeight {}".format($)')) ),
|
'display_height': ('<H', 0x776, (None, None, ('Display', '"DisplayHeight {}".format($)')) ),
|
||||||
})
|
})
|
||||||
# ======================================================================
|
# ======================================================================
|
||||||
|
Setting_6_6_0_3 = copy.deepcopy(Setting_6_6_0_2)
|
||||||
|
Setting_6_6_0_3['flag3'][0].update ({
|
||||||
|
'pwm_multi_channels': ('<L', (0x3A0,1,18), (None, None, ('SetOption', '"SetOption68 {}".format($)')) ),
|
||||||
|
})
|
||||||
|
# ======================================================================
|
||||||
Settings = [
|
Settings = [
|
||||||
|
(0x6060003, 0xe00, Setting_6_6_0_3),
|
||||||
(0x6060002, 0xe00, Setting_6_6_0_2),
|
(0x6060002, 0xe00, Setting_6_6_0_2),
|
||||||
(0x6060001, 0xe00, Setting_6_6_0_1),
|
(0x6060001, 0xe00, Setting_6_6_0_1),
|
||||||
(0x605000F, 0xe00, Setting_6_5_0_15),
|
(0x605000F, 0xe00, Setting_6_5_0_15),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user