haavarda wrote:Hi Mike.
I have been able to play a bit with this, and I think this is going to be perfect. It just needs some tweaking because the Zipato bulb is a bit strange...
With my Zipato bulb I dont see what the Master intensity is doing? What is this actually controlling?
Since the bulb is showing as 2 different switches my experience is that I have to turn off the second of them to be able to see the rgb color. If not it seams like the white light is to dominant or disables posibility to set rgb. Could there be an option to turn off bulb2 before setting rgb levels?
There is a possibility to adjust color temperature with parameter 1 on this device, and somehow this adjustment is just shown when using the second of the multilevel switches.
As you can see this is not easy to understand, at least I am struggling to see any logic in it. But thank you for implementing this bulb in your plugin. I think this can make it a lot easier to use.
Havard
I can't actually test the device in real life so I'm guessing most of the time. The Master Intensity is used by some devices as an overall control for brightness across all channels. I suspect it has absolutely no effect on the Ziparto operation so can be safely ignored. I might need to write a 'driver' specific for the Ziparto device let's see. In the meantime just ignore it.
Now onto the two devices. I understood from your screen shots that this was the case.
So it looks as if there are two devices operating here - let's call them White and RGB.
Knowing Matt & Jays approach they have two different device numbers but the same address - is that right? The White Device will have one code and the RGB Device will have another. The logic would work like this I think:
White Light
if I want to show a white light I don't use the second device I use the White Device therefore the RGB Device should be switched off, White Device should be switched on, User should be able to set a colour temperature (do you know the parameter name/number?)
RGB Light
If I want to use RGB functionality the White device must be off therefore the White Device should be turned off, The RGB levels set on the second device, The RGB Device switched on.
Off
To ensure that light is fully off there are two devices White and RGB that need to be switched off
I appreciate that's a lot of words for a simple premise but I need to understand the mechanism so I can code it.
So can you let me know:
Are there two separate devices?
Are the addresses the same?
Are the device codes different?
What is the model description for the devices (so I can search for bulbs in the devices list for the dropdowns)?
What is the parameter that needs to be set on the White device and what is the possible range?
What is the name of the parameter (or parameter number)?
That should do for starters
Regards
Mike