Dieses Blog durchsuchen

Mittwoch, 1. Dezember 2021

Delock 11827 - Tasmota firmware upgrade

Today my two Delock 11827 "WLAN Power Socket Switch"es arrived and after I successfully configured them for my WiFi, I checked the installed tasmota version, which identified itself as 6.5.0. So it was quite old and deserves an update.

At the time of writing this, version 10.0.0 was the current release (http://ota.tasmota.com/tasmota/release/)

tasmota follows a strict upgrade-flow when doing upgrades over several major versions. The ususal upgrade-flow will not work straight with the plug, as due to limited flash-memory we have to take the long road by flashing the minimal versions before upgrading to the full version. The flow will look like this:

6.5.0 --> 6.7.1 --> 8.5.1 (minimal) --> 8.5.1 --> 9.1.0 (minimal) --> 9.1.0* --> 10.0.0** (minimal) --> 10.0.0**

You'll find the releases on the tasmota github: https://tasmota.github.io/docs/Download/

* I did not use the intermediate release 9.3.1, as it did not install properly
** The current version of tasmota does not have the version number in the filename

Use the "bin"-versions for minimal and full (example for current version). Simply copy the respective OTA-URL and paste it to the OTA-field in the firmware upgrade webinterface of the plug.

As I did a intermediate upgrade with updated firmware provided by Delock (see below), I startet the flow with the version 8.5.1.

1. Update with the latest Delock firmware

Delock provides the firmware for the 11827 on their webserver. As I was not able to find a link on their entire website, I put it here: https://www.delock.de/download/firmware/11827de.bin

The filename does not indicate a version, but actually it contained an upgrade to 7.2.0 to the original 6.5.0.

I downloaded the file and flashed the first plug via the webinterface, not using the OTA option. The second one I did with the OTA upgrade using the same link. Both worked fine.

After the upgrade, the tasmota version was reported as 7.2.0 and the plug identified itself as "AplicWDP303075 Modul" in the webinterface. I ignore this for now.

Don't be alarmed, that the firmware-language up to this step still is in German. We will use the english upgrade files in the following steps, so the language of the interface will switch.

2. Start the upgrade-flow

As stated above, I now start with the step-by-step upgrade to the target version, beginning with version 8.5.1.

Reset the plug

First I did a "reset 3" and after that a "reset 6" in the console ("Konsole") of the Delock plug:



The reset-commands take a few seconds to execute after hitting Enter. The console logs some output and refreshes. Take care to execute both commands!

Flash minimal version first

Now you are ready to flash the minimal version via the "Firmware Upgrade" button in the main menu.  I use the version 8.5.1 in this example, but it will repeat with any other version in the same way. 
Use the OTA option in the plugs webinterface and enter the URL to the 8.5.1-minimal firmware file (http://ota.tasmota.com/tasmota/release-8.5.1/tasmota-minmal.bin)


This takes a moment and the web-interface will become unresponsive in a time. After it comes back, the screen shows a warning about the minimal-firmware-version:


Flash the full version

You should now immediately flash to the full-version of the same release.
If you want to use another language than english, please use the URL for the tasmota-file with the correct locale indicated when flashing the full version. It is sufficient to do this only once with the target release file (i.e. DE=German, PT=Portugese etc.).


After some moments, the plug comes back to life with the full 8.5.1 version. Please be patient and do not unplug it from the socket if the interface does not come back. Try reloading and check the correct IP-address in the browser. Unplugging it too early from the socket may result in bricking the device.

Repeat steps until you upgraded to target version

Repeat the steps following the upgrade-path (see above) until you successfully reach the current target release. I'd recommend to always use the "reset 3" and "reset 6" commands (see above), before stepping to the next release version. If you do so, you might find the plug at some point to report itself as "Sonoff Basic". You can ignore this for now.

Final step - make the plug work again

With reaching the target version, you are almost done. 
There still is one thing to do, as you might have noticed, that clicking the "Toggle"-button in the webinterface or even pressing the pysical button on the plug does not work after resetting and upgrading. We have to tell the plug, how it should work by applying an appropriate template.
Go to the "Configuration" page and click on "Configure Other".
Copy the template-string found here https://templates.blakadder.com/delock_11827.html

{"NAME":"Delock 11827","GPIO":[0,0,0,17,133,132,0,0,131,158,21,0,0],"FLAG":0,"BASE":53}

to the "Template"-field and activate the checkbox.
If you want to activate MQTT or the default Belkin WeMo emulation, you can do this even before hitting "Save" on that page.
The plug will restart and should now work as intended.

Keine Kommentare:

Kommentar veröffentlichen