-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Hi,
first, thanks for your effort. Cool stuff.
Looks like, sending my command isn't working.
I'm doing the following:
RM2Device rm2 = new RM2Device(rmip, new Mac(b));
rm2.auth();
rm2.enterLearning(); // this gives me a success and led is on
Thread.sleep(10000); // during that time, I press the button on my remote and led goes off
byte[] command = rm2.checkData();
rm2.sendCmdPkt(new SendDataCmdPayload(command));
I'd expect that my command is sent again. Or am I doing something wrong? I have a RM pro, I think. It's this one:
https://www.amazon.de/Urant-Universal-Intelligent-Controller-Automation-RF-Fernbedienung-Funktioniert-Smart-Remote-Control/dp/B06XKPFBMP/ref=sr_1_4?ie=UTF8&qid=1513372563&sr=8-4&keywords=rm+pro
The same command works when I use the Broadlink app.
Thanks for your help.