Distinct settings for dimmer switch inputs

  • Hi

    I want to user a Shelly dimmer 2 to control the entrance outdoor lights as follows:

    • SW1: a motion sensor shall automatically switch on/off the light when motion detected
    • SW2: the wall switch shall work as follows:
      • when OFF: motion sensor controled lighting
      • when ON: light always ON

    Is this behavior possible with the available dimmer 2 firmware? Can the switches be independently configured?

  • dipling 15. Oktober 2022 um 23:35

    Hat den Titel des Themas von „dipling“ zu „Distinct settings for dimmer switch inputs“ geändert.
  • If you don't want the motion to be active, you have to deactivate the SW input with an action command (Detached) and reactivate it vice versa.

  • If you don't want the motion to be active, you have to deactivate the SW input with an action command (Detached) and reactivate it vice versa.

    This could work. I believe I can only set both switches to detached mode, which means the whole ON/OFF control must be handled externall, in homeassistant.

    Thanks

  • You're welcome. :thumbup:

  • I believe I can only set both switches to detached mode, which means the whole ON/OFF control must be handled externall, in homeassistant.

    The behaviour you described can easely be realized without external control (home assistant etc.).

    As you wrote, you can set both switch inputs to detached and then use URL actions with localhost to handle the actions.

    Or connect the wall switch to SW1 and set Button type to "One button", so you could also use a momentary switch and would be able to also dim.

    So, best would be to put PIR on SW2 and wall switch to SW1.

    SW2 = the motion sensor. So you go to Button2 switched on url and set it to turn on the light

    In Button2 switched off action, you set the light to turn off.

    Now, you go to the Button1 switched on action and there you have to enter an URL that will disable the URL action for Button2 switched OFF.

    What happens: As soon as you put the wall switch to ON, the Button1 swiched on action will trigger and disable the Button2 switched off action and therefore the light will just stay on and wont respond to the PIR state any more.

    To reactivate the BUTTON2 switched off URL, you need to put a last URL in the OUTPUT SWITCHED OFF action.

    So when the light switches off, e.g. by pressing the wall switch or by App or timer ... this action will trigger and this will reactivate the PIR switched off action.

    Some time ago, we had about the same topic in this forum where I also put the urls

    Here is the link to that topic.

    dewaldo
    4. Februar 2022 um 09:46