It seems that when sensor has access to home network and user can access embedded web interface via access point, then firmware update works without any need for "proxy" etc.
Therefore I succeeded by following the procedure:
1.Start with factory reset = unplug batteries, plug batteries back and press and hold smaller hole for 10 seconds (se User and Safety Guide and Press and hold the button for 10 seconds for Factory Settings Reset. Successful factory reset turns on the LED indicator to flash slowly.)
2. Then with computer, connect to (opened) Wi-Fi network shellydw2-<last-6-characters-from-mac-address> and open the default web page http://192.168.33.1/
3. In Internet & Security check that CLOUD` is enabled.
4. Then in WIFI MODE - ACCESS POINT configure some dummy password for another Wi-Fi network shellydw2-<all-12-characters-from-mac-address> and press CREATE Access Point
5. Connect computer to this Wi-Fi network `shellydw2-<all-12-characters-from-mac-address>` and again open the default web page http://192.168.33.1/
6. In WIFI MODE - CLIENT connect the sensor to your home Wi-Fi network and press SAVE
7. Finally go to Settings, choose FIRMWARE UPDATE, press CHECK FOR NEW FIRMWARE and upgrade device.
Note: now you can delete on computer remembered Wi-Fi networks `shellydw2-<last-6-characters-from-mac-address>` and `shellydw2-<all-12-characters-from-mac-address>`