I have just bought a Shelly Plug S for use at home and at my cottage LANs.
These LAN:s are connected via VPN so every device on both LAN's can reach each other.
I plan on moving the plug between the two locations to be able to switch on/off a Linux server.
The plug will NOT be connected to any cloud service and I will just use the URL for on and off to control the switch from a shellscript.
wget -q -O/dev/null http://shellyplug/relay/0?turn=on
wget -q -O/dev/null http://shellyplug/relay/0?turn=off
I have entered the shellyplug host in my /etc/hosts file on the device which will issue the commands, so when moving the Shelly between LANs I just have to edit this file and it will work.
Question:
Is there a way to specify two possible WiFi SSID to connect to when the Plug-S powers up?
On a regular Linux machine one can enter several SSID into the /etc/wpa_supplicant/wpa_supplicant.conf file and it will connect to whichever of these SSID is present on the location it is powered up.
How can this be done on a Shelly Plug S?