Bug: Shelly Plus Plug S - Detached mode - input actions

  • Hi there,

    Short description:
    I cannot create actions in web interface for the button (if in detached mode).

    Long description:

    In the documentation there can be found the following:

    Choose between an attached or detached switch. If you select the detached switch, the device's output won't be affected by its input. Instead, the device can only be controlled online when the detached switch is enabled. However, you can still create actions for the device's input button, which will continue to function as normal.

    (https://kb.shelly.cloud/knowledge-base…ta-Detachswitch)

    But, there is no option in the web interface to create actions based on the input. There is only the option to chose the condition of "switch toggled on" and "switch toggled off". If the switch is attached (Output -> Settings -> Detach switch -> Attached) then this is no problem as then you can use the button using the switch status. However if it is detached, then the button cannot be used for actions. Which is contradiction to what is written in the docs.

    (There is also no event triggered when the button is pressed when using scripts)

    Expected behavior:
    A clean solution might be to be in line with the Shelly PlusI4 and Plus1PM where the input is listed separately in the overview and there is a seperated endpoint in the webinterface for input and relay in this case.
    In other words: For Plus Plug S atm. there is only /#/switch/0/[...]. Better would be to have also an /input/0/overview (like for PlusI4 and Plus1PM).

    Alternative quick fix: Add as actions also the the condition if input is pressed (and maybe also long pressed etc).



    I'm happy to help you further in fixing this bug or explaining what I mean!

    All the best

    Maxime Veit