Improvement ideas for RGBW leds

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.
User avatar
remb0
Posts: 1002
Joined: Thursday 11 July 2013 22:21
Target OS: Raspberry Pi
Domoticz version: Beta
Location: The Netherlands
Contact:

Improvement ideas for RGBW leds

Post by remb0 » Wednesday 02 September 2015 12:32

some ideas for applamp/limitlessLED/mi-light

the popup:
- also on mobile view?
- no you have the popup and the edit button where you can use functionalities. can we merge that?
so that you have 1 popup for changing light clours speed, more etc, and the normal edit mode.
- the popup has a close button. can that change to if you click outside the popup the popup disappear?
its cleaner
- there are 2 push buttons on and off. can that be on/off or has it a special purpose.
- the popup misses 2 things the edit mode has: hue and brightnes..

mode selector in popup: rgb / warm white.


In the app (milight ) you can change continues with a button.
and change the speed of changing as you can see in the screenshot.
Is this also possible in the popup?

Image

Sappien
Posts: 201
Joined: Saturday 24 August 2013 9:59
Target OS: Linux
Domoticz version: beta
Contact:

Re: Improvement ideas for RGBW leds

Post by Sappien » Thursday 03 September 2015 12:19

+1

jjnj
Posts: 240
Joined: Thursday 31 July 2014 13:51
Target OS: Windows
Domoticz version:
Location: NL
Contact:

Re: Improvement ideas for RGBW leds

Post by jjnj » Thursday 03 September 2015 13:43

+1

sijones
Posts: 136
Joined: Wednesday 15 October 2014 14:16
Target OS: Linux
Domoticz version: Git
Location: UK
Contact:

Re: Improvement ideas for RGBW leds

Post by sijones » Sunday 06 September 2015 17:18

+1

would like to be able to use disco mode for outside lighting at Christmas

sijones
Posts: 136
Joined: Wednesday 15 October 2014 14:16
Target OS: Linux
Domoticz version: Git
Location: UK
Contact:

Re: Improvement ideas for RGBW leds

Post by sijones » Wednesday 09 September 2015 22:15

I've implemented Disco mode and patch is merged. At moment it's by using json.htm?type=command&param=discomode&idx= or button on Applamp RGB switch that gets created.

Will look at this a bit more to see about putting more useful features in.

User avatar
remb0
Posts: 1002
Joined: Thursday 11 July 2013 22:21
Target OS: Raspberry Pi
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Improvement ideas for RGBW leds

Post by remb0 » Thursday 10 September 2015 11:36

sijones wrote:I've implemented Disco mode and patch is merged. At moment it's by using json.htm?type=command&param=discomode&idx= or button on Applamp RGB switch that gets created.

Will look at this a bit more to see about putting more useful features in.
very nice! thanks!

yugoos
Posts: 26
Joined: Tuesday 15 September 2015 21:31
Target OS: Raspberry Pi
Domoticz version: 2.3072
Location: Spijkenisse, NL
Contact:

Re: Improvement ideas for RGBW leds

Post by yugoos » Monday 21 September 2015 2:18

one major rgb improvement i would like to see is sending full RGB values to milight/zwave/mysensors/etc devices.

the current code calculates RGB values based on hue value (found in main/helper (hue2rgb)), this gives us about 360 different colors instead of the 65K possible...
the above suggested color-picker for mobile devices has got a lot of pastel colors on the wheel, none of them are possible using only hue as a value.

my improvement idea is sending raw rgb values from color-picker to all devices using rgb-type fields instead of calculating rgb from too little information.

special thought for RGBW devices...always send white values, even when they are zero!


cheers,
Yuri

User avatar
epierre
Posts: 809
Joined: Wednesday 05 March 2014 14:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: Improvement ideas for RGBW leds

Post by epierre » Monday 21 September 2015 13:28

yugoos wrote:one major rgb improvement i would like to see is sending full RGB values to milight/zwave/mysensors/etc devices.

the current code calculates RGB values based on hue value (found in main/helper (hue2rgb)), this gives us about 360 different colors instead of the 65K possible...
the above suggested color-picker for mobile devices has got a lot of pastel colors on the wheel, none of them are possible using only hue as a value.

my improvement idea is sending raw rgb values from color-picker to all devices using rgb-type fields instead of calculating rgb from too little information.
I vote for it as HSB model is used without the B, and it limits a lot support for Imperihome interface
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter

yugoos
Posts: 26
Joined: Tuesday 15 September 2015 21:31
Target OS: Raspberry Pi
Domoticz version: 2.3072
Location: Spijkenisse, NL
Contact:

Re: Improvement ideas for RGBW leds

Post by yugoos » Monday 21 September 2015 15:23

epierre wrote:
I vote for it as HSB model is used without the B, and it limits a lot support for Imperihome interface
HSB model is fine when calculated correctly using all 3 base values (Hue, Saturation and Brightness).
As far as i can tell only Hue is used for RGB, Brightness is sent as separate dimmer parameter (dimming all colors at once) , this makes it HSB without the "S" and sort of "B";)

I'm sure there are issues on certain platforms, my only experience is on my own MySensors network.

User avatar
gizmocuz
Posts: 8727
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi
Domoticz version: beta
Location: Top of the world
Contact:

Re: Improvement ideas for RGBW leds

Post by gizmocuz » Sunday 27 September 2015 15:45

remb0 wrote:some ideas for applamp/limitlessLED/mi-light
see my answers inline below:

the popup:
- also on mobile view?

it should also work on mobile devices

- no you have the popup and the edit button where you can use functionalities. can we merge that?

no, because with 'edit' you can do a lot more. When a user is logged in with 'user' rights, he/she may adjust the color on/off state,
but not edit the switch (name/scripts/...)

- the popup has a close button. can that change to if you click outside the popup the popup disappear?

if I had found out, it was like that, but I can not get it done... any tips/code ?

- there are 2 push buttons on and off. can that be on/off or has it a special purpose.

two buttons On/Off can that be On/Off ? Not sure I understand. Purpose: To turn On/Off the light

- the popup misses 2 things the edit mode has: hue and brightnes..

I dont agree. You can select the full 24bit color range. (also there is a brightness slider)
That internally it is using hue, yes we should change this, so it will use the full RGB colors

- mode selector in popup: rgb / warm white.
There is also cold-white
Quality outlives Quantity!

User avatar
gizmocuz
Posts: 8727
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi
Domoticz version: beta
Location: Top of the world
Contact:

Re: Improvement ideas for RGBW leds

Post by gizmocuz » Sunday 27 September 2015 15:48

at the moment the Philips hue and applamp are using hue, zwave mysensors use RGB(W)

i'm open for suggestions, maybe someone has a nicer html5 color picker?
Quality outlives Quantity!

User avatar
epierre
Posts: 809
Joined: Wednesday 05 March 2014 14:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: Improvement ideas for RGBW leds

Post by epierre » Sunday 27 September 2015 22:00

gizmocuz wrote:at the moment the Philips hue and applamp are using hue, zwave mysensors use RGB(W)

i'm open for suggestions, maybe someone has a nicer html5 color picker?
well a model in full HSB with RGB conversion would be a good (and appreciated) start !
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter

pvm
Posts: 963
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: Stable
Location: NL
Contact:

Re: Improvement ideas for RGBW leds

Post by pvm » Sunday 27 September 2015 22:28

gizmocuz wrote:at the moment the Philips hue and applamp are using hue, zwave mysensors use RGB(W)

i'm open for suggestions, maybe someone has a nicer html5 color picker?
something like this: http://hslpicker.com/ ?
Synology NAS, PI3, ZWave, Xiamo zigbee devices, BTLE plant sensor

yugoos
Posts: 26
Joined: Tuesday 15 September 2015 21:31
Target OS: Raspberry Pi
Domoticz version: 2.3072
Location: Spijkenisse, NL
Contact:

Re: Improvement ideas for RGBW leds

Post by yugoos » Monday 28 September 2015 19:27

gizmocuz wrote:at the moment the Philips hue and applamp are using hue, zwave mysensors use RGB(W)

i'm open for suggestions, maybe someone has a nicer html5 color picker?
In my opinion I think the colorpicker is fine, it just needs to send saturation and brightness values to json, this way you can stay compatible with external scripts or devices.
extra values are fed into hue2rgb helper function when available and calculated into rgb to be sent to compatible lamps/devices.

Could this work?
What about the scene color selection and storage?

User avatar
Thyraz
Posts: 10
Joined: Friday 28 August 2015 13:45
Target OS: Raspberry Pi
Domoticz version: Beta
Contact:

Re: Improvement ideas for RGBW leds

Post by Thyraz » Thursday 15 October 2015 9:00

I also played around with a Zipto and a AEON RGB bulb (zwave).
For additional testing I also added a dummy RGB switch device.

When looking at the JSON commands in Chrome's console, I also noticed that there are only Hue and Brightness sent, not the saturation.
This is very sad, as colors with the full saturation are only used in the ghost trains and dicos.
In my living room I would like to avoid them und go with some softer colors. ;)

The second problem is the missing warm white dimming control for the devices.
The cold white that is currently controlled is way to hard and cold for lighting in your private rooms.
This might be ok for offices or the garage, but I wouldn't install expensive rgb bulbs there. :lol:

So for me the current implementation of the rgb bulbs is completely useless. :(
No idea if nobody else is using them, but I can't think of scenarios where people might be happy to use this anywhere at home...

Is this something that can be fixed without too much hassle, or is this a problem with how the values are handled in Domoticz?

User avatar
Thyraz
Posts: 10
Joined: Friday 28 August 2015 13:45
Target OS: Raspberry Pi
Domoticz version: Beta
Contact:

Re: Improvement ideas for RGBW leds

Post by Thyraz » Sunday 18 October 2015 17:40

Can someone with a deeper insight in Domoticz say if "warm white" and maybe even saturation would be possible with Domoticz?

I had the plan to buy some more of these RGB bulbs for the living room.
But the cold white that Domoticz give me with these devices won't pass the WAF-test (woman acceptance factor). ;)

User avatar
cyberclwn
Posts: 126
Joined: Thursday 20 August 2015 22:53
Target OS: Raspberry Pi
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Improvement ideas for RGBW leds

Post by cyberclwn » Monday 19 October 2015 23:26

Hi,

Maybe i understand the milight/AppLamp wrong, but i don't get the "AppLamp All"-bit.

When i turn "AppLamp All" off or on, that status of the "AppLamp Group1" and "AppLamp Group2" doesn't change. The lights go off, but just domoticz doesn't realise it.
Is that correct ?

I mean, if "AppLamp Group2" was already turned on, and i turn "AppLamp All" on, then the icons of "AppLamp Group2" and "AppLamp All" are on. But "AppLamp Group1" is still in grey, but those lights are on. Same when i turn the "AllLamp All" off.

Should i fix this myself with some kind of Sab/Slave configuration or a script (if devicechanged['AppLamp All'] == 'On' then ...... etc)?
Did i do something wrong when i did the setup ?
Or is this an error in the domoticz/applamp-part ?
3xPi 2B (Domoticz "live", Domoticz "sandbox", PhotoFrame)
RFXCom433(E), KaKu, Oregon Scientific, Keyes 2-relay, Logitech Media Server, MiLight, Smartwares heating controller(2x), IR Send/Receive, Keyes PIR, XH-M131 DuskSensor, DHT22/11

yugoos
Posts: 26
Joined: Tuesday 15 September 2015 21:31
Target OS: Raspberry Pi
Domoticz version: 2.3072
Location: Spijkenisse, NL
Contact:

Re: Improvement ideas for RGBW leds

Post by yugoos » Tuesday 27 October 2015 17:41

Thyraz wrote:Can someone with a deeper insight in Domoticz say if "warm white" and maybe even saturation would be possible with Domoticz?

I had the plan to buy some more of these RGB bulbs for the living room.
But the cold white that Domoticz give me with these devices won't pass the WAF-test (woman acceptance factor). ;)
This is exactly the reason why i would like to have saturation added to the rgb calculation, or have domoticz send a rgb value you can type in a field..

But beware, i have not been able to get a decent warmwhite from rgb-leds alone...its close in temperature but lacks a lot of brightness compared to true warmwhite leds, there's color separation in the shadows and power consumption is way higher.
Leds with 4 colors (white is a separate led in these) might me a better choise but more expensive

My personal goal is to create moodlights with less saturated colors, aka pastel colors, but colors have to be sent by domoticz and not hardcoded in the leds (or mysensors sketch in my case)
Applamps i have ordered are somewhere between china and holland...hopefully...until they arrive i can't tell how that looks

I'm not sure if there are plans for any changes

In my case MAF test fails before WAF ;)

User avatar
gizmocuz
Posts: 8727
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi
Domoticz version: beta
Location: Top of the world
Contact:

Re: Improvement ideas for RGBW leds

Post by gizmocuz » Sunday 01 November 2015 20:04

i'm open to git pull requests... so if someone can patch some code to test...
Quality outlives Quantity!

locogek
Posts: 37
Joined: Thursday 15 October 2015 19:25
Target OS: Raspberry Pi
Domoticz version: Beta
Contact:

Re: Improvement ideas for RGBW leds

Post by locogek » Thursday 05 November 2015 13:33

I like also the idea of changing the color temperature with the color picker. maybe another slider?
I order from ali-express from milight RGBWW so the double white (cold and warm).
Take a look at these: http://www.aliexpress.com/item/85-265V- ... eb201560_9

There around 10 euro's for the GU10 variants.
I will get you guys updated when I get them and how they work with the color picker that is there know.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests