(Adding to my collection of custom Inovelli drivers...)
Supported Devices
- Inovelli Blue Series Zigbee Dimmer (formerly 2-in-1), model VZM31-SN
For code to install, see How to Obtain, below.
Not the Official Driver!
First, it should be noted that Inovelli offers their own drivers for all of their products, including this one, for Hubitat. Those can be found on their website, their GitHub, or in HPM.) If you want more or less official support from the manufacturer for their driver, that may be the one for you instead.
TLDR: This is not the Inovelli driver.
Why Another Driver?
Besides preferring to write my own drivers in general, I wanted a driver that behaved in a bit more conventional Hubitat-esque manner, including:
- a smaller, easily maintanable codebase targeted for this particular device
- typical Hubitat logging preferences for "debug" and "descriptionText" (info) logging that align with conventional logging output and other behavior for Hubitat drivers
- if there were a built-in Hubitat driver for this device, I imagine it would look something like this (though perhaps with a bit fewer options...)
I also have or am working on drivers for both the "old" (gen 2) and new (gen 3) Red Series and other new Blue Series devices, and another goal was to share as many custom commands and parameters between them as possible. This simplifies use of these devices in the same rules/apps.
(I have all three kinds in my house and the same rules for controlling the LED bar on all of them.) Not all of these are released yet, so more coming soon.
How to Obtain
This driver can be found on my GitHub;
Or use the "raw" URL for the Import dialog: https://raw.githubusercontent.com/RMoRobert/Hubitat/master/drivers/Inovelli/vzm31sn-blue-2in1.groovy
This driver is not available in HPM. This is intentional; I am hesitant to do so to reduce confusion with Inovelli's own driver.
More Information
This is a from-the-ground-up driver for the Inovelli VZM31-SN. It is not based on any existing third-party drivers (though shares some code with my other similar drivers as applicable).
Differences from the "official" Inovelli driver that I am aware of, besides the above, include:
- events/attributes closely align with Hubitat conventions, minimizing the use of custom attributes and commands (custom commands I do offer are similar to those in my older drivers and previous built-in and custom drivers to maximize compatibility)
- currently no support for Zigbee binding in this driver, though I am open to adding this in the future once I figure out what users' expectations may be (presumably similar to how Inovelli does it, which I don't know but assume is a function of their driver); I do not believe use if this driver would interfere with any already configured -- this also includes some preferences related additional endpoints this device offers
- likely a bit fewer configuration options (ones I didn't find useful at the moment like single-LED control when the whole thing is under a diffuser), but such additions would certainly be possible if there is demand
There should be nothing special needed when switching to my driver, though you may want to clear unneeded state and attributes (current states) with the "Device" driver if so desired.
Discussion
For questions or comments on this driver, I suggest asking here (or creating a new topic if you prefer and including a link to this one for visibility).
For issues with the VZM31-SN itself, I suggest posting in a separate topic here or on the Inovelli community forums.
Enjoy!