Hi, I'm a bit of a noob, but here goes:
I have a room with wall lights controlled by a physical switch, and lamps plugged into a socket. I would like to have the socket turn on and off when the light switch is switched. The smart socket I have responds to a simple URL.
I can make this work on the bench easily by having the Shelly permanently powered and the output of the switch connected to the SW terminal, and using the switch on/off actions to trigger the socket. Really nice and easy...
However, I just looked at the wiring in this (old) house. There's no neutral at the switch and no live at the wall light (other than the switch output), so it's not easy to power the Shelly while the light is turned off. Is there anything I can do in this case? It seems that the Shelly doesn't have an action for power-on (feature request?!). I also did try wiring as per the diagram for "Turning On/Off 'Special'", but still couldn't get any actions to fire. Before I start tearing up floorboards, is there anything else to try? In particular,
- might I be able to do something with MQTT?
- if I had a different Shelly relay (this is a Shelly 1) would anything change?
- can I get a script to run at startup with the latest firmware?
- Dave