Beiträge von Belthazor

    I wanted to add a shelly device so I can switch on the corridor lights in my building in certain scenes. We have on each floor several regular physical momentary switches with 2 wires and an indicator lamp. The lamp is on when the switch is not pressed and turns off while the switch is pressed. I wanted to add a shelly 1L in parallel with one of the switches. The live terminal would be connected to the live wire, and output to the output wire switch. Note that there is no neutral wire here. The relay would be on for 1 sec enough for the staircase timer to switch on the lights, simulating a press on the physical switch. Would this work? Or is there another way to do this? I think I could access the actual timer switch in the building and put either 1L or any other switch from Shelly, but the first method is more accessible.

    Kind regards and thanks in advance for your answers

    So I ended up writing a little applet in php which can, based on supplied parameters, do what I need.

    So for example when I go out, I want to switch everything off on long press:

    http://<serverip>/switch.php?type=all&relay=0

    The script will then fetch current state of relay that sent the request and based on it's state will set the state of other switches.

    I only added an exception, when I return home and longpress the switch, it will only turn the lights on, not everything else.

    It's a little scrible of code, I did not have enought time to play with it more and add more features and some sort of AI :)

    I recently installed multiple Shelly1 and 1PM for controlling various things in my appartment mostly by using momentary switch type, and I am very happy with them. However, I would like to add a functionality to one of my switches which is near apartment door and controlls lights in entryway. I want it to turn off all the shelly relays on long press. So for example when I or somebody else leaves the appartment, to switch everything off with one long press. I am aware of DDD and long press option, but there I can supply a URL to only 1 device. Is there a way to send multiple commands this way, or a way to do this via cloud? Now I already have google assistant connected, so I can also use that, but I wanted this just as a sort of backup, and for members of my family who are not quite fluent in english (so google assistant cant really understand them all the time).

    Appreciate any sugestions