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

Xiaomi Mi Box Streaming Android TV Device
Goto page Previous  1, 2, 3, 4, 5, 6
 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> Code Search
View previous topic :: View next topic  
Author Message
mdavej
Expert


Joined: 08 Oct 2003
Posts: 3654

PostPosted: Wed May 24, 2017 10:58 pm    Post subject: Reply with quote

Convert to pronto hex with help from us and email to datasupport@logitech.com to add to your account.
Back to top
View user's profile Send private message
cdvreede



Joined: 24 May 2017
Posts: 2

PostPosted: Thu May 25, 2017 2:00 am    Post subject: Reply with quote

understand the last bit - no idea how to convert what however....

thnx
Back to top
View user's profile Send private message
The Robman
Site Owner


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

PostPosted: Thu May 25, 2017 12:27 pm    Post subject: Reply with quote

All the Pronto hex for the buttons are contained in the following file:
http://www.hifi-remote.com/forums/dload.php?action=file&file_id=14381
_________________
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
chuliu



Joined: 04 Dec 2010
Posts: 280
Location: Hong Kong

PostPosted: Fri Aug 25, 2017 7:09 am    Post subject: Reply with quote

I am trying to program a nevo c2 and mail to my friend for controlling his mi box. Before I do that, I want to make sure I got everything right. So, I downloaded the rmdu here:
http://www.hifi-remote.com/forums/dload.php?action=file&file_id=14383

replaced protocols.ini here:
https://sourceforge.net/p/controlremote/code/HEAD/tree/trunk/km/protocols.ini

and then I loaded the rmdu file to nevo c2. Then, I captured it with my other nevo c2 and downloaded from nevo c2 with rmir. However, the protocol is missing, meaning rmir doesn't recognise the signal.

Am I doing something wrong?

I also checked harmony database with myharmony, and there were 3 entries.
I don't know if the three entries are the same, because rmir doesn't know its protocol.

I don't have the remote of my friend's mi box on hand, and thus I can't capture from the real remote. Are there indeed 3 versions of mi box?

Thanks.
Back to top
View user's profile Send private message
vickyg2003
Site Admin


Joined: 20 Mar 2004
Posts: 6952
Location: Florida

PostPosted: Sat Aug 26, 2017 2:01 pm    Post subject: Reply with quote

Can you load your RMIR file in the diagnosis section and post a link here so I can look at the output from my Nevo C2? Also I'd like to see the learns.

Oh and what version of the Nevo C2 firmware is in the remote?
_________________
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
Back to top
View user's profile Send private message Visit poster's website
yaworski



Joined: 22 Jun 2014
Posts: 348
Location: Warsaw, Poland

PostPosted: Tue Nov 21, 2017 10:19 am    Post subject: Reply with quote

Jeff2525 have you tried all the "unknown" codes when the device is turned off? Maybe one of them is a discrete wake/power on.

--edit--

I'm getting the Mi Box for myself (should have it tomorrow) so I'll do some more testing.

I think the power has different dev id because it's not being passed to the system, but it's handled in the hardware - it wakes the device when it sleeps (or is turned off). So if there's a discrete power on, it should also have the same dev id as the power button.

Unfortunately, from what I've read, there's no easy way to define more remote buttons without having access to the root on the device and that's not easy to do on the Mi Box (requires some really old, pre-release firmware).
_________________
Marcin
Back to top
View user's profile Send private message
chuliu



Joined: 04 Dec 2010
Posts: 280
Location: Hong Kong

PostPosted: Wed Nov 22, 2017 12:26 am    Post subject: Reply with quote

vickyg2003 wrote:
Can you load your RMIR file in the diagnosis section and post a link here so I can look at the output from my Nevo C2? Also I'd like to see the learns.

Oh and what version of the Nevo C2 firmware is in the remote?


Sorry for the late reply.
This is the c2 rmir with mi box rmdu loaded
http://www.hifi-remote.com/forums/dload.php?action=file&file_id=25018

Here is the rmir with the lerans
http://www.hifi-remote.com/forums/dload.php?action=file&file_id=25019

I am running the latest firmware on my c2s.
1.3.33

Thanks.
Back to top
View user's profile Send private message
yaworski



Joined: 22 Jun 2014
Posts: 348
Location: Warsaw, Poland

PostPosted: Wed Nov 22, 2017 3:47 am    Post subject: Reply with quote

chuliu, having the original remote wouldn't be helpful to you as the original remote is a bluetooth one, not IR. There's nothing to learn from.

RMIR probably won't recognise this protocol from the learns at the moment. Experts here didn't even know it existed and was supported by the UEI before this thread (we all learn new things everyday). It would need to be implemented in DecodeIR library to be recognised and decoded by RMIR. This doesn't mean that the learns themselves are bad.
_________________
Marcin
Back to top
View user's profile Send private message
alfi33



Joined: 31 Oct 2008
Posts: 12

PostPosted: Mon Apr 09, 2018 8:56 pm    Post subject: Reply with quote

I'm trying to get this device upgrade to work on my URC-8820N Extender A:
http://www.hifi-remote.com/forums/dload.php?action=file&file_id=14383

But when I open it up in RemoteMaster and select my remote I get an error:
The selected protocol "Xiaomi" (02 3B) is not compatible with the selected remote. This upgrade will NOT function correctly. Please choose a different protocol.

Am I out of luck with my trusty URC-8820Ns?
Back to top
View user's profile Send private message
The Robman
Site Owner


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

PostPosted: Sun Apr 15, 2018 10:31 am    Post subject: Reply with quote

Anybody up for writing an HCS08 version of this executor?
_________________
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
binky123
Expert


Joined: 14 Feb 2004
Posts: 1241

PostPosted: Wed Apr 18, 2018 6:18 pm    Post subject: Reply with quote

This has not been tested and was put together to get a general idea of what was needed. It is a port of the S3C80 code to HCS08 and it may include things that are not really needed in HCS08. There are sections that are guesses as well.

I have a 10820 OFA, 1025 Atlas(JP1.2) and a 3002 Vizio(JP1.3) remote that I'll try testing with at some point. Not sure when I can get to it at this time.

Code:

         PROC   HCS08
         ORG   $0100   ;Byte count = 131
      DCBUF:   EQU   $60
      PD0A:   EQU   $74
      PD0B:   EQU   $75
      PD10:   EQU   $7A
      PD14:   EQU   $7E
      PD15:   EQU   $7F
      TestRptReqd:   EQU   $FF92
      IRMarkSpaceByPtr:   EQU   $FF65
0100   20 1B      BRA   L0
0102   23      DB   $23   ;Carrier ON: 8.750uSec
0103   47      DB   $47   ;Carrier OFF: 17.750uSec
0104   02      DB   $02   ;dev 0, cmd 2 bytes
0105   C0      DB   $C0   ;pf0: $A2
0106   00      DB   $00   ;pf1: $A3
0107   01 2F      DW   $012F   ;pd00/pd01: $6A/$6B
0109   01 12      DW   $0112   ;pd02/pd03: $6C/$6D
010B   01 43      DW   $0143   ;pd04/pd05: $6E/$6F
010D   01 A3      DW   $01A3   ;pd06/pd07: $70/$71
010F   01 43      DW   $0143   ;pd08/pd09: $72/$73
0111   02 36      DW   $0236   ;pd0A/pd0B: $74/$75
0113   01 2F      DW   $012F   ;pd0C/pd0D: $76/$77
0115   02 C7      DW   $02C7   ;pd0E/pd0F: $78/$79
0117   02 02      DW   $0202   ;pd10/pd11: $7A/$7B
0119   01 12      DW   $0112   ;pd12/pd13: $7C/$7D
011B   3B 10      DW   $3B10   ;pd14/pd15: $7E/$7F

011D   4E 74 68   L0:   MOV   PD0A, DCBUF+8   ;Save current PD0A/PD0B
0120   4E 75 69      MOV   PD0B, DCBUF+9

0123   B6 60      LDA   DCBUF
0125   62      NSA   
0126   B8 60      EOR   DCBUF
0128   B8 61      EOR   DCBUF+1
012A   62      NSA   
012B   B8 61      EOR   DCBUF+1
012D   B7 53      STA   $53
012F   AD 08      BSR   L2
0131   AD 06   L1:   BSR   L2
0133   CD FF 92      JSR   TestRptReqd
0136   25 F9      BCS   L1
0138   81      RTS   

0139   4E 7E 74   L2:   MOV   PD14, PD0A
013C   4E 7F 75      MOV   PD15, PD0B
013F   CD FF 56      JSR   $FF56   ;Guess
0142   AD 0A      BSR   L3
0144   4E 7E 74      MOV   PD14, PD0A
0147   4E 7F 75      MOV   PD15, PD0B
014A   CD FF 56      JSR   $FF56   ;Guess, S3C80 has wait for end-cycle
014D   81      RTS      ;Could use BRCLR 7,CMTMSC and CLR CMTMSC   
014E   4E 68 74   L3:   MOV   DCBUF+8,PD0A   ;Restore original LeadOut to PD0A/PD0B
0151   4E 69 75      MOV   DCBUF+9,PD0B
0154   BE 7A      LDX   PD10   ;Set H:X to PD10 for burst pair times
0156   CD FF 65      JSR   IRMarkSpaceByPtr

0159   B6 60      LDA   DCBUF   ;Use cmd1
015B   AD 0D      BSR   L4   ;Use index=4

015D   B6 61      LDA   DCBUF+1   ;Use cmd2
015F   AD 09      BSR   L4   ;Use index=4

0161   B6 53      LDA   $53
0163   AD 0A      BSR   L5   ;Use index=2

0165   BE 6A      LDX   PD00   ;Set H:X to PD00 for bust pair times
0167   CC FF 65      JMP   IRMarkSpaceByPtr

016A   6E 04 54   L4:   MOV   #04,$54   ;Use index=4
016D   20 03      BRA   L6

016F   6E 02 54   L5:   MOV   #02, $54   ;Use index=2

0172   49   L6:   ROLA      ;rotate left A
0173   49      ROLA      ;rotate left A
0174   A4 03      AND   #03   ;keep first 2 bits
0176   AE 04      LDX   #04   ;load 4 into X
0178   42      MUL      ;X:A <- X*A
0179   AB 7A      ADD   #PD10   ;A <- A+PD10($7A), relative to PD10
017B   97      TAX      ;X <- A
017C   CD FF 65      JSR   IRMarkSpaceByPtr
017F   3B 54 F0      DBNZ   $54, L6
0182   81      RTS   

Back to top
View user's profile Send private message
The Robman
Site Owner


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

PostPosted: Wed Apr 18, 2018 8:18 pm    Post subject: Reply with quote

Do you have it in a format that others can use to also test it?
_________________
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
The Robman
Site Owner


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

PostPosted: Thu Apr 19, 2018 10:39 am    Post subject: Reply with quote

I have extracted the code data from Binky's post, so if others want to test this, just add the red line below in protocols.ini

[Xiaomi]
PID=02 3B
CmdParms=Dev:8, OBC:8
CmdTranslator=Translator(0,8,0) Translator(1,8,8)
DefaultCmd=00 00
Code.S3C80=43 8D 02 8B 18 C0 00 01 2F 01 12 01 2F 01 A3 01 2F 02 36 01 2F 02 C7 02 02 01 12 3B 10 E4 1C 0B E4 1D 0C 68 03 F0 C6 B4 03 C6 B4 04 C6 F0 C6 B4 04 C6 F6 FF 3E F6 FF 3E F6 01 0A 7B F8 AF E4 26 1C E4 27 1D F6 01 76 F6 FF 54 E4 26 1C E4 27 1D F6 01 82 AF E4 0B 1C E4 0C 1D 1C 22 F6 01 4C 38 03 F6 FF 73 38 04 F6 FF 73 38 C6 F6 FF 77 1C 12 8D 01 4C 5C 04 8B 02 5C 02 90 C3 90 C3 08 C3 56 C0 03 86 04 C0 06 C1 12 F6 01 4C 5A EC AF
Code.MAXQ610=33 69 02 96 00 05 17 00 16 00 17 00 21 00 17 00 2C 00 17 00 37 00 73 04 27 00 16 00 00 84 00 00 00 01 0C 07 D2 D0 D1 51 D3 D2 00 07 D2 D3 D2 63 54 03 01 70 71 32
Code.TI2541=01 07 01 21 02 96 00 05 17 00 16 00 17 00 21 00 17 00 2C 00 17 00 37 00 73 04 27 00 16 00 00 84 00 00 00 01 0C 07 04 02 03 51 05 04 00 07 04 05 04 63 54 03 01 70 71 32
Code.HCS08=20 1B 23 47 02 C0 00 01 2F 01 12 01 43 01 A3 01 43 02 36 01 2F 02 C7 02 02 01 12 3B 10 4E 74 68 4E 75 69 B6 60 62 B8 60 B8 61 62 B8 61 B7 53 AD 08 AD 06 CD FF 92 25 F9 81 4E 7E 74 4E 7F 75 CD FF 56 AD 0A 4E 7E 74 4E 7F 75 CD FF 56 81 4E 68 74 4E 69 75 BE 7A CD FF 65 B6 60 AD 0D B6 61 AD 09 B6 53 AD 0A BE 6A CC FF 65 6E 04 54 20 03 6E 02 54 49 49 A4 03 AE 04 42 AB 7A 97 CD FF 65 3B 54 F0 81
_________________
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
alfi33



Joined: 31 Oct 2008
Posts: 12

PostPosted: Thu Apr 19, 2018 9:44 pm    Post subject: Reply with quote

I tried it but I don't think it works.

Once I copied the line into my protocols.ini, I could open the upgrade in RM and select the URC-8820N without getting an error. I uploaded it to my remote but when I press any of the mapped buttons, the Power button lights up for 4 seconds or so and nothing happens on the Xiaomi Mi Box.
Back to top
View user's profile Send private message
The Robman
Site Owner


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

PostPosted: Thu Apr 19, 2018 11:21 pm    Post subject: Reply with quote

Thanks for trying, what we need now is one of the experts to try it by capturing the generated signals and seeing what's wrong with them, which is probably what Binky was planning to do.
_________________
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
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> Code Search All times are GMT - 5 Hours
Goto page Previous  1, 2, 3, 4, 5, 6
Page 6 of 6

 
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