please choosego to mobile | Continue to access the PC version
Author: bir8339e

How to: setup wakeup with your IR remote control

[Copy link]

0

threads

7

posts

54

credits

Registered member

Rank: 2

credits
54
Published in 2017-2-14 04:21:06 | Show all floors
Edited by vrm42 at 2017-2-14 04:24

Yeah, this is wonderful! Thanks to jernej for describing the right protocol, I managed to configure my original MS MCE remote for waking up the device although MCE doesn't use NEC protocol.
The trick is: https://eirikso.com/2005/11/16/h ... -on-your-mce-remote
Model 1039 is able to learn 3 signals from other remotes: TV power, VOL+ and VOL-
So if you could find (or just borrow) a working remote, you can use it to teach your MCE for the trick.
I have tested 20+ remotes so far, most of them don't work (Philips, Technics, Panasonic, Sony, Yamaha, Thomson).
Successfull tests made with LG TV and Asus O-play remotes.
It also means that you can use those working remotes to teach programmable remotes. Most AV receivers have such, including my Yamaha.

Thanks to everyone for making it possible!

Forgot to mention: when you teach your MCE remote, batteries must be fresh!

4

threads

1118

posts

9144

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9144
Published in 2017-2-14 04:39:58 | Show all floors
Just for reference:

You can recognize NEC by following numbers:
  1. header       9000  4500
  2. one           562  1687
  3. zero          562   562
  4. ptrail        562
  5. repeat       9000  2250
Copy code


They can deviate by few 10's of microseconds

0

threads

2

posts

56

credits

Registered member

Rank: 2

credits
56
Published in 2017-5-14 12:27:41 | Show all floors
Edited by igortski at 2017-5-15 07:43

I'm new here and I need a bit of help please. I've been trying to get the wakeup function by remote going on a Sunchip tv box that I've loaded with Openelec.
I believe that the board is very similar to the Orange Pi 2.
I hope someone can do the conversions for me for the power key and the pre_data.
Pre_data = 0xFF and the power key code = 0x18E7.

Thanks in advance.
Evert

Never mind, I've got it working. In script bin under [s_cir] the settings are in decimal. Also, I found a config file for Android IR settings and saw that the POWER button is "24".
I converted the pre_data in my lircd.conf to decimal and entered that in script.bin and now I have it working

Thanks for all the info to give me a clue on what was needed to get my remote to work properly.

3

threads

21

posts

206

credits

Intermediate member

Rank: 3Rank: 3

credits
206
Published in 2017-6-27 23:15:02 | Show all floors
Hey guys, can someone explain me if there is an opportunity to enable Wake On Lan feature from iOS Kodi application from either hibernate, or sleep modes, please???

3

threads

21

posts

206

credits

Intermediate member

Rank: 3Rank: 3

credits
206
Published in 2017-12-24 02:13:37 from mobile | Show all floors
Edited by Levitsky86 at 2017-12-28 07:19

Hi! I have opened my lircd.conf, but I see its 32 bit instead of 16. What should I do in such case?
This is what I have in my file:

begin remote

  name  /storage/.config/lircd.conf
  bits           32
  flags SPACE_ENC
  eps            30
  aeps          100
  header       8559  4215
  one           575  1548
  zero          575   494
  ptrail        580
  gap          111147
  toggle_bit_mask 0x0

      begin codes
          key_0                    0xC53A9966 0xF50A05FA
          key_1                    0xC53A9966 0xF50A857A
          key_2                    0xC53A9966 0xF50A45BA
          key_3                    0xC53A9966 0xF50AC53A
          key_4                    0xC53A9966 0xF50A25DA
          key_5                    0xC53A9966 0xF50AA55A
          key_6                    0xC53A9966 0xF50A659A
          key_7                    0xC53A9966 0xF50AE51A
          key_8                    0xC53A9966 0xF50A15EA
          key_9                    0xC53A9966 0xF50A956A
          key_up                   0xC53A9966 0xF50A4FB0
          key_down                 0xC53A9966 0xF50ACF30
          key_right                0xC53A9966 0xF50A26D9
          key_left                 0xC53A9966 0xF50AC639
          key_ok                   0xC53A9966 0xF50AF708
          key_esc                  0xC53A9966 0xF50A2FD0
          key_menu                 0xC53A9966 0xF50A9D62
          key_epg                  0xC53A9966 0xF50A2DD2
          key_info                 0xC53A9966 0xF50A9768
          key_stop                 0xC53A19E6
          key_play                 0xC53A7986
          key_sleep                0xC53A9966 0xF50A3DC2
          key_pause                0xC53AF906
          key_sleep                0xC53A9966 0xF50A3DC2
          key_pause                0xC53AF906
          end codes

end remote

As you see I don't have pre_data and, so am I unable to use this remote for wakeup?




3

threads

21

posts

206

credits

Intermediate member

Rank: 3Rank: 3

credits
206
Published in 2017-12-30 06:42:11 | Show all floors
Edited by Levitsky86 at 2017-12-30 06:43

Hey guys, I have tried another remote from SAMSUNG that is close to NEC but I can't get it to work anyway. Perhaps, I did the wrong conversion. Could you help me with it, please?

  1. begin remote

  2.   name  /storage/.config/lircd.conf
  3.   bits           16
  4.   flags SPACE_ENC
  5.   eps            30
  6.   aeps          100

  7.   header       8883  4518
  8.   one           601  1645
  9.   zero          601   541
  10.   ptrail        604
  11.   pre_data_bits   26
  12.   pre_data       0x198133F
  13.   gap          128934
  14.   toggle_bit_mask 0x0

  15.       begin codes
  16.           key_up                   0xE916
  17.           key_down                 0x19E6
  18.           key_left                 0x59A6
  19.           key_right                0x9966
  20.           key_menu                 0xD12E
  21.           key_esc                  0xA956
  22.           key_sleep                0x8976
  23.           key_ok                   0xD926
  24.       end codes

  25. end remote
Copy code


3

threads

21

posts

206

credits

Intermediate member

Rank: 3Rank: 3

credits
206
Published in 2018-1-15 16:54:06 | Show all floors
Edited by Levitsky86 at 2018-1-15 17:14

Hey guys! I have finally found out what is the reason why does my Pi wake up function isn't working.

I have configured my remote adding the "key_sleep" command just as described in this thread, but when I press this button it sends the "power off" command instead (I can see that the power LED turns off and my cooler fan does also as I have connected it to 3.3V! Of course, my remote is unable to wake up the board from that state.
If I enter the Kodi "Power off" menu there is an option of "Suspend" which I suppose should be executed if I use "key_sleep" button on my remote. Please confirm this!? If I chose it, the power LED switches to red instead of green and my fan continues to work which indicates that CPU is powered and the board really enters into Suspend, not turns off. Besides this, I am finally able to wake up my Pi with remote from such state!
So, could you help me, please!? Why does my remote turns off the board completely, instead of entering Suspend when I use the "key_sleep" button?
And the second question is: when I wake up my board with the remote after Suspend it looses all of its settings like MAC address and others and I have to reboot it every time after that, because my phone is unable to find Kodi in my network. Why is this happening and how can I solve this issue?

Please note, all this is happening on your prebuilt image from this forum on LibreELEC 7.0 & Kodi 16.1 Jarvis (LibreELEC-H3.arm-7.0-devel-20170315133149-r1-g8c36222-opiplus2e).
If I install OpenELEC 7.0 & Kodi 16.1 Jarvis image with the latest update (OpenELEC-H3.arm-7.0-devel-20170221190834-r23330-g94644893c) which is also from this forum, it doesn't have the "Suspend" option in the Kodi menu at all! And I suppose the "key_sleep" won't work in such case, would it!? Please confirm!?

Can someone help me, please?
I would appreciate any help, really!



3

threads

21

posts

206

credits

Intermediate member

Rank: 3Rank: 3

credits
206
Published in 2018-1-16 18:07:34 | Show all floors
Is anybody here on this forum???

3

threads

21

posts

206

credits

Intermediate member

Rank: 3Rank: 3

credits
206
Published in 2018-1-18 18:52:23 | Show all floors
Edited by Levitsky86 at 2018-1-19 00:41

Here is what I've got after I wake up with remote after Suspend mode! How can I solve this problem?

This thread contains more resources

You need to Log in to download or view,No account?    Register

x

3

threads

21

posts

206

credits

Intermediate member

Rank: 3Rank: 3

credits
206
Published in 2018-1-19 01:22:47 | Show all floors
Can someone answer me, please???
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list