-
Autor
Hi there,
I have a script I'm executing via http request but need to have the script "stop itself" after completing its actions.
I can do this very inelegantly right now using a Shelly.Call to the shelly's own IP. like this:
but this necessitates hardcoding the IP and the Script ID. Ideally I would love to just have the script run, complete its mission and have it stop itself without having to hardcode IP or Script ID.
Perhaps I'm missing this somewhere in the documentation - but would be nice to have something like "Script.Stop" that I can place at the end of my desired actions to stop the script.
Thanks for any pointers.