I'm looking to modify the GE Smart Fan Control driver to expose the functions indicatorWhenOff and indicatorWhenOn so I can create an app or rule to turn the annoying bright LED completely off (the devices built in parameter 3 doesn't support the Never option - though it is listed for the device in Hubitat).
Is it possible to see the driver code or request that those two functions be implemented?
I've found a few drivers for the Plus version of the switch but mine is the older version and it didn't appear to function properly. If you had a version for this device I'd love to see it and see if I could modify it.
As for the white electrical tape, tried it. That freaking blue LED is BRIGHT, it still was showing through it. Adding too many layers doesn't meet the SAF either.
Just fustrating because it was something I could control with ST but I can't with Hubitat which for the most part has been superior to ST.
So the basic z-wave parameter tool has been suggested before in my other post about this. The problem isn't knowing the parameter or knowing how to set it, it is in the device itself. The device itself does NOT support a Never option for the LED, it only has the two options Off when On or Off when Off, which the default driver supports.
The issue is that the default driver doesn't expose functions to change this parameter though an app or Rule Machine. In ST someone wrote a very simple app that monitored selected switches and when they turned on it would set the parameter to Off when On and when the switch was subsequently turned off it would set the parameter to Off when Off. There would be a really really quickly blip sometimes between states but not long. This is what I want to get to, I want to "emulate" the never option for this LED.
The app, if it is the one below, saves when you import it into Hubitat app code section. And it installs the app itself. It appears to work, but I have no way to tell for sure if it is working correctly as I don't own one of these devices. But it at least gets to that step of looking like an app.
So I have a version of the app that works in Hubitat but the code below does not work because the function isnāt present in the driver: mains?.indicatorWhenOff()
As for the physical ON ON OFF, that just switches it between the On when Off or On when On states, it never goes to completely off.
Hubitat firmware 2.2.5 is reported to have a way to automate device preferences/settings via a special, new built-in app (as you note, preferences are not currently accessible to apps; they can only run commands on the device, and this is not exposed as one by the driver). This is assuming you want to automate this setting and not just change it once forever; in that case, the above suggestions would be my recommendations. But it sounds like you want it to be automated, so waiting for this is all you can do without writing/finding a new driver.
I have been avoiding porting a driver over because I didn't want to go down the rabbit hole of is it my porting vs is it my driver code but I found one that needed minimal work to get ported. Unfortunately, the device now doesn't show up properly in Home Assistant (connected through MakerAPI) or Amazon Alexa. It just shows up as a dimmer switch. I'll have to keep digging to see what I need to change.
Aha adding "capability "FanControl"" to my definition allowed it to be detected as a Fan, however it doesn't properly support jumping to Low, Med, High speeds so more work needs to be done.
I have however gotten the annoyingly bright blue LED to stay off except for blinking when changing speeds.
So I have a Driver + RM machine combo working but it isn't paying attention to physical switch changes. I know this is related to polling because I can do a manual poll and it updates the state and RM executes turning off the LED. My question is how can I fix this because obviously the native driver handles physical changes just fine.
I looked at Z-Wave Poller but my switch doesn't appear in the lists to select.