JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

Home Assistant learned signals

 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Protocol Decodes
View previous topic :: View next topic  
Author Message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 19505
Location: Chicago, IL

PostPosted: Wed Feb 26, 2020 7:05 pm    Post subject: Home Assistant learned signals Reply with quote

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/learning-infrared-codes-of-ziggo-upc-mediabox-xl-horizon/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}
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!


Last edited by The Robman on Thu Feb 27, 2020 10:35 am; edited 3 times in total
Back to top
View user's profile Send private message Visit poster's website
3FG
Expert


Joined: 19 May 2009
Posts: 3262

PostPosted: Wed Feb 26, 2020 8:24 pm    Post subject: Reply with quote

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:

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
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 19505
Location: Chicago, IL

PostPosted: Wed Feb 26, 2020 9:33 pm    Post subject: Reply with quote

Thanks Dave
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
Barf
Expert


Joined: 24 Oct 2008
Posts: 1084

PostPosted: Thu Feb 27, 2020 10:32 am    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Protocol Decodes All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Get Smart! the band's official homepage Rockabilly Central