Greetings.
So, for quite a while I have gotten into the habit of buying RGB/RGBW/RGBCT/RGBWW and using them as single rails. One RGB controller can power 3 dimmable bulbs just fine. Especially since other automation systems, like DMX, simply works in "channels" and it's up to you to group them. I routinely use these channels to power dimmable stuff, like fans and lights and motors. It's very financially efficient.
I think you see where this is going.
So, I bought a zigbee RGBWW controller, all is well, except, well, the RGB controller is HSB. This is an issue because:
a) H, S, B appear to be round. At least in the UI, maybe Maker API takes decimals, but the browser uses round numbers, meaning 255x255x255 (16.7M) is now 100x100x100, which is 1M. That's quite a bit of precision off. Pile onto this that some RGB lights don't even turn on under 5-7% and the pretty much peak at 50%, and I could have used that precision.
b) I can read Green and set Green in a RGB environment. In a HSB environment, I have to read H, S and B and then do math and then resend them, meaning that not only do I have to be aware of channels that really shouldn't have to change, but also that I may lack the precision to keep the other channels where they were. Because of rounding, I have no guarantee that the green channel will stay at 7/255 as I send another HSB value. If green is powering something that physically moves, I'm in for all kinds of fun.
I have seen that Hubitat supports a virtual RGB light. To my utter disbelief, a virtual RGB device takes no RGB and gives no RGB. This, in my mind, is ridiculous. I should be able to set up a vRGB device, work with R, G, B and it can sync its color to whatever is internally deemed as standard. I won't question it, I'm sure there was a reason.
This brings me to the Maker API.
"color":"PaleMoonlightSadness"
I own 5 soldering irons and 0 paintbrushes. I don't know what that is.
I was brainstorming and I figured that, at least one way, I could have some variables, expose them via Maker, and then have some sort of automation, either via rules or via external app. Basically, have a Maker interpreter which, OnChange for variables, would math and send HSB, but it seems like overkill. I'd have to do math over HTTP. That can't be good for efficiency.
Another way forward for me would be to just use one channel out of five. This would quintuple my hardware costs, but I could set them to "blue" in UI and then just work with device and brightness. I would also take the resolution hit because Saturation is gone.
So, can I have some input, please? Can this be a driver? Does it have to be Hubitat supported, or can this be done via community? What is the way forward?

