[RELEASE] The Flasher - Flash your lights based on several triggers

Introducing 'The Flasher'
Flash your lights based on several triggers!

Features:

  • Triggers include: acceleration, button, contact, lock, moisture, motion, presence, switches and time!
  • Each trigger can be set to activate when on/off, active/inactive, etc. based on type of trigger
  • Flash options include: multiple devices, number of flashes, delay between on/off (speed), level and color
  • Can also use the bulbs BUILT IN Flash function!
  • Flip between two different colors when using the built in Flash option
  • Option to only flash between set times, or when in a certain mode
  • Parent/Child App structure
  • Create as many child apps as needed

Apps can be found on my GitHub or HPM

When reporting problems...

  • Be sure you are on the latest version. I won't troubleshoot an older version.
  • Turn on debug and screenshot the issue happening in the log. One line or just the error doesn't cut it. I need a log.
  • Post the screenshot of the log with an explanation of the problem.

Thanks

9 Likes

Thanks @bptworld working good so far...would love to be able to change light colors in a future update.

1 Like

I installed this as I'm trying to get my son's light to flash to get his attention to come out of his room and downstairs instead of screaming at him. Looks awesome but sadly I need to use a button to trigger the flashing lights. Anyway you could add that?

Sure.

New version on Github...

Child:
V1.0.1 - 01/08/20 - Added button as a trigger

1 Like

That was quick hahaha .... awesome man thanks

1 Like

Works like a charm great work!

1 Like

New version on Github...

Child:
V1.0.2 - 01/09/20 - Added color to Flash options

1 Like

Oh wow, this is awesome! Thank you.

The name of this app brings one thing to mind...

Wasn't that called 'The streak'? :wink:

Absolutely. What a missed opportunity on the name, if you could have somehow made The Streak fit, you could have used that little cartoon devil as a mascot! :slight_smile:

1 Like

how do I input this
Be sure to complete the 'Advanced Config' section before creating Child Apps.

Try to add Flasher Child app and getting this error

Unexpected Error

An unexpected error has occurred trying to load the app. Check [Logs] for more information.

Error: Cannot invoke method hasCommand() on null object

in the log shows this :
java.lang.NullPointerException: Cannot invoke method hasCommand() on null object on line 124 (pageConfig)

That was some left over code from another app.

Fixed!


New version on GitHub...

Parent:
V1.0.1 - 01/10/20 - Removed some leftover code

Child:
V1.0.3 - 01/10/20 - Fixed setup error

Thanks

Thanks, it's working good. Love this app.
Thank you very much.

1 Like

Cool app, any chance you can make it a multi light selection? I'd like to have both my Study lamp and Loungeroom lamp flash when the same button is pressed. I assume I could just create another Flasher rule but figured a multi selection would just be easier.

Yup, just create a second child app for now.

For you! lol. Muli selection was the original idea until I added in restoring switch to original state after flashing. Saving the device state before flashing and then restoring became a nightmare with multiple devices.

I'll keep working on it and maybe multi selection will happen at some point.

1 Like

This is what i really like about your flashing app!

2 Likes

@bptworld any chance you can add in an option for mode selection?

1 Like

Sure, new version on Github...

Child:
V1.0.4 - 01/12/20 - Add Mode restriction

2 Likes

Any tips on why my Sengled Element Color Plus doesn't respond to the Flasher? My B/W Sengled works fine.