Closed itProfi closed 4 years ago
Sure, if you can figure out the command structure I can take a look.
Ok, thanks. But only after the 2-3 of May. I will be very busy :)
Hi, Chris! Yesterday, i again try investigate those packets with some modificatios on MilightRadioConfig.cpp
#include <MiLightRadioConfig.h>
MiLightRadioConfig MiLightRadioConfig::ALL_CONFIGS[] = {
// MiLightRadioConfig(0x147A, 0x258B, 7, 9, 40, 71, 0xAA, 0x05), // rgbw
MiLightRadioConfig(0x050A, 0x55AA, 7, 4, 39, 74, 0xAA, 0x05), // rgbw
MiLightRadioConfig(0x050A, 0x55AA, 7, 4, 39, 74, 0xAA, 0x05), // cct
MiLightRadioConfig(0x7236, 0x1809, 9, 8, 39, 70, 0xAA, 0x05), // rgb+cct, fut089
MiLightRadioConfig(0x9AAB, 0xBCCD, 6, 3, 38, 73, 0x55, 0x0A) // rgb
};
In serial port, i try some information (radio is LT8900) - crc wrong etc.. How i can see raw packets, what i recieve from those remotes?
Compile with DEBUG_PRINTF on. Listening with LT8900 is pretty broken honestly. Would recommend using the nRF24.
I sniff all button from my remote via nRF24:
oem_milight.txt
Please, help!!
Chris, help, please..)
This is pretty different. Honestly don't think it makes sense to add support unless there is for some reason a lot of people with this same device. Can offer some tips on decoding it and adding support in your own fork, though.
OK .. If you can, give advice on his support in my fork..
Chris?
sorry, not going to have time to give detailed instructions. you can check out this PR adding support for a new remote type:
https://github.com/sidoh/esp8266_milight_hub/pull/490
you'll need to decode the packet structure yourself, though.
ok, thanks..i try..))
Nice. It looked pretty similar to RGBW structure, for what it's worth. Gonna close the issue, but happy to continue the discussion. Good luck!
@itProfi Did you ever finish implementing this protocol? I have a RGB+CCT lamp with a remote I couldn't sniff with the default configuration but the lamp pairs and reacts to an old CCT remote I had laying around. Trying to sniff that gives me what I have written below, so I assume we may have the same or a very similar protocol
cct packet received (7 bytes):
Request type : 5A
I recieve yesterday some RGBW OEM China LED plate - https://detail.1688.com/offer/522143371857.html?spm=a2615.2177701.0.0.hO79R9 When i sniff it, i see this syncword 0x050A 0x55AA and channels 0x04 (4) and 0x4A( 74), command with 7 byte payload, like 0xC2 0xDC 0xA0 0xAB 0x01 0xBE 0x00 (Power On All), 0xC2 0xDC 0xA0 0xAB 0x02 0xC1 0x00 (power Off ALL). I believe that this is very similar to the description of the old MiLigh protocol - http://arduino-projects4u.com/milight-rf-control/ Can you help me for it's implemention?