webCoRE Piston – One Button With Multiple Actions (Prefect for Cycling Through Colours)

This piston turns a one button device in SmartThings into a button that can do 4 things, something different with each button press. This was made for a client that didn’t want to spend a huge amount of money on a device with 4 or more buttons so instead went for a cheap Xiaomi Aqara button. This was set up to change a Phillips Hue Lightstrip which was installed behind his telly, it cycles through the colours Blue, White, Red and Green. This could be modified to have less or more cycle options. Import code “ws820”.  

One comment on “webCoRE Piston – One Button With Multiple Actions (Prefect for Cycling Through Colours)
  1. Kenny says:

    I’ve tried to copy this code to enable cycling through various dim levels…miu9y

    It doesn’t work, but I can’t see what I’ve done wrong.

    Can you tell?

    Many thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *

*