Page 1 of 1

MiLight Red-Green weakness

Posted: Sunday 06 August 2017 21:22
by thps
He Forum,

if i change the color of my milight-Devices to red, the color is changed to green and otherwhise its the same. I think my NRF24L01 has some problems to deal with red and green.

Any Ideas how to solfe this?

I´m using the R46 Firmware witht the Domoticz Beta Branch.

greetz

THPS

Re: MiLight Red-Green weakness

Posted: Saturday 16 September 2017 23:51
by sebvi
I've got the same problem running the latest stable version (3.8153) with RFlink R47 firmware.

Any help would be much appreciated.

Re: MiLight Red-Green weakness

Posted: Sunday 17 September 2017 0:22
by Stuntteam
We are checking the Domoticz part of the code..

Re: MiLight Red-Green weakness

Posted: Tuesday 19 September 2017 13:03
by sebvi
I found the following on github.

https://github.com/domoticz/domoticz/pull/1366

It is not clear to me if and which lines have to be changed in the latest version.

Re: MiLight Red-Green weakness

Posted: Monday 02 October 2017 11:13
by Milifax
Any news on this? Same problem here with MiLight Led lamps.
Running on version v3.8423

Re: MiLight Red-Green weakness

Posted: Saturday 07 October 2017 19:58
by poudenes
sebvi wrote: Saturday 16 September 2017 23:51 I've got the same problem running the latest stable version (3.8153) with RFlink R47 firmware.

Any help would be much appreciated.
How do you use the R47 Firmware with DOmoticz and Milight? I have add my Wifi iBox inside Domoticz and use it with that.
Is it possible to pair them now directly inside domoticz?

Re: MiLight Red-Green weakness

Posted: Sunday 08 October 2017 10:30
by sebvi
I control them directly from my rflink with the NRF24L01. I can pair them, but as stated earlier the red and green colours are switched when using the colour slider in domoticz.

Re: MiLight Red-Green weakness

Posted: Sunday 08 October 2017 17:45
by djjonesy
this line is added: int iHue = ((255 - pLed->value) + 108) & 0xFF;

and still is in today's code i think the +108 needs correcting so that red and green are good

Re: MiLight Red-Green weakness

Posted: Monday 09 October 2017 21:58
by donk7413
I have this issue too

Re: MiLight Red-Green weakness

Posted: Monday 09 October 2017 23:02
by Stuntteam
Should be solved for Milight RGBW in the next beta version.
Also corrected for other milight types..but you might need r48 (available soon)

Re: MiLight Red-Green weakness

Posted: Tuesday 10 October 2017 16:34
by Milifax
Stuntteam wrote: Monday 09 October 2017 23:02 Should be solved for Milight RGBW in the next beta version.
Also corrected for other milight types..but you might need r48 (available soon)
Works with the latest beta! Great! Thanks!

Re: MiLight Red-Green weakness

Posted: Friday 13 October 2017 21:10
by mosjonathan
I alsof conform this is working as expected.


Thanks for the fix

Re: MiLight Red-Green weakness

Posted: Wednesday 18 October 2017 15:19
by tlpeter
This is still a problem but for me for the Fibaro RGBW module.
If i select green then i get red and otherwise.
Is this system wide or per protocol?

Re: MiLight Red-Green weakness

Posted: Wednesday 18 October 2017 19:13
by Stuntteam
Per protocol.. and it has been fixed for RFlink..