Controlling Sylvania SMART+ WRGB LEDs with Samsung Button


This example piston controls Sylvania SMART+ WRGB strip lights from the Samsung button. It illustrates having a single push to toggle the LEDs between two modes (night and day, could be on and off); double push turning all lights on, not just the Sylvania ones; and held running a 60 second random light show. This is my first example upload, hope it helps someone.

Bits of code and understanding here come from users Brandon Pines, bangali, and acd37.