Page 1 of 1

Milight Zone Example

Posted: Tuesday 30 January 2018 0:30
by jannnfe
Hello,
can somebody tell me which commands i have to send to get 5 Bulbs individually controllable?
At the moment Bulb 1 has Zone 1, Bulb 2 has Zone 2, ...
But adding a new Bulb to for example Zone 1 i will control both in Zone 1
Please help me and i can't find anything about that in the internet
Thanks!

Re: Milight Zone Example

Posted: Thursday 01 February 2018 19:01
by jannnfe
Is there really nobody here who can help? I would be very happy!

Re: Milight Zone Example

Posted: Thursday 01 February 2018 19:55
by Stuntteam
Milight boxes have 1 address and 4 zones. You can assign bulbs to each zone and control each zone individually..
Thus a maximum of 4 bulbs that you can control individually.
If you need more, you need another box..

With RFLink you do not have this limitation. The idea is still the same.. 1 address has max. 4 zones.
But with RFlink you can assign any address you want to any bulb you want..
There are 65535 addresses times 4 zones which gives you the ability to control 262.140 bulbs individually.
Just make up an address and pair the bulb to it.. instructions on pairing are here : http://www.rflink.nl/blog2/faq#Milight

Re: Milight Zone Example

Posted: Thursday 01 February 2018 23:08
by sincze
Stuntteam wrote: Thursday 01 February 2018 19:55 Milight boxes have 1 address and 4 zones. You can assign bulbs to each zone and control each zone individually..
Thus a maximum of 4 bulbs that you can control individually.
If you need more, you need another box..

With RFLink you do not have this limitation. The idea is still the same.. 1 address has max. 4 zones.
But with RFlink you can assign any address you want to any bulb you want..
There are 65535 addresses times 4 zones which gives you the ability to control 262.140 bulbs individually.
Just make up an address and pair the bulb to it.. instructions on pairing are here : http://www.rflink.nl/blog2/faq#Milight
I was unable to add the hardware devices to the rflink without an original box, however...
Nor was I able to add the hardware manually.

But... at the remote location I build an ESP solution:

Code: Select all

https://github.com/sidoh/esp8266_milight_hub

JUs pretend you are a milight box with this software... Pair the device and have RFLINK run in the background (detect new hardware).
RFLINK will detect the command from the ESP hub and now I can control as many milights as I have within domoticz.
tnx Stuntteam :D for the great enhancement.

Re: Milight Zone Example

Posted: Friday 02 February 2018 23:11
by jannnfe
Thanks @Stuntteam for your reply.
If I understand this correctly:

10;MiLightv1;20ADDRESS1;01;34BC;PAIR; -> the 01 is the Zone for this Address, the Address can be any value as long as it starts with 20.
10;MiLightv1;20ADDRESS1;02;34BC;PAIR; -> the 02 is the Zone for this Address, the Address can be any value as long as it starts with 20.
10;MiLightv1;20ADDRESS1;03;34BC;PAIR; -> the 03 is the Zone for this Address, the Address can be any value as long as it starts with 20.
10;MiLightv1;20ADDRESS1;04;34BC;PAIR; -> the 04 is the Zone for this Address, the Address can be any value as long as it starts with 20.

10;MiLightv1;20ADDRESS2;01;34BC;PAIR; -> the 01 is the Zone for this Address, the Address can be any value as long as it starts with 20.
10;MiLightv1;20ADDRESS2;02;34BC;PAIR; -> the 02 is the Zone for this Address, the Address can be any value as long as it starts with 20.
10;MiLightv1;20ADDRESS2;03;34BC;PAIR; -> the 03 is the Zone for this Address, the Address can be any value as long as it starts with 20.
10;MiLightv1;20ADDRESS2;04;34BC;PAIR; -> the 04 is the Zone for this Address, the Address can be any value as long as it starts with 20.

And than I have to do for each bulb:
20;17;MiLightv1;ID=20ADDRESS1;SWITCH=01;RGBW=8690;CMD=ON;
20;17;MiLightv1;ID=20ADDRESS1;SWITCH=02;RGBW=8690;CMD=ON;
20;17;MiLightv1;ID=20ADDRESS1;SWITCH=03;RGBW=8690;CMD=ON;
20;17;MiLightv1;ID=20ADDRESS1;SWITCH=04;RGBW=8690;CMD=ON;

20;17;MiLightv1;ID=20ADDRESS2;SWITCH=01;RGBW=8690;CMD=ON;
20;17;MiLightv1;ID=20ADDRESS2;SWITCH=02;RGBW=8690;CMD=ON;
20;17;MiLightv1;ID=20ADDRESS2;SWITCH=03;RGBW=8690;CMD=ON;
20;17;MiLightv1;ID=20ADDRESS2;SWITCH=04;RGBW=8690;CMD=ON;

Sorry for the many commands but I want to make sure that I understand the whole system, because the documentation is not very obvious to me.

And another question: Why does my FUT013 lamp not respond to RGBW but to RGB+CCT?

Re: Milight Zone Example

Posted: Saturday 03 February 2018 8:50
by sincze
jannnfe wrote: Friday 02 February 2018 23:11 Thanks @Stuntteam for your reply.
If I understand this correctly:

10;MiLightv1;20ADDRESS1;01;34BC;PAIR; -> the 01 is the Zone for this Address, the Address can be any value as long as it starts with 20.
10;MiLightv1;20ADDRESS1;02;34BC;PAIR; -> the 02 is the Zone for this Address, the Address can be any value as long as it starts with 20.
10;MiLightv1;20ADDRESS1;03;34BC;PAIR; -> the 03 is the Zone for this Address, the Address can be any value as long as it starts with 20.
10;MiLightv1;20ADDRESS1;04;34BC;PAIR; -> the 04 is the Zone for this Address, the Address can be any value as long as it starts with 20.

10;MiLightv1;20ADDRESS2;01;34BC;PAIR; -> the 01 is the Zone for this Address, the Address can be any value as long as it starts with 20.
10;MiLightv1;20ADDRESS2;02;34BC;PAIR; -> the 02 is the Zone for this Address, the Address can be any value as long as it starts with 20.
10;MiLightv1;20ADDRESS2;03;34BC;PAIR; -> the 03 is the Zone for this Address, the Address can be any value as long as it starts with 20.
10;MiLightv1;20ADDRESS2;04;34BC;PAIR; -> the 04 is the Zone for this Address, the Address can be any value as long as it starts with 20.

And than I have to do for each bulb:
20;17;MiLightv1;ID=20ADDRESS1;SWITCH=01;RGBW=8690;CMD=ON;
20;17;MiLightv1;ID=20ADDRESS1;SWITCH=02;RGBW=8690;CMD=ON;
20;17;MiLightv1;ID=20ADDRESS1;SWITCH=03;RGBW=8690;CMD=ON;
20;17;MiLightv1;ID=20ADDRESS1;SWITCH=04;RGBW=8690;CMD=ON;

20;17;MiLightv1;ID=20ADDRESS2;SWITCH=01;RGBW=8690;CMD=ON;
20;17;MiLightv1;ID=20ADDRESS2;SWITCH=02;RGBW=8690;CMD=ON;
20;17;MiLightv1;ID=20ADDRESS2;SWITCH=03;RGBW=8690;CMD=ON;
20;17;MiLightv1;ID=20ADDRESS2;SWITCH=04;RGBW=8690;CMD=ON;

Sorry for the many commands but I want to make sure that I understand the whole system, because the documentation is not very obvious to me.

And another question: Why does my FUT013 lamp not respond to RGBW but to RGB+CCT?
I have been down this milight road before. Gave the commands manually as you did., but the bulb just would not show up in domoticz. Back in the days. (different forum topic). Assuming your commands are right as I recognise them you could face a new challenge of the lights not showing up. . Just a heads up. If you have a spare esp use the Web interface solution as described before. You will be finished in 12 minutes

Re: Milight Zone Example

Posted: Wednesday 07 February 2018 19:05
by jannnfe
Thank you @sincze for your help and answer. I will try it. I would also like to finally understand the complete system of Milight with rflink and the zones. Maybe I can help sometime and say if i am right with my commands above?

Re: Milight Zone Example

Posted: Wednesday 07 February 2018 20:57
by sincze
jannnfe wrote: Wednesday 07 February 2018 19:05 Thank you @sincze for your help and answer. I will try it. I would also like to finally understand the complete system of Milight with rflink and the zones. Maybe I can help sometime and say if i am right with my commands above?
Unfortunately I have no spare milight stuff around otherwhise I could have checked them for you. Never break a working setup :lol: however if I come across somebody that needs to setup this again at home I'll think of this post and report back. I can at least try. I have kept my spare ESP gateway in a special box just in case I run into problems again :D

Re: Milight Zone Example

Posted: Thursday 08 February 2018 8:54
by Stuntteam
jannnfe wrote: Friday 02 February 2018 23:11 If I understand this correctly:

10;MiLightv1;20ADDRESS1;01;34BC;PAIR; -> the 01 is the Zone for this Address, the Address can be any value as long as it starts with 20.
..
10;MiLightv1;20ADDRESS2;01;34BC;PAIR; -> the 01 is the Zone for this Address, the Address can be any value as long as it starts with 20.
..

And than I have to do for each bulb:
20;17;MiLightv1;ID=20ADDRESS1;SWITCH=01;RGBW=8690;CMD=ON;
20;17;MiLightv1;ID=20ADDRESS1;SWITCH=02;RGBW=8690;CMD=ON;
20;17;MiLightv1;ID=20ADDRESS1;SWITCH=03;RGBW=8690;CMD=ON;
20;17;MiLightv1;ID=20ADDRESS1;SWITCH=04;RGBW=8690;CMD=ON;

Sorry for the many commands but I want to make sure that I understand the whole system, because the documentation is not very obvious to me.
-You select an address + zone number for a single bulb..
-You put the bulb in learning mode and send the pair command to learn that address+zone to the bulb
-You enter the ON command in the Domoticz/RFlink Learn device popup to tell Domoticz you use this address (Domoticz will then create the device and button for you)

You then do the next bulb, you have to change either the address or zone to a new value, until you have done all bulbs.

Note that:
-If you have 20 bulbs, you can put all 20 on the same address and zone.. a single command will switch all bulbs on/off
-If you have 20 bulbs, you can put all 20 on a different address with zone 1.. a single command will switch one bulb with the matching address/zone only
-If you have 20 bulbs, you can put 4 bulbs with the same address on zones 1,2,3,4.. a single command will switch one bulb with the matching address/zone only ..OR.. a single command will switch all 4 bulbs.. with the matching address and zone 0.
This is due to the fact that milight also has a zone 0 which will switch all bulbs that match just the address (the main on/off button on milight remotes).
This can be handy for example if you want to control 4 lamps individually in your living room.. but want to be able to turn all 4 lamps off with a single command. In terms of home automation software it does not make much of a difference, but if you have a 4 zone Milight remote and also want to use the buttons on a milight remote.
jannnfe wrote: Friday 02 February 2018 23:11 And another question: Why does my FUT013 lamp not respond to RGBW but to RGB+CCT?
That is something only milight people / the factory will know..
They might have made a batch to be compatible with the newer systems or the bulb is from one of the many clone factories etc.
As long as it works it is fine..

Re: Milight Zone Example

Posted: Thursday 08 February 2018 23:20
by jannnfe
Many Thanks. That makes it clearer to me. I'll contact you again if I come across problems with something. Thank you for the effort!

Re: Milight Zone Example

Posted: Friday 15 June 2018 13:11
by jannnfe
This is not working for me.
I have two Bulbs on different Adresse and same Zone Number 1 but both Bulbs will turn on and off...
Bildschirmfoto 2018-06-15 um 13.07.54.png
Bildschirmfoto 2018-06-15 um 13.07.54.png (9.29 KiB) Viewed 2577 times
Bildschirmfoto 2018-06-15 um 13.07.46.png
Bildschirmfoto 2018-06-15 um 13.07.46.png (9.92 KiB) Viewed 2577 times