Reboot with BT button

  • HI,

    I have 11 Shelly Plus 2 pm every of this with a corresponding BT button. This button is a backup in case to lose wifi or internet to open and close the cover. But I would like also to use this button to reboot the shelly with a long press. I share my actual script with the cover stop,open and close functions , But if someone could help me to know how to add a long press option to reboot the devices without lose the actual cover functions it would be helpful .
    I know I´m asking for a maybe big help but for ones taht are not code or scripting experts, it´s to hard to do this kind of actions in the correct and easy way.

  • Helllo,

    first pls use the code block to share your code, 2nd if you response to this post I will take a look at it, but to restart your Shelly you just need to use this url inside a http.get call --> http://your.shelly.ip.adress/rpc/Shelly.Reboot

    You code inside a Code Block:

    Einmal editiert, zuletzt von _[Deleted]_ (11. November 2023 um 12:53)