Commit Graph

50 Commits

Author SHA1 Message Date
Norbert Richter ce136547f1 decode-config.py: adapt settings
- fix GPIO (my_gp)
- fix -g/--group filter
- change Tariff* (-register8/+tariff*)
- add (missing) cmnd Adc (my_adc0)
- add MqttLog (mqttlog_level)
- add Sensor34 8 x (hx711_json_weight_change)
- add SetOption71 (dds2382_model)
- add SetOption72 (hardware_energy_total)
- add SetOption80 (shutter_mode)
- add SetOption81 (pcf8574_ports_inverted)
- add Shutter* (shutter*)
2019-10-06 14:06:23 +02:00
Norbert Richter 622fc70566 decode-config.py: adapt settings
- add Sensor54 (ina226_r_shunt, ina226_i_fs)
- add/change Tariffx (register8)
- add crc32 calc
2019-09-13 15:39:57 +02:00
Norbert Richter 7306bb3638 decode-config.py: adapt settings
- add Time (time_format)
- add TuyaMCU (tuya_fnid_map)
- add cfg_timestamp/cfg_crc32
- remove SetOption65 (tuya_disable_dimmer)
2019-09-06 10:42:39 +02:00
Norbert Richter d83d2210b0 decode-config.py: adapt settings
- rename SetOption65 (tuya_disable_dimmer)
- expand settings
- add energy_usage struct
- add Tariff3 (energy_weekend)
- change baudrate/sbaudrate
- fix KeyError on -T cmnd
2019-08-28 16:13:23 +02:00
Norbert Richter aecb7fa1a9 decode-config.py: adapt settings
- add Setoption69 (tuya_dimmer_min_limit)
- add WebSensor (sensors[])
2019-08-19 13:40:06 +02:00
Norbert Richter 908bf6cc63 decode-config.py: adapt settings
- add Setoption68 (pwm_multi_channels)
2019-08-08 17:24:20 +02:00
Norbert Richter 9e8d53b977 decode-config.py: adapt settings
- fix SetOption65 Settings version
- add Setoption66 (buzzer_enable)
- add DisplayWidth (display_width) / DisplayHeight (display_height)
- def housekeeping
2019-07-23 18:40:11 +02:00
Theo Arends 1f895854c2
Update decode-config.py 2019-07-12 12:20:44 +02:00
thirug010 943dc524ea Update Code for Issue #6066- Dimmer Value not equal to Rx Dim State #
Change Summary

1. Added Option to select Dimmer Range (1-100 and 1-255) through SetOption66 (default is 1-100 for legacy device support

2. Updated Dimmer code to set range based on the option66 100 / 225
2019-07-11 22:28:08 -05:00
Norbert Richter b0fc277f7b decode-config.py: revert html changes 2019-06-30 17:29:11 +02:00
Norbert Richter 5ccd8bc2e7 decode-config.py: adapt settings
- add SetOption65 (tuya_show_dimmer)
2019-06-30 17:24:19 +02:00
tammo0 6ee8d6be16 save space for web frontend
- changed <br/> to <br>
- "name" attributes of input, select, textarea, button items are removed and set by their id (only if ID is set and no name tag given)
2019-05-31 18:24:56 +02:00
Norbert Richter adf0eb03ef decode-config.py: adapt settings
- add AdcParam (adc_param*)
- cleanup vars may having conflict with keywords (PEP 8)
2019-05-29 14:08:37 +02:00
Norbert Richter 10a9ca6c5e decode-config.py: adapt settings
- fix some -g groupsnames not accepted
2019-05-21 11:13:35 +02:00
Norbert Richter 9a6cdbe1c1 decode-config.py: adapt settings
- fix suppress of empty values for output format "Tasmota cmnd"
- add SetOption63 (no_power_feedback)
- add config file verbose info
- change `@f`/`@h` macro char replacement (alphanumeric chars only, same as Tasmota does)
- remove mcp230xx pinmode validation
- revert PowerSet, VoltageSet, CurrentSet for >= v6.2.1.6 from -T cmnd
- allow mix case for -g parameter
- adjust command groups -g to Tasmota Wiki
2019-05-11 13:46:58 +02:00
Norbert Richter aae0d96072 decode-config.py: adapt settings & fixes
- add LedMask (led_mask)
- add WebColor (web_color)
- adapt Interlock (interlock) flag (6.4.1.11)
- fix Sensor20 range (novasds_period)
- fix PulseTime<x> values
- fix readonly bitstruct
- fix wrong EnergyReset cmnd/values
- cleanup rename vars having conflict with keywords (PEP 8)
2019-04-17 18:40:47 +02:00
Norbert Richter d310373c28 decode-config.py: adapt settings
- add Sensor20 (novasds_period)
2019-03-31 12:23:09 +02:00
Norbert Richter 398d21cc14 decode-config.py: adapt settings
- add SetOption62 (no_hold_retain)
2019-03-14 18:29:09 +01:00
Norbert Richter eb08bb07ee decode-config.py: adapt settings
- remove SetOption62 (no_pullup)
- remove obsolete Tasmota command converter
2019-02-21 15:37:46 +01:00
Norbert Richter 26b91d5d05 decode-config.py: adapt settings; add Template 2019-02-15 18:35:29 +01:00
Norbert Richter d0072118f3 v2.1.0020
decode-config.py: adapt settings

- add Sensor15 (SensorBits1)
2019-02-03 11:03:11 +01:00
Norbert Richter 448a7852e1 decode-config.py: adapt settings
- add Interlock (interlock)
- remove SetOption63 (split_interlock)
2019-01-28 16:40:46 +01:00
Norbert Richter 5b5ad077fd decode-config.py: adapt settings
- add SetOption63 (split_interlock)
2019-01-13 17:33:33 +01:00
Norbert Richter c9df630b30 decode-config.py: adapt settings
- add SetOption62 (no_pullup)
- revise desc md/html files
2019-01-07 18:15:11 +01:00
Theo Arends 1f49c7db37
Update decode-config.py 2019-01-04 11:26:29 +01:00
Norbert Richter 2bf4b7c60e decode-config.py: adapt settings, fix warning
- add SetOption55 (mdns_enabled)
- fix string warning
- change file handling
2019-01-04 10:24:46 +01:00
Theo Arends 447ec6256e 6.4.1.4 Update Copyright (C) 2019
6.4.1.4 20190101
 * Update Copyright (C) 2019
2019-01-01 13:55:01 +01:00
Norbert Richter d9f2e2193d decode-config.py: adapt settings change
- remove SetOption55 (hass_short_discovery_msg)
2018-12-23 13:38:38 +01:00
Norbert Richter 20a4b1bdc3 decode-config.py: Fix `@v` filename template (#4609)
- fix restore filename auto extension
2018-12-13 06:57:44 +01:00
Norbert Richter 9c69701af3 decode-config.py: add new settings
- add SetOption61 from PR #4562
2018-12-11 08:19:04 +01:00
Norbert Richter e74079f8c6 decode-config.py: add new settings
- add 6.3.0.16 setting change
2018-12-08 10:30:01 +01:00
Norbert Richter 3cd89330aa decode-config.py: add new settings
- add 6.3.0.15 setting change
- adapt 6.3.0.13 setting change
2018-12-03 08:33:21 +01:00
Norbert Richter 3470d4712f decode-config.py: add 6.3.0.11 to .14 settings 2018-11-27 11:24:19 +01:00
Norbert Richter 89ceb81660 decode-config.py: add 6.3.0.10 settings
- add SetOption56/SetOption57
2018-11-20 17:06:54 +01:00
Norbert Richter c903b7d830 decode-config.py: add 6.3.0.8 settings
- fix Tasmota cmnd "MqttFingerprint"
- fix setting <tasmotacmnd> callable definition handling
2018-11-16 18:09:02 +01:00
Norbert Richter 0ff2f9072d decode-config.py: add/fix Tasmota cmnd output and filename macros
- add Tasmota SetOption51/53/54
- add filename network hostname macro @H
- fix filename @* macros (removed if data source is unavailable)
- fix Tasmota SetOption3x
- fix http body garbadge output on screen
- revise desc md/html files
2018-11-14 08:03:55 +01:00
Norbert Richter dd00af3fe0 decode-config.py: add features Tasmota cmnds, grouping and filters
- add restore value validation
- add '--force-restore'
- add output filter by Tasmota groups '--filter <group> [<group>...]'
- add '--output' and '--output-format cmnd' (adds - most of all - Tasomta command output)
- add Tasomta command output control:
  '--cmnd-indent', '--cmnd-groups', '--cmnd-nogroups', '--cmnd-sort', '--cmnd-unsort'
- removed 'raw' data handling (obsolete)
2018-11-12 16:08:09 +01:00
Norbert Richter 13c6057108
update settings to last commit for v6.3.0.4 2018-11-07 14:05:03 +01:00
Norbert Richter 9380312e7f add v6.3.0.4 config changes
- pack setting templates using diffs
- add more '--verbose' outputs
- fix wrong templates selection
- fix wrong filename handling
- fix --verbose filename output
2018-11-07 13:42:13 +01:00
Norbert Richter cf66923e52 add/fix v6.3.0.2 config changes
- upset settings: reduce to diffs
2018-11-05 09:09:53 +01:00
Norbert Richter ba874b39df add v6.3.0.2 config changes 2018-11-01 14:48:41 +01:00
Norbert Richter c3f303876f decode-config.py v2.0.0002: add release v6.3.0 config changes 2018-10-31 07:45:19 +01:00
Norbert Richter 51a86d3ff5 decode-config.py v2.0.0001: add v6.2.1.20 config changes
- change pw defaults to unhide [Norbert Richter]
- fix handling 'raw' keys and GetTemplateSetting() error
2018-10-29 16:26:45 +01:00
Norbert Richter 47a39a61ed decode-config.py v2.0.0000: add full backup/restore capability
- add full backup/restore capability
- add Tasmota .dmp format to be able to upload previously save Tasmota files
- add help files decode-config.md
- add Tasmota *.dmp format for backup
- new args:
    --restore-file, --extension, --no-extension,
    --full-help, --verbose
- changed args:
    --exit-on-error-only to --ignore-warnings
    --output-file        to --backup-file
    --output-file-format to --backup-type
    --hide-pw            to --json-hide-pw
    --unhide-pw          to --json-unhide-pw
- removed (hidden) args:
    --sort, --unsort, --raw-values, --no-raw-values
    -raw-keys, -no-raw-keys
    defaults are no raw keys/values and sort
2018-10-27 10:37:33 +02:00
Theo Arends f8ab8ef552 Clean settings.h
Removed custom fields from settings.h
2018-10-17 15:29:43 +02:00
Norbert Richter a6dae02e33 decode-config.py v1.5.0013: add dev settings 6.2.1.14 & 6.2.1.15
- clean-up settings using diffs
2018-10-14 13:18:16 +02:00
Norbert Richter 7dcb10a911 v1.5.0012: 'decode-config.py' add args, add 6.2.1.x settings, fix filename with @
- add: developer version settings 6.2.1.2, 6.2.1.3, 6.2.1.6, 6.2.1.10
- add: args '--raw-keys', '--no-raw-keys', '--raw-values', '--no-raw-values', '--hide-pw'
- add: value -1 for arg '--json-indent' to disable indent if default is enabled
- changed: json output to file use always raw values
- fix: add again removed return code desc
- fix: needless dot . in filename for @v
- fix: rule(123) none-raw outputs
2018-10-02 13:42:21 +02:00
Norbert Richter 3997792429 v1.5.0011: 'decode-config.py' fixes & enhancements
- add configuration data header to json and binary outputs
--add template @v and @f for output filename
- add output of crc values on crc error
- add '--exit-on-error-only' arg make it possible to process partly valid data
- replaced '--sort <word>' by '--unsort'
- changed data size and data crc error into warnings
- changed output always in json format
- removed arg '--format' (obsolete)
- removed collections module (obsolete)

v1.5.0010: 'decode-config.py' add more detailed outputs

- add bit structure for struct TimeRule, Timer, Mcp230xxCfg
- add program return code desc
- add error handling for additonal python modules
- changed 'Settings' definition to handle array of struct
- changed field conversion string to formular evaluation for values
- fix and enhance output values
2018-09-29 13:56:02 +02:00
Norbert Richter 76d203d5aa 'decode-config.py' version bugfixes & json output enhancements
- add new arguments '--json-indent' and '--json-compact'
- fix poblem with invalid string chars when having garbadge in flash
- fix errors using configs for Tasmota < v6.2.1
- fix setting definition for v5.13.1/v5.14.0
2018-09-26 15:18:01 +02:00
Theo Arends ec421e6144 Released decode-config.py
Released tools/decode-config.py by Norbert Richter to decode configuration data.
2018-09-25 14:08:36 +02:00