Page 1 of 1

Home Assistant learned signals

Posted: Wed Feb 26, 2020 6:05 pm
by The Robman
Barf, have you seen this format of learned signals before? (I added line breaks)

Power:
JgBQAIqWDRQNFA0UDhINNA40DRMNFQsWDDQNFAw2DBQNNA0UDRUMlg0U
DTUMFA00DhMMFQ0TDRQNFQ4SDjMNFA4TDDQOEwwVDDUNNQ01DDQNAA0
FAAAAAAAAAAA=

Channel UP:
JgBQAIuVDhMOEw4SDhMOMw40DhIPEwwUDTQNFA00DRQNNA4TDRQOlQ4T
DTQOEw4zDjQNNA0UDRMOEw8yDxIONA00DjMNNQ4zDxIOEwwUDjMPAA0FA
AAAAAAAAAA=

Channel DOWN:
JgBQAImXDxIOEw0UDRMNNQ00DxINEw4UDDQOEw4zDxINNQ4TDRMOlQ8S
DjMOEw4zDxIOEw00DhMNFA4zDhMOMw4TDjMPMg8zDhIOEw0UDjMOAA0FA
AAAAAAAAAA=

I got them from the following site:
https://community.home-assistant.io/t/l ... zon/144607

These are the same signals as those discussed here:
http://www.hifi-remote.com/forums/viewtopic.php?t=14220

{38.5k,497,msb}<1,-1|1,-3>(9,-9,A:16,1,-9,B:20,1,-52.0m)
Power 1 {A=$0C54,B=$5024F} {A=0b0000110001010100,B=0b01010000001001001111}
CH+ 23 {A=$0C54,B=$5C5F1} {A=0b0000110001010100,B=0b01011100010111110001}
CH- 23 {A=$0C54,B=$52571} {A=0b0000110001010100,B=0b01010010010101110001}

Posted: Wed Feb 26, 2020 7:24 pm
by 3FG
Rob,
These signals are written in Base64 encoding.
https://cryptii.com/pipes/base64-to-hex
Paste into the left hand box and the hex is displayed on the right box.
Power then decodes to

Code: Select all

26 00 50 00 8a 96 0d 14 0d 14 0d 14 0e 12 0d 34 0e 34 0d 13 0d 15 0b 16 0c 34 0d 14 0c 36 0c 14 0d 34 0d 14 0d 15 0c 96 0d 14 0d 35 0c 14 0d 34 0e 13 0c 15 0d 13 0d 14 0d 15 0e 12 0e 33 0d 14 0e 13 0c 34 0e 13 0c 15 0c 35 0d 35 0d 35 0c 34 0d 00 0d 05 00 00 00 00 00 00 00 00
After the first 4 bytes, 8a 96 0d 14 is the 9,-9 leading and the first signal 0. Each pair of bytes encodes either 1,-1 (e.g. 0e 12) or 1,-3 (e.g. 0e 33). I'm not sure about the initial 4 bytes or the trailing bytes. The midframe burst in this example is 0C 96

Posted: Wed Feb 26, 2020 8:33 pm
by The Robman
Thanks Dave

Posted: Thu Feb 27, 2020 9:32 am
by Barf
Dave has already explained the encoding. Actually, IrScrutinzer can already export in Home assistant/base64 format (see this). So it remains to implement the import direction :wink: Stay tuned...