Thank you Stuntteam for adding Mi-light!
Works great with my Mi-light remote.
But i think i have a strange issue here: when i change the colour of 1 group, the other groups changing to the same colour, but this occurs not with every colour!
Example when i change group 1 to white or yellow only group 1 changes to this colour.
When i change this same group for example to blue or red all other groups turn also to blue or red.
This for example is also a colour with same behaviour:
Code: Select all
curl -s "http://127.0.0.1:8080/json.htm?type=command¶m=setcolbrightnessvalue&idx=2611&hex=FFC700"
(Same behaviour with the colour selector within Domoticz)
Some debug data for pushing one button 4 times On and then 4 times Off:
Code: Select all
20;11;MiLight DEBUG;Bytes=07;b09746403c09cf;
20;12;MiLightv1;ID=9746;SWITCH=04;RGBW=4090;CMD=ON;
20;13;MiLight DEBUG;Bytes=07;b09746403c09d0;
20;14;MiLightv1;ID=9746;SWITCH=04;RGBW=4000;CMD=ON;
20;15;MiLight DEBUG;Bytes=07;b09746403c09d1;
20;16;MiLightv1;ID=9746;SWITCH=04;RGBW=4090;CMD=ON;
20;17;MiLight DEBUG;Bytes=07;b09746403c09d2;
20;18;MiLightv1;ID=9746;SWITCH=04;RGBW=4000;CMD=ON;
20;4A;MiLight DEBUG;Bytes=07;b09746403c0ad9;
20;4B;MiLightv1;ID=9746;SWITCH=04;RGBW=4090;CMD=OFF;
20;4C;MiLight DEBUG;Bytes=07;b09746403c0ada;
20;4D;MiLightv1;ID=9746;SWITCH=04;RGBW=4000;CMD=OFF;
20;4E;MiLight DEBUG;Bytes=07;b09746403c0adb;
20;4F;MiLightv1;ID=9746;SWITCH=04;RGBW=4090;CMD=OFF;
20;50;MiLight DEBUG;Bytes=07;b09746403c0adc;
20;51;MiLightv1;ID=9746;SWITCH=04;RGBW=4000;CMD=OFF;