This is code for HomeAssistant and ZWaveJS for the Inovelli VZW31-SN Red2-1 Switches.
This is IN PROGRESS AND INCOMPLETE. Please see Inovelli Community - VZW31-SN: Per LED with Effects - What comes first? for more information and tracking.
GOAL: Set up an hourly notification based on the rising or falling of the temperature to go off hourly across multiple switches.
Current Configuration:
Ive set up a script for each group of commands that needs to be run. All of these use the zwave_js.multicast_set_value
for each call. A total of 7 calls have to be made for each LED.
Here's what I have so far for script:
- One for duration change
- One for duration reset
- Two for color selection
- One for effect
- One for level
- One for level reset
Automations: - One for rising temp: pre-sets the params at the 59th minute, executes the duration script at the top of the hour, then resets the duration and levels. Only on the condition that the temp change threshold has been reached.
- Same as above but for the falling temp.
Sensor(s): - A trend binary sensor that detects whether the temperature is rising/falling to a certain threshold