How to group devices together then use the group name instead of individual devices


#1

Within my house, I seem to repeatedly call the same groups of lights over and over in various pistons.

With Light a, Light b, …etc

When I add or change a light, I have to edit loads of pistons manual.

Maybe I am missing something, but is there a way in Webcore to give a name to a set of Devices so I can just edit the set and it will automatically work in all my pistons.

I use WebCore exclusively for my automation and don’t really want to set up stuff directly in the smartthings app or anywhere else if possible.

Thanks


#2

You need to use variables for this.

let me give you an example from my pistons…
BRB


#3

there you go…
Here is an example variable with all devices I want to include…


#4

and if you want them outside of the piston but still in webcore, use GLOBAL VARIABLES…


#5

Wow. Simple as that! Thanks very much, completely solves my problem!

Happy Christmas.


#6

You are so welcome…
I’m glad it worked…
Happy Christmas to you too.


#7

Once I discovered variables myself I redid all my pistons with them and never looked back!


#8

same here… but not only that, I’m so dying to scratch everything (uninstall the bulbs, erase switches etc) and start all over again… fresh…