jtp10181 / Hubitat

Custom Hubitat Apps/Drivers
Apache License 2.0
18 stars 6 forks source link

Flash rate setting is needed for RM Flash? #20

Open jtp10181 opened 1 year ago

jtp10181 commented 1 year ago

Hey Jeff, I ran into a minor issue with the Leviton driver. I was working on an alert rule and needed to flash a lamp connected to a DZ6HD as part of the rule. It wouldn't work. Problem was the Flash Rate was set too slow.

The Flash rate was not exposed, so I had to switch to the 'Generic Z-Wave Smart Dimmer' driver to set it, then switched back to the Leviton driver. No big deal, just thought you might want to know. Thanks - Joe


All I know is that the "Generic Z-Wave Smart Dimmer" driver offers a few fixed choices like 750ms, 1Sec, 2Sec, etc. I've been playing with this with rule machine and don't see a way to set flash time within a rule. You can delay the start of the flash but can't see how to set the flash rate in RM 5.1.

Maybe I set it accidentally without knowing it, but my Leviton device was set for 2 seconds, which screwed up the HE and I got excessive traffic warnings. Once I set it for 750 ms (the fastest choice in the driver) everything worked in my rule.

I checked a few of my other devices and they all come up with the 750ms setting. I do remember reading a thread about some devices not supporting Flash, but that HE will simulate it if not available.

https://community.hubitat.com/t/l4viton-dimmer-flash-rate/115521

jtp10181 commented 1 year ago

I have fixed this locally by making it remember the last used rate, so you can effectively set the default this way which will be used if the rate is not sent with the command. Have not moved fix to all drivers yet or published.