Using a broadlink RM4 pro with a python script. The goal is to learn a IR button press, save it, and then the next time the button is pressed take an action (all within a python script). The problem is that the learned IR packet from the same button press (ie returned from check_data) is always different. Is there anyway to normalize the ir_packet to a consistent value so I can compare it to subsequent learned button presses?
Press it 10 times, pick the one that you get most often.
(Not Kidding)
1 Like