Also, not related to this thread but as a learning element, where would the "size" enumerator be used? (I don't believe it applies here)
Replace the entire setParameter function with what I posted, lines 675 - 686
You do not need to use the size, since the setting is defined in the driver it already knows what size to use.
Awesome, I'll give this a try. I would like to save it as a separate driver in case something goes wrong. I copied all, then pasted in as a new driver, used your code to replace the area defined, and saved it, but it holds the same name, and when I try to update the device driver to the new one, it only shows the driver which is now installed with no option for a similarly-named patched driver.
Is there a way around this?
Near the top of the driver code you can find the name and change it by adding something to the end. Otherwise just overwrite the original code, nothing much can go wrong.
Looks like this may be working, however, I can only confirm it visually. When I change states on my lock sensor, the LEDs change color, the logs show a proper-looking brightness change, but when I refresh the device page between states the errant behavior remains: no change on "Relay LED Indicator Brightness", but it indeed is apparently changing.
If I enable closed, then try to change the Relay indicator to 30% ->save preferences, the dimmer lights don't flash and nothing changes. I change the Relay indicator level to 100% -> save preferences, the LEDs flash and the indicator goes bright. I then open the sensor, and the indicator goes red, I try to change brightness to 100% -> save preferences, no flash/change, change it to 30% -> save preference Dimmer LEDS flash and indicator goes dim!
So, at this point, the only element which is apparently dysfunctional (I can relate...
) is the reporting to the device page itself in the "Preferences" tables.
Yes, I said that would be the case up above.
Ahh, I see!
Thank you SOOOO much for being patient with a slow-learning perfectionist in need of increased WAF ![]()
I love these Zooz devices, and really appreciate your expertise. Really want to give you kudos as deserved - Where's your link to buy you a cup of coffee... or a shot of bourbon if you prefer?
Bottom of each driver post:
That's my go-to site for buying Zooz!
Sure wish there was a Zooz dimmer micro-module, currently using Shelly, and would very much like to improve on those. All mounted in table lamps which works so well for me. Any other rec's for such a device?
I think the Shelly or Qubino are about the only have seen from a reputable brand. You can also find all sorts of generic Zigbee ones on Ali Express, which may or may not work correctly on Hubitat.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.