Will commands to the device on which the script is running still work when the device is offline? Say I have a script running on a Shelly 2.5 that toggles the power to the two output channels, based on the status of two different switch inputs. Of course, calls to web interfaces won't work when WiFi is down. So, the question is: Do calls to 'self' go through the web interface? or do they bypass it and still work locally (in isolation). To be clear, the Shelly 2.5 is 'sortof' two separate devices, built into one, so I'm wondering specifically if a script running on that device would be able to manipulate BOTH channels, rather than being restricted to just one 'side' of the device.
And the ancillary question: Is writing a custom script a sensible substitute for an operational mode that doesn't exist in the UI as a selectable mode (e.g. 'edge' switching, 'cycle' mode, etc.)?