MiLight - Switching RGBWW to white-mode

Moderators: rtenklooster, Voyager, BertB, Stuntteam

Post Reply
Message
Author
Fabje
New user
Posts: 4
Joined: 21 Oct 2017, 18:32

MiLight - Switching RGBWW to white-mode

#1 Post by Fabje » 21 Oct 2017, 18:48

First off all, I must say RFLink is really great piece of software/hardware. Thanks for the effort!

Now, I have a MilLight RGBWW FUT015 bulb (RGB CCT it is called I believe?) with a FUT092 remote.
I use RFLink "20;02;VER=1.1;REV=48;BUILD=04;"

Using the "RFLink Loader v1.11" I'm trying to replicate all the remote "button" functions.
I've been successful in all of them, except switching to the "white" mode.

When sniffing the remote's messages RFLink displays it as a "set brightness" command.

Remote, setting Warm white

Code: Select all

20;13;MiLightv1;ID=20215A;SWITCH=04;RGBW=00c1;CMD=BRIGHT;
20;14;MiLightv1;ID=XXXXXX;SWITCH=04;RGBW=00c2;CMD=BRIGHT;
20;15;MiLightv1;ID=XXXXXX;SWITCH=04;RGBW=00c3;CMD=BRIGHT;
20;16;MiLightv1;ID=XXXXXX;SWITCH=04;RGBW=00bf;CMD=BRIGHT;
20;17;MiLightv1;ID=XXXXXX;SWITCH=04;RGBW=00c4;CMD=BRIGHT;
Remote, setting cold white

Code: Select all

20;18;MiLightv1;ID=XXXXXX;SWITCH=04;RGBW=009d;CMD=BRIGHT;
20;19;MiLightv1;ID=XXXXXX;SWITCH=04;RGBW=009e;CMD=BRIGHT;
20;1A;MiLightv1;ID=XXXXXX;SWITCH=04;RGBW=009b;CMD=BRIGHT;
20;1B;MiLightv1;ID=XXXXXX;SWITCH=04;RGBW=0099;CMD=BRIGHT;
Unfortunately when repeating the command it doesn't work (only sets brightness)
I read somewhere that you need to send the "ALLON" command, but that doesn't work either.
What is the command to switch to "white" mode?

Below a list of commands I successfully used:

Code: Select all

//Lamp 4 on
10;MiLightv1;XXXXXX;04;0000;ON;

//Lamp 4 off
10;MiLightv1;XXXXXX;04;0000;OFF;

//Lamp modes
10;MiLightv1;XXXXXX;04;0000;MODE0;
10;MiLightv1;XXXXXX;04;0000;MODE1;
10;MiLightv1;XXXXXX;04;0000;MODE2;
10;MiLightv1;XXXXXX;04;0000;MODE3;
10;MiLightv1;XXXXXX;04;0000;MODE4;
10;MiLightv1;XXXXXX;04;0000;MODE5;
10;MiLightv1;XXXXXX;04;0000;MODE6;
10;MiLightv1;XXXXXX;04;0000;MODE7;
10;MiLightv1;XXXXXX;04;0000;MODE8;

//Slower
10;MiLightv1;XXXXXX;04;0000;DISCO-;

//Faster
10;MiLightv1;XXXXXX;04;0000;DISCO+;

//Set to color (light green)
10;MiLightv1;XXXXXX;04;6c90;COLOR;

//Minimum brightness
10;MiLightv1;XXXXXX;04;0085;BRIGHT;

//Maximum brightness
10;MiLightv1;XXXXXX;04;00fb;BRIGHT;

Lennyz1988
New user
Posts: 7
Joined: 24 Oct 2017, 20:27

Re: MiLight - Switching RGBWW to white-mode

#2 Post by Lennyz1988 » 24 Oct 2017, 20:30

Have you made any progress? I am trying to control the same bulb. I have no clue how to find the proper mix in colors and white. Nor did I find any logic in the hexadecimal commands to set the colors.

Fabje
New user
Posts: 4
Joined: 21 Oct 2017, 18:32

Re: MiLight - Switching RGBWW to white-mode

#3 Post by Fabje » 26 Oct 2017, 11:33

[Deleted previous content as it is irrelevant now]

I'm making some progress, I'm able to understand the color option now. It is a bit more low-tech Chinese than you would expect.
You are basically sending the position your finger is on the color wheel, and the lamp decides which color to produce.

Code: Select all

10;MiLightv1;XXXXXX;04;**00;COLOR;
** = Color index based on the "color wheel/circle" on the remote, Range hexadecimal 00 to FF
Starting with "magenta" on the most-left on the remote circle progressing counter-clockwise.
So:
00 - Left (magenta)
3F - Bottom (Yellow)
80 - Right (Green)
BF - Top (Blue)
My lamp didn't respond to any changes in the latter byte supposed to change the brightness, but the separate brightness command takes care of that.

I realized that I'm also unable to replicate the "color intensity" slider, but I'm not planning on using it in my application so that is less of a priority for me.
I think the white-mode and color intensity are not supported (yet). Because when I look at the old RGB remote https://img.banggood.com/thumb/water/up ... 27(28).jpg All controls match with a command.
However when you look at the new remote https://milights.nl/pub/media/catalog/p ... gbww_1.jpg
Those are exactly the two "controls" that are added. Can you confirm stuntteam?

I hope stuntteam can find some spare time :)

Lennyz1988
New user
Posts: 7
Joined: 24 Oct 2017, 20:27

Re: MiLight - Switching RGBWW to white-mode

#4 Post by Lennyz1988 » 26 Oct 2017, 20:50

I have also made some progress. I have found this post explaining a bit about the protocol used:
Stuntteam wrote: 06 Jan 2017, 00:28 Milight supports 256 colors 00-FF there is no specific RGB value
The brightness is controlled in 32 steps.
I managed to connect the RGBW Lamp to Domoticz. You can use these instructions to do that: http://www.rflink.nl/blog2/faq#Milight

Afther that if I select the debug option in Domoticz to full and do the following:
In the hardware tab, select the "Create RFLink Devices" button and in the popup enter:
10;rfdebug=on;
to activate the debug feature within the Domoticz log.
and
10;rfdebug=off;
to deactivate the debug feature.
I can now see every command Domoticz uses to control the light. :D That was exactly what I was looking for.

ricorico94
New user
Posts: 8
Joined: 16 Nov 2016, 10:28

Re: MiLight - Switching RGBWW to white-mode

#5 Post by ricorico94 » 17 Jan 2018, 14:24

Hi,

Did you succeed making the FUT092 working ?

I could pair a remote into Domoticz, but everytime I push a button, it pushes the Domoticz device status into OFF.
I checked the log file, and RFLink sees a "ON" action:

Code: Select all

2018-01-17 15:07:14.126 (RFLink) Temp + Humidity (Oregon TempHygro)
2018-01-17 15:07:17.343 RFLink: 20;D4;DEBUG;Pulses=24;Pulses(uSec)=270,120,180,0,120,270,60,120,270,120,4140,510,240,570,180,240,0,150,240,180,210,60,2280,240;
2018-01-17 15:07:21.836 RFLink: 20;D5;DEBUG;Pulses=24;Pulses(uSec)=480,180,60,180,180,270,120,120,1740,150,1560,330,30,150,930,150,90,120,2100,420,150,330,480,360;
2018-01-17 15:07:23.085 RFLink: 20;D6;MiLight DEBUG;Bytes=09;8f20145001011b01c5;
2018-01-17 15:07:23.097 RFLink: 20;D7;MiLightv1;ID=201450;SWITCH=01;RGBW=0000;CMD=ON;
2018-01-17 15:07:23.305 (RFLink) Lighting Limitless/Applamp (MiLightv1 FUT092 RGWCC)
2018-01-17 15:07:24.190 RFLink: 20;D8;MiLight DEBUG;Bytes=09;fb20145001061c0167;
2018-01-17 15:07:24.202 RFLink: 20;D9;MiLightv1;ID=201450;SWITCH=01;RGBW=0000;CMD=OFF;
2018-01-17 15:07:24.427 (RFLink) Lighting Limitless/Applamp (MiLightv1 FUT092 RGWCC)
So it seems RFLink understands properly the packets, but then there's an issue somewhere in Domoticz which always put the device to OFF.

I use RFLink v48.4, connected on Domoticz v3.8153 (latest stable) hosted on a Raspberry PI 2 with Jessie.

br,
Ricorico94

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests