Hi All;
I’m looking at getting a Milight RF bridge (NOT WIFI) to control using the RFLink gateway I allready have going. Is this supported with the pimatic plugins as they stand?
-
MiLight with RFLink
-
@Aaron-Katz I don’t think it is supported. What you can use is MilightRF24 the https://github.com/philip1986/pimatic-led-light
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
I have updated the firmware RFLink gateway to R48. I am able to see the log from my MiLight controller that sends RF signals at 2.4 GHz. The RFLink reports
15:33:03.335 [pimatic-rflink] debug: data: "20;21;MiLightv1;ID=5413;SWITCH=00;RGBW=b438;CMD=ALLON;" 15:33:09.078 [pimatic-rflink] debug: data: "20;22;MiLightv1;ID=4413;SWITCH=00;RGBW=b438;CMD=OFF;" 15:33:11.749 [pimatic-rflink] debug: data: "20;23;MiLightv1;ID=4413;SWITCH=00;RGBW=b438;CMD=ON;" 15:33:15.243 [pimatic-rflink] debug: data: "20;24;MiLightv1;ID=6413;SWITCH=00;RGBW=b4a8;CMD=BRIGHT;" 15:33:15.461 [pimatic-rflink] debug: data: "20;25;MiLightv1;ID=4413;SWITCH=00;RGBW=b480;CMD=BRIGHT;" 15:33:15.674 [pimatic-rflink] debug: data: "20;26;MiLightv1;ID=4413;SWITCH=00;RGBW=b478;CMD=BRIGHT;" 15:33:15.891 [pimatic-rflink] debug: data: "20;27;MiLightv1;ID=4413;SWITCH=00;RGBW=b468;CMD=BRIGHT;" 15:33:16.108 [pimatic-rflink] debug: data: "20;28;MiLightv1;ID=4413;SWITCH=00;RGBW=b450;CMD=BRIGHT;" 15:33:16.325 [pimatic-rflink] debug: data: "20;29;MiLightv1;ID=4413;SWITCH=00;RGBW=b458;CMD=BRIGHT;" 15:33:17.357 [pimatic-rflink] debug: data: "20;2A;MiLightv1;ID=4413;SWITCH=00;RGBW=1258;CMD=COLOR;" 15:33:17.574 [pimatic-rflink] debug: data: "20;2B;MiLightv1;ID=4413;SWITCH=00;RGBW=0f58;CMD=COLOR;" 15:33:17.880 [pimatic-rflink] debug: data: "20;2C;MiLightv1;ID=4413;SWITCH=00;RGBW=0b58;CMD=COLOR;" 15:33:18.034 [pimatic-rflink] debug: data: "20;2D;MiLightv1;ID=4413;SWITCH=00;RGBW=0158;CMD=COLOR;" 15:33:18.229 [pimatic-rflink] debug: data: "20;2E;MiLightv1;ID=4413;SWITCH=00;RGBW=ef58;CMD=COLOR;" 15:33:18.439 [pimatic-rflink] debug: data: "20;2F;MiLightv1;ID=4413;SWITCH=00;RGBW=e058;CMD=COLOR;" 15:33:21.531 [pimatic-rflink] debug: data: "20;30;MiLightv1;ID=4413;SWITCH=00;RGBW=e058;CMD=MODE2" 15:33:22.322 [pimatic-rflink] debug: data: "20;31;MiLightv1;ID=4413;SWITCH=00;RGBW=e058;CMD=MODE3" 15:33:22.997 [pimatic-rflink] debug: data: "20;32;MiLightv1;ID=4413;SWITCH=00;RGBW=e058;CMD=MODE4" 15:33:23.624 [pimatic-rflink] debug: data: "20;33;MiLightv1;ID=4413;SWITCH=00;RGBW=e058;CMD=MODE5" 15:33:24.272 [pimatic-rflink] debug: data: "20;34;Cresta;ID=3B01;TEMP=001d;HUM=63;BAT=OK;" 15:33:24.903 [pimatic-rflink] debug: data: "20;35;Alecto V1;ID=008f;RAIN=1538;BAT=OK;" 15:33:26.487 [pimatic-rflink] debug: data: "20;36;MiLightv1;ID=4413;SWITCH=00;RGBW=e058;CMD=DISCO-;" 15:33:28.413 [pimatic-rflink] debug: data: "20;37;MiLightv1;ID=4413;SWITCH=00;RGBW=e058;CMD=DISCO+;"
I would like to send a command from pimatic using the device:
{ "id": "rfswitch_milight1", "name": "MiLight terras", "class": "RFLinkSwitch", "protocols": [ { "name": "MiLightv1", "id": "4413", "switch": "1" } ] },
When pressing this device in Pimatic, the following message is reported:
15:58:20.533 [pimatic-rflink] debug: send: "10;MiLightv1;004413;1;ON;" 15:58:20.759 [pimatic-rflink] debug: data: "20;10;CMD UNKNOWN;" 15:58:20.767 [pimatic] error: Failed to send: CMD UNKNOWN
How to solve this issue? Is there also controls for bright/color/mode/disco?
-
@erikc said in MiLight with RFLink:
{ “id”: “rfswitch_milight1”, “name”: “MiLight terras”, “class”: “RFLinkSwitch”, “protocols”: [ { “name”: “MiLightv1”, “id”: “4413”, “switch”: “1” } ] },
Perhaps I am wrong, but shouldn’t “switch” be “00” as shown in the log output? If this does not solve the issue and you don’t get further support here please open an issue at https://github.com/sirchia/pimatic-rflink/issues
Is there also controls for bright/color/mode/disco?
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Address = 0 is common for all 4 switches. Address=1…4 is for individual switch. So my control should be fine. I understand that the MiLight control is still not implemented so far.
-
@erikc said in MiLight with RFLink:
I understand that the MiLight control is still not implemented so far.
Yes, however, ON/OFF should work.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law