Your Universal Remote Control Center
RemoteCentral.com
Discrete Code Hunter Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
RAW commands "remote.xiaomi_miio_learn_command" to Pronto HEX converting
This thread has 6 replies. Displaying all posts.
Post 1 made on Sunday May 14, 2023 at 04:02
alexshelepov
Junior Member
Joined:
Posts:
May 2023
3
Hello everyone!

I have a SVEN MC-30 acoustic system and I need to power on it using IR Remote Pronto command.

The command from remote control was read using Xiaomi Home Assistant "remote.xiaomi_miio_learn_command", but there was a RAW output command - nMwmUwlk0mk4mEsms1ADIAdpjN5iAhoA/gD+Bx4CHgEeAR4BHgEeAQUwBY8GnwEPAH8CjwEKBb8CF5hAAA==

Could you, please, help me to convert this RAW command into Pronto HEX command, how is it possible to do?

Thank's a lot and best regards!
Post 2 made on Sunday May 14, 2023 at 11:55
buzz
Super Member
Joined:
Posts:
May 2003
4,404
This looks like an IP command in base 64. If so, there will not be a simple translation to IR.
Post 3 made on Monday May 15, 2023 at 14:24
Barf
Long Time Member
Joined:
Posts:
August 2013
350
It does indeed look like base64. The Broadlink system uses (optionally) such an encoding. I tried to decode as Broadlink (using the snapshot version of IrScrutinizer), but that failed, so it is not Broadlink either.
OP | Post 4 made on Tuesday May 16, 2023 at 10:51
alexshelepov
Junior Member
Joined:
Posts:
May 2023
3
You are right, it's base64 string - [Link: mantikor.github.io]

The result of decoding from BASE64 to HEX is:
9ccc26530964d26938984b26b350032007698cde62021a00fe00fe071e021e011e011e011e011e010530058f069f010f007f028f010a05bf0217984000 (use this site [Link: cryptii.com]

What should I do next?

Last edited by alexshelepov on May 16, 2023 11:05.
Post 5 made on Wednesday May 17, 2023 at 19:54
buzz
Super Member
Joined:
Posts:
May 2003
4,404
Here is another converter, still not very useful data. On byte by byte basis there are lots of possibilities. Such as: binary option key, an 8-bit length prefix, 16-bit length prefix (little or big endien), or an ASCII character or
Post 6 made on Friday May 19, 2023 at 04:12
hostileangry
Junior Member
Joined:
Posts:
May 2023
1
What should I do next?
OP | Post 7 made on Saturday May 20, 2023 at 07:35
alexshelepov
Junior Member
Joined:
Posts:
May 2023
3
I chose another popular way to read IR command. What do we need:
  1. Arduino compatible microcontroller (UNO R3 MEGA328P)
  2. IRemote library [Link: arduinolibraries.info]
  3. IrScrutinizer - an IR signal free software
  4. Miniaturized IR receiver module:
        - Vishay TSOP31238 (1738) - for 38kHz known signal
        - Vishay TSMP58000 - for 20 - 60 kHz unknown signal

Received IR signal: Protocol=NEC Address=0x2 Command=0x57 Raw-Data=0xA857FD02 32 bits LSB first

How to convert to Pronto HEX: [Link: community.home-assistant.io]

Converted IR signal in Pronto HEX format:
0000 006C 0022 0000 015B 00AD 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0016 0016 0041 0016 05F7

It works. Thank's to everyone and best regards!


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse