Does the Preferences section in Hubitat work?

I just installed my first two red series dimmer (VZW31-SN) and included them with Hubitat. The initial pairing took a factory reset of the switches, but I think that’s fine now (can see and control in hub, albeit sometimes things seem out of sync or slow in the Current States variables).

My issue/question is whether I’m using the preferences section of the device correctly.

I’m on the latest Inovelli made driver from GitHub, but nothing happens when I make a change in the Preferences section (e.g. set 96. LED Bar Color (when Off) to Orange) and then hit Save Preferences.

I found that I can use the Set Parameter command just fine though.
image
But is this intended?

From memory . . . You may need to do a Configure > All.

@harjms

What you’re seeing is correct and expected and @Bry was also correct with the solution.

You’ll notice that the section that Set Parameter is in is titled ‘Commands’ (though it’s super easy to miss.) Everything in that section sends an immediate command to the device.

The preferences section is just that, setting preferences on the driver, to then be sent to the switch. The intent there is to be able to tweak the ‘base’ (or ‘static’ may be a better term) functionality of the driver, and then pressing ‘Configure (All)’ sends all of those preferences to the device at once.

If you’re setting that color as a one time deal, either method is fine. (Though I would get in a habit of using the Preferences section when you are setting up the device, just to make it easier to batch-set those preferences. Nothing wrong with using Set Parameters for one-offs.) If you are changing that color regularly and/or dynamically, of course, you will want to use Rule Machine.

2 Likes

I thought I had tried this. Trying again this morning I notice that this error is logged when I hit Configure > All.

groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method user_driver_InovelliUSA_Inovelli_Dimmer_2_in_1_Red_Series_VZW31_SN_959#secure. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [class hubitat.zwave.Command] [class java.lang.String] on line 351 (method configure)

If I try to do Configure > Blank, it doesn’t log any errors, but also doesn’t seem to update anything.
image

That’s a good point, and I missed that in my original reply. (In my own defense, I only have one 3rd Gen device in operation, so I’m not perfectly sharp on Inovelli drivers.)

I think Configure->Blank would be the best/preferred option, but Configure->All should get you there, too. Not sure why one is erroring and the other is not appearing to work.

Enabled trace logging so someone familiar with the driver can hopefully help!

This is for Configure > Blank

And Configure > All is similar, but ends with that error I posted before

I kept troubleshooting this and found that the driver published on 2024-05-25 works as expected! It actually seems to run a Configure after saving Preferences, which is awesome!

I was on the latest driver (publish date 2024-05-28) and that was not working. FYI @EricM_Inovelli as I see you’re the author of this driver. Mark was who committed the most recent change, but I’m not sure if he has an account here after a quick search.

@mamber - developed most of the changes for the driver.

1 Like

I’ll check it out. Usually saving preferences will apply all of the preferences that are in the preference boxes.

Edit: I have fixed some bugs I found in the driver.

2 Likes

Just saw the edit. Tried out the updated driver and it’s working as intended–thank you!

1 Like