Factory reset
You can perform a factory reset by pressing the button inside the S32 and E32 Gateway for 10 seconds. If you have a Premium II with the latest firmware 2.2.2b0 you can use a metal pin to shortcut pins D3 to D2 on the Wemos for 10 seconds.
If the above methods do not work, you have to upload the firmware again. See: HERE.