TransWikia.com

can a shelly switch control a different shelly relay?

Internet of Things Asked by longneck on August 23, 2021

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?

One Answer

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"

Answered by jymbob on August 23, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP