tasmota / mgos32-to-tasmota32

ESP32 Mongoose OS to Tasmota32 OTA updates for Shelly
GNU General Public License v3.0
131 stars 9 forks source link

Shelly Pro Dimmer 2PM #59

Open justspacedog opened 2 months ago

justspacedog commented 2 months ago

Hi,

please add a build for this device: https://kb.shelly.cloud/knowledge-base/shelly-pro-dimmer-2pm

Thank you!

Jason2866 commented 2 months ago

Need the device name visible on the Shelly device Web page. Please post a screenshot from.

justspacedog commented 2 months ago

That would be „ProDimmer2PM“:

IMG_9343

Jason2866 commented 2 months ago

There is no update package available for this device from Shelly update server. https://updates.shelly.cloud/update/ProDimmer2PM To make a convert package I need infos from this package. As long there is no update is available no dice.

Jason2866 commented 2 months ago

There are flash pin headers. If you can dump the installed firmware (8MB), and provide me the dump I could try to do too.

justspacedog commented 2 months ago

That would be awesome! How can I do the dump?

Jason2866 commented 2 months ago

See https://docs.espressif.com/projects/esptool/en/latest/esp32/esptool/basic-commands.html#read-flash-contents-read-flash You need hardware for. Recommended https://tasmota.github.io/docs/Getting-Started/ https://tasmota.github.io/docs/Getting-Started/#__tabbed_1_3

justspacedog commented 2 months ago

I have a serial interface somewhere, but we just moved and I don’t know where I put it… :/

I activated debugging on the WebInterface and found out, that the update URL uses the Identifier „ProDimmerx“: https://updates.shelly.cloud/update/ProDimmerx

Image 24 04 24 at 19 57

So the stable Firmware should be found under: https://fwcdn.shelly.cloud/gen2/ProDimmerx/d6d452c462e2e60e7106ff8996c0ac6184c0ba984d96a5490f5adf9874b6ea4e

It’s a 2,2 MB Zip Archive. Can you work with that or do you need the dump?

Jason2866 commented 2 months ago

The Firmware update package is enough to build a convert package. BUT i would not convert without a complete dump (backup) of the orig. firmware. Just the fact that Tasmota can be installed does not mean that it is usefull on this device. If you have backuped (dumped) your Shelly firmware you can try https://github.com/tasmota/mgos32-to-tasmota32/releases/download/v13.4.2/mgos32-to-tasmota32-ProDimmerx.zip If it works Tasmota will start and the device gets bricked!! since there is no Autoconfig setup which does replace the locked Shelly bootloader.

So in any case if you try the convert package you have to reflash the orig. firmware afterwards (or Tasmota).

Jason2866 commented 2 months ago

If it is similar to #17 it is not supported from Tasmota