8

I have a standard wall switch connected to an input on a Shelly relay, call it A. I have a second Shelly relay (call it B) across the house that has a light connected to the relay output.

Using the Shelly Cloud software, can the switch input on A control the relay on B?

4
  • 1
    what did you have to do to pair up the wall switch with Shelly A ? ... do the same with Shelly B
    – jsotola
    Mar 9 '20 at 6:13
  • 1
    That's not the way Shelly relays work. It's a single box with a relay output and a switch input. You can wire up a standard wall switch to the switch input. The relay can be controlled by software or the wall switch. You can also "detatch" the switch input from the relay so that the input can control something else. But I haven't figured out how to program the Shelly cloud software to connect the switch input to something else.
    – longneck
    Mar 9 '20 at 13:45
  • I clarified the working. Shelly calls their units "relays".
    – longneck
    Mar 9 '20 at 13:49
  • via MQTT I think you can achieve this
    – cgmckeever
    Jul 11 '20 at 1:48
2

Yes, just using the built-in local software.

Background: Shelly relays can be sent http commands to switch them on and off. This is documented at https://shelly.cloud/documents/developers/ddd_communication.pdf

First, on relay B, find the local network address of the device. This is in Settings -> Device Information, and will be something like 192.168.x.y where x and y are two numbers between 0 and 254. Make a note of these numbers.

Now, on relay A, go into Actions and find the "Button switched on URL" and "Button switched off URL" lines.

Enable these, and add a URL. It will be something like: http://192.168.x.y/relay/0/?turn=on to switch the other device on.

If you don't want relay A to change anything connected directly, you can change its button type to "Detached Switch"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.