tasmota / decode-config

Backup/restore and decode configuration tool for Tasmota
GNU Lesser General Public License v3.0
215 stars 32 forks source link

Convert ESP8266 configuration file to ESP32 configuration file #47

Closed Bascht74 closed 2 years ago

Bascht74 commented 2 years ago

Is your feature request related to a problem? Please describe

I am in the process of swapping a lot of ESP8266 devices into ESP32 devices. e.g. Shelly 1/2.... to Shelly Plus. It would be great if the configuration could be converted here, e.g. shutter settings, setoptions, MQTT, wifi, etc. Currently this does not seem possible.

Describe the solution you'd like

Maybe you could allow it after all and leave out the GPIO configurations and set other things that are ESP8266 "only" and ESP32 default settings. This could save a lot of time when "upgrading" and only have to worry about the "specialties".

Describe alternatives you've considered

I converted a file "manually" in the editor (I forgot what I configured, long time ago) and it was possible in many places. On the whole, many settings are identical.

Additional context

An alternative would be if the possible parts could be read in right away during the import into Tasmote and you get a short hint what could not be taken over. Then you can take care of it.

The whole thing could perhaps work similar to the Fritzbox, when you migrate from an older hardware to a new one. (if known).

curzon01 commented 2 years ago

Currently this does not seem possible.

It's possible

Alternative also works if you use -w to ignore errors and in additon -v to display what was ignored.