But the AP of the shelly 4PM is giving out ip's in the range 192.168.33.xxx
That is Shelly’s default IP-range when they are in setup mode, just login to the IP that is assigned to them one by one in a web browser and change settings.
For me, i have my Shellys on wifi, so i connect with my phone to Shellys WiFi and browse to 192.168.33.1 in Safari (iPhone) and change my settings.