I was able to measure the protocol for Chacon remote power plugs. But I can’t figure out how to convert the key codes to binary. Included is a screenshot of the protocol. How can I convert the codes in the 1st column (A1, A2, …, C3, C4) to one of the colored codes. The second colored codes is what I actualy need.
The purple column is easy, 20 = On, 22 is Off.
In case of A1, how can I convert A to 000101 or 022 and convert 1 to 00010101 or 0222
I think i need to look at shifting the bits around but i can’t figure it out.
If my question is not clear enough, please say so and i’ll try to explain further.
Thanks in advance.