Only some virtual drivers are useful - if they have no inbuilt 'smarts'. Things like blinds/shades thermostats and garage door controller all have smarts so are not just providing status - they 'act' intelligently upon it.
I have written a 'remote' thermostat for MQTT and will also release a remote shade and remote garage door. These are just totally dumb device drivers to provide status display plus a control mechanism back out with the smarts being actioned by the MQTT device or in your case would be the z-wave device
I think I perhaps misunderstood the scope of device support within the current code. Very early stages and it does need a lot of expansion, although that is what the first post implies. Currently button presses only.
I just finish motion sensor and im working on lights a little more tricky being this a 2 way communication device now I don't think I will be able to use the virtual devices because I will need to use some specific attribute not available on the generic virtual devices
You can use any number of named ‘data’ values, which are a per device set of stored values .. I use them for extra MQTT info like the associated topics and attribute mappings
I end up writing 2 more drivers I postpone learning that way for the future
now suport for lights and motions sensors you need to update the parent and button drivers to the new version and add the 2 new drivers motion and lights
I haven't looked at the code yet.. but it seems the level on deConz is updating bri (not level) and using setLevel updates level but doesn't propogate to deConz ?
Yes I just realize that I have to do the other conversion ones bri come from deCONZ need to update the level value too working on something else now I will get it later
Do setLevel() updates back to deConz for lights work for you (over ZigBee to the physical device) ?
I am new to deConz here so not familiar with how they're done..
What is a good name you think I should use?
Not really good a that, I never take programming classes so I really don't know best practices I'm more like an obsolete mainframe admin now everything is cloud base so I turn out cable guy.