service: script.inovelli_ledĮssentially my script passes the correct information to the t_config_parameter service, including a tricky math formula to set the color, effect, duration, and brightness. The result is a script with simple parameters named inovelli_led. So I converted the spreadsheet math to a Home Assistant script template math. Luckily the manufacturer provided a spreadsheet with the calculations. What surprised me was how complex the math was required for the task. It is possible to both change the color and animate it! Not only can the Inovelli LZW31-SN Red Series Dimmer (and LZW30-SN Switch) trigger scenes with up to 5 taps (up and down), it has a really slick Status LED strip built in. Update #1: thanks to observation I modified the code examples on my site to work for dimmers as well as also discovered that renaming your zwave entity to a shorter name may be necessary. Update #2: I now have a OZW version of the inovelli_led script. Update #3: Completely refactored code for 0.115 Update #4: New script to set default LED color & brightness Update #5: Z-Wave JS support added for Home Assistant 2021.03.0 beta and later. Update #6: zwave_integration variable to make it easy to use any of the 3 Z-Wave Integrations: (zwave, ozw, or zwave_js). Update #7: Thanks for I have implimented ZWave JS’s new zwave_js.bulk_set_partial_config_parameters command + fields for friendly Developer Tools > Services use. *Update #8: Thanks to for the correct “Off code”.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |