Iāve but together a blueprint that will set an Inovelli Red Dimmer with an effect and a color based on the status of a cover (garage door) and a lock. There are 4 states:
Garage open/closed and Lock unlocked/locked.
Garage
Door Lock
Garage Open
Door Unlocked
Garage Open
Door Locked
Garage Closed
Door Unlocked
Garage Closed
Door Locked
Additionally it will fire off a notification to a mobile device.
Demo Video Here
This blueprint will depend on the ability to call two services which are scripts forked from brianhanifin
Happy to work with you to try it out. Right now there is a zwave flag on the lock but if I remove it it will probably grab any lock I think. Same for any cover.
It appears to be working well for me, however I am seeing a few errors reported in my logs. For the scripts, whatās the best way to bring them into HA? Do you move the files physically over or do you copy/paste the YAML? Iām wondering if this may be related to the errors Iām seeing in my logs.
Both errors indicate that it is: āUnable to find service script.inovelli_ledā
The LED light is changing as expected to the associated color, so itās workingā¦just wondering if I did something wrong in configuration that would mitigate these errors in the HA logs.
Dang, this is sweet @jeeftor ā do you mind if we link to this in our community? Weāre also developing a vast knowledge-base of tutorials for Home Assistant (and other hubs) and itād be cool to get your thoughts once we launch it.
Thanks for putting this together, it looks awesome!
@jeeftor would you please share what specifically you have in your configuration for the script reference folder or directory?
I canāt seem to get rid of this error, so Iām clearly not setting up something correctly to import these scripts into my setup.
Iāve tried manually copy/pasting the YAML into the scripts editor within the Web UI as well, but I still get the error in my logs about being unable to find the inovelli led script.
I still havenāt yet figured out what Iām doing wrong. Iāve placed both YAML scripts into folders for SCRIPTS and AUTOMATION aside from manually trying to create them via the UI, but I still get this error when it runs. However, the LED is changing properly, but my logs are being filled with this error.
Logger: homeassistant.components.automation.inovelli_red_series_lzw31_sn_dimmer_led_notifications_based_on_combo_of_door_and_garage
Source: helpers/script.py:1344
Integration: Automation (documentation, issues)
First occurred: 17:02:51 (4 occurrences)
Last logged: 17:06:36
Alert - Mudroom - Inovelli Red Series LZW31-SN Dimmer - LED Notifications based on combo of Door and Garage: Choose at step 1: choice 3: Error executing script. Service not found for call_service at pos 2: Unable to find service script.inovelli_led
Alert - Mudroom - Inovelli Red Series LZW31-SN Dimmer - LED Notifications based on combo of Door and Garage: Error executing script. Service not found for choose at pos 1: Unable to find service script.inovelli_led
Alert - Mudroom - Inovelli Red Series LZW31-SN Dimmer - LED Notifications based on combo of Door and Garage: Choose at step 1: choice 1: Error executing script. Service not found for call_service at pos 2: Unable to find service script.inovelli_led
Any ideas or suggestions? Iām running Home Assistant OS on a NUC.
UPDATE: Think I FINALLY figured it out. Adding the files manually to the SCRIPTS or AUTOMATION folders did not work, and it looked like the manually created script was not named āinovelli_ledā, so I had to manually adjust the scripts.yaml line to this name and the error appears to be resolved. FYI in case anyone else runs into this issue.
Anyone else having trouble getting the inovelli_led.yaml script working? It seems like the inovelli_math āfunctionā is calculating the wrong values.
For anyone trying to use the inovelli_led script and zwave_js there is a bug in this script. You have to remove the first part of the sequence that āclears the previousā notification.
I have two garage door covers and two doors with locks. I use groups to combine them into two entries based on the type. It means it doesnāt tell me which door or cover is open/unlocked, but it works since the color tells me if itās a door or a cover, just not which specific one is open or unlocked.
Loving this! Thank you for putting it together. I have a couple of feature requests.
The ability to set the led brightness level from the blueprint UI.
Make the notification field optional. Right now I canāt save the automation with the field blank.
An additional option to set the led to off after the effect duration has passed. Or, just when the lock and the garage are both closed. If I know that the led is only off when both are closed, then that would give the same amount of info as a persistent green led.
@jeeftor This is my first attempt at using a blueprint and dealing with scripts. Can you give some instruction on how these additional scripts can be included. Im not quite sure where / how to include these.