c# - Milight - Limitlessled Admin App not controlling Lights -
i want write app control limitlessled lights (milight) , i'm facing issue.
for information, i'm using visualstudio 2017 / c#.
so far, able sessionstart wifi bridge session id1 id2 using code below :
ipendpoint ep = new ipendpoint(ipaddress.parse("192.168.1.13"), 5987); var client = new udpclient(); //connect limitlessled wifi bridge receiver client.connect(ep1); byte[] limitlessled = new byte[] { 0x20, 0x00, 0x00, 0x00, 0x16, 0x02, 0x62, 0x3a, 0xd5, 0xed, 0xa3, 0x01, 0xae, 0x08, 0x2d, 0x46, 0x61, 0x41, 0xa7, 0xf6, 0xdc, 0xaf, 0xd3, 0xe6, 0x00, 0x00, 0x1e }; client.send(limitlessled, limitlessled.length); var receiveddata = client1.receive(ref ep);
unforutnatly, if try send command turn light on, suceess responce nothing happen.
i facing same issue limitlessled admin app(v6): got success noting happen, below log soft.
start wifi bridge session... send udp commands 192.168.1.13 port 5987 sent: 20 00 00 00 16 02 62 3a d5 ed a3 01 ae 08 2d 46 61 41 a7 f6 dc af d3 e6 00 00 1e received: 28 00 00 00 11 00 02 f0 fe 6b 26 28 16 14 ca 43 76 00 01 08 00 00 limitlessledwifibridgesessionid1 08 limitlessledwifibridgesessionid2 00 ip address 192.168.1.13 mac address fe:6b:26:28:16:14 sequence number 02 checksum 3e sent: 80 00 00 00 11 08 00 00 02 00 31 00 00 08 04 01 00 00 00 00 00 3e command successful. received: 88 00 00 00 03 00 02 00 command completed.
does have idea ? thx in advance help,
cedric
well, find out problem :
request not same between cw bulb , ww bulb.
the limitlessled admin app(v6) setup cw bulb default ww bulb request more :
[0x31, 0x00, 0x00, 0x07, 0x03, 0x01, 0x00, 0x00, 0x00, zoneid]
Comments
Post a Comment