Extending a built-in driver

I have bought a LogicGroup ZDB5100 Z-Wave unit. It is a wall unit with 4 buttons, that has LED's in the buttons that can change color, and be swicthed on/off.
The buttons are functioning correctly when i use the "Generic Z-Wave Button Controller" driver, but that does of course not support changing the state of the LED's

Can the source code of the built-in driver be found anywhere, so that I can expand on that? It fells little silly to start from scratch, when a driver exists that does half of the job.

No, Hubitat do not open-source publish their drivers or apps. You would have to request a new feature.

They published the code for a few drivers in their GitHub repository for others to use as examples. But as @Angus_M said, driver code isn’t otherwise available to us as users:

1 Like

Ok. I can probably use one of the example drivers to get started.

I am looking to extend the Virtual Thermostat driver it is a pain they do not have the code open source.... ST have has this...

Yup, but they have been very clear that they are not going to open source all the drivers/code. Is what it is / not likely to change.

I saw that you (or was it someone else? I forget.) asked if they would share the virtual thermostat driver. Which is a good idea.

I wish they would share ALL of the VIRTUAL drivers on github. Those aren't especially "proprietary", and do nothing but help the community make better drivers for their hub.

1 Like

@JasonJoel That is exactly my point :slight_smile:

My use case is that I create a virtual thermostat with scheduling and getting data from different sensor and based on that I control my TRVs.

I guess the other option would be porting the Virtual drivers from ST :slight_smile:

Is it the same situation with Tiles on the dashboard?

Hope I don't start regretting migrating to HE.

Don't know as I don't use Hubitat dashboards at all (literally don't have it installed). Someone else can probably answer that, though.

Hubitat isn't an open source project... Never was. So there will always be things that you have to live within their constraints - just like Vera, just Like Wink, just like SmartThings, just like HomeSeer. There are PROs to that model in addition to the CONs though.

If you migrated from ST to HE expressly for the purpose of custom groovy driver development, then perhaps?

But I think you’ll find it to be a far superior platform overall, as most of us who made the same migration have.

Well, there won't be groovy driver development on ST much longer either. So what can ya do? :slight_smile:

1 Like

I don't want to flood the thread but if you don't use dashboard how do you control things from your phone?

I do almost no control from my phone. Mainly automation and voice.

That said I do have Node-RED dashboards I (rarely) use when I need manual control. Since I do all of my logic/automation in Node-RED already, using their dashboards was a better fit for me.

The Node-RED dashboards are somewhat less flexible/feature filled than Hubitat's though - although they can do a few things Hubitat's can't too. If I were a heavy dashboard user I may not have chosen Node-REDs dashboards over Hubitat's.

A lot of the people that hang around and answer questions here, have been doing this Home Automation thing for a while.. and eventually "control things" becomes a distasteful thing. It morphs into "Automate Things". I'm one of those. As a result, I tend not to answer "how to control things" type questions because my actual answer would be something along the "I've forgotten how" answer.

When I got my First Hubitat, I created Dashboards to assist in the migration. I still have them, haven't erased them... mostly because a lot of time was invested. I don't use them though. I tend to use Homekit (Apple) if I need to check a status... you know, hear a noise and look to see if any Motion sensor is active.

If I have to reach for a phone/tablet to 'control things' it's a black mark on me. I've failed in my Automate Things adventure :slight_smile:

Automated Home (vs Controlled Home) isn't for everyone and if you're in that universe, great.

Thanks for the reply :slight_smile: I also tend to send things to HomeKit and am working my way to towards the Automated Home but still need somewhere to go and check how it is performing.

The other use case for controlling stuff is other members of the household which are not that much into Home automation just want to click a simple button. Also voice control works pretty good if you are in country with supported language :slight_smile: I am in Bulgaria and kids and older people can't really handle voice control in English.

Pico's solve that extremely well. :smiley: