What Bulb or Socket supports FLASH setting

I want to setup a light, either via a smart bulb or smart plug that supports the "Flash" feature. So when triggered via motion or other method, it flashes/strobes the bulb maybe 6 to 10 times to get ones attention. What devices support this feature or can I setup my Peanut plug to flash the light that is plugged into it?

Hubitat's Generic Z-Wave Switch (and Smart Switch) driver implements a flash() command, though if it's the same as the example driver they've published in their repo, it's basically faked at the software level by switching on and off repeatedly. Mysteriously, the Generic Z-Wave Outlet driver does not include this same command. I'm not sure what the differences are between these two drivers (beyond this) other than the fact that one includes preferences toggle the LED indicator found on most switches as well as a preference to reverse the paddle direction, both parameters not likely found on a Z-Wave plug. If you don't try to use those, I'd guess there would be little harm in using this driver instead of the outlet driver for nearly any Z-Wave smart plug. The situation is similar on the Zigbee side, where the Generic Zigbee Switch driver implements this command, and the Generic Zigbee Outlet driver does not; again, I suspect you could probably use either. This would include the Peanut Plug, though that is not an officially supported device (but many people have it working).

At the bulb level, the Aeon Smart Bulb 6 support some sort of flash capabilities according to its documentation, but it's not clear to me exactly how that works. I'm not aware of any others that do (the Generic Zigbee Bulb drivers do not expose this as even a "faked" command, and the Hank, Yeelight, and Hue Bridge bulb drivers do not implement a command for this, either--though I wrote a custom Hue Bridge integration, CoCoHue, that does, and the Hue B Smart port does as well).

Unless the bulb/switch/outlet supports something like this natively (Hue sort of does, a "long select" command that flashes the bulb 15 times, or a regular "select" that flashes it once, neither exposed by the stock Hue Bridge integration), then the "emulated" flash is nothing you can't do yourself with something in Rule Machine--something like Capture State, On, Delay 1 Second, Off, Delay 1 Second, On, Delay 1 Second, Off, etc., and a Restore State (or not if you want to define how it ends--on or off). Doing this a bunch of times in a row probably isn't great for your Z-Wave network bandwidth, but it apparently wasn't enough to stop Hubitat from doing in the stock (or at least example) driver that way, so it's probably not too bad. :slight_smile:

1 Like

Hi @cpuken. As @bertabcd1234 mentioned, the Aeon Smart Bulb has a effect capability. You can set up a custom action in RM to send the Set Effect command with a number from 1 to 5. {1=Christmas - switches between red and green, 2=Fire - flashes red, 3=Flash - flashes the current color, 4=Police - rapidly switches between blue and red, 5=Random Colors - slowly changes color}

supports flash
Aeon Labs DSC26103-ZWUS Z-Wave In-Wall Micro Controller Micro Switch Inbox

You're not going to get a strobe effect from anything using the flash capability. If you really want something with a strobe capability, look at the Aeotec Siren 6 or Doorbell 6. You can flash the built in light in one of several different pattern on-demand from Hubitat, including from Rule Machine. It's VERY bright too. And very reliable.

But, if you are just trying to get someone's attention, I would think that toggling the light twice to turn it off then on or on then off would be enough to make them take notice.

You could also use a color bulb. Capture the bubl's state, turn it to a specific color, then restore it to it's original setting. All from within Rule Machine.

The point is, i think there are much more reliable and easy ways to use lights as notification than trying to use Flash or a flash substitute.

1 Like