Hallo everyone,
I'm very new to Shelly and also to scripting.
I have got Home Assistant running on a Raspery Pi in my office and sometimes it crashes. To be able to turn the Raspberry of and on from home when it happens I got a Shelly PlugS. works like a charm with the interface and also with webhooks.
The vision would be to have a script that checks if HassOS is up and running and if not to turn itself off and on again to restart the home automation.
Does anyone know a simple way how to accomplish that? Maybe by checking the webinterface? I did quite some research but can't figure it out myself. Raspberry and PlugS are in the same network.
Thanks a lot in advance,
Georg