Estley
August 21, 2018, 2:10am
1
Excuse my poor terminology, new to WebCoRE. I want to do something that sounds reasonable simple.
I want switch B to “inherit” the status/state of switch A. Basically, if I turn switch A on, switch B turns on and viceversa. I’m able to do it with a couple of conditions and actions, there’s a way to basically do :
SwitchB.state=SwitchA.state
jkp
August 21, 2018, 2:40am
2
Best place to post a webCoRE question is on the webCoRE Community Forum
1 Like
You don’t have to use Core/WebCore to do this. You could create a virtual switch:
Virtual / Simulated Device Types are functional “Things” but are not physical devices you have. Installing them allows you to control them via SmartApp’s just as you would a physical smart device.
Creating Virtual Devices - On/Off Switches
There are many reasons you’d have the need for a virtual switch.
You want one switch to control multiple other switches and/or commands.
You have a multi relay device and want to control the relays individually. (currently ST doesn’t support this)
You could use virtual switches the same way you’d use Hello Home Actions, to take care of multiple actions or state changes with the change of your virtual switch state.
To create a Virtual Switch
Login to the IDE @ https://graph.api.smartthings.com/
Click “My Devices”
Click the “New Device” Button
Ente…
and then use the Mirror Behaviour feature in Smart Lighting to keep them in sync.
Estley
August 21, 2018, 5:13pm
4
Yeah, I already do exactly what I want with Smart Lighting, this is more of a learning Excercise… thanks!!