Again just in case you haven’t read the Lights Basic Piston post I will explain a few things I have created two virtual switches in SmartThings one called “Guests” & the other “Lighting Automation”, The reason for this is its great to have automation throughout the house but there will always be a reason to disable it. For example if have loads of friends round I turn the “Guests” switch on and the lights will no longer turn off automatically so once they have come on that it, it’s on till I turn it off manually or turn on the “Guests” switch. The switch isn’t really used that offen but I added it when I had a friend come round with a baby he was asleep in one of our rooms and didn’t want the light to come on every time someone went to check on him. To create a virtual switch you can either use the IDE to manually create one or use SwitchMania or VDM (Virtual Device Manager)
This is webCoRE Piston is for my Living Room, My Living Room has two doors one to the Dinning room, the other to the Hallway. It has one Aeotec MultiSensor 6. This piston has a extra define called “extraSwitches” if any “extraSwitches” are on it disables most of the piston this is due to another piston taking over the lights as in this case the Logitech Harmony has a active activity and depending on the activity the lights do different stuff. To use this Piston your need to remove the delay between ST & Harmony See Here, Once you have removed the delay you can take a look at this. Import Code “qh9sv”.
This is what the weCoRE dashboard looks like this when the Logitech Harmony Piston is handling the lights.