Setting Up Shelly Device Without Cloud or Location Permissions

I use a Shelly Plug M Gen3 to monitor my homeserver&rsquo;s power consumption with a custom Prometheus exporter . After a router restart, the device disappeared from the network. I tried the official Shelly Cloud app to re-onboard it, but the app demanded location permissions, wanted to upload my WiFi password to Shelly&rsquo;s cloud, and still failed to add the device. Frustrated, I figured out…