hondagx35 wroteHi XploD,
sorry for the late response.
hondagx35 wroteHi XploD,
If I got it right, you meant about me doing the tutorial and then share it to you to implement it?
No, i will do it for you!
Frank
I'm working on the tutorial, but also had problems with lirc.
From your posts
here i have seen,
that you have exactly the same issue as i discovered.
In our case "irrecord" doesn't work proper and gives us the wrong settings for our remotes.
I installed lirc and copied the lircd.conf from my raspian image and all works fine.
So the solution for your problem may be to run irrecord on a other machine or try to find a configuration for your remote on the internet.
Frank
Your config:
begin remote
name new_lircd.conf
driver devinput
bits 64
eps 30
aeps 100
one 0 0
zero 0 0
gap 569
toggle_bit_mask 0x0
begin codes
KEY_VOLUMEUP 0x115200000100023D 0x00000000BEE1E9A5
KEY_VOLUMEDOWN 0x1159000001000232 0x00000000BEE1E9A5
KEY_PLAY 0x116300000100022C 0x00000000BEE1E9A5
KEY_PREVIOUS 0x114F000001000240 0x00000000BEE1E9A5
KEY_NEXT 0x115400000100023C 0x00000000BEE1E9A5
KEY_MUTE 0x115800000100027E 0x00000000BEE1E9A5
end codes
end remote
Mine was nearly the same, but it should look like this:
begin remote
name lircd.conf
bits 16
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100
header 8942 4524
one 522 1720
zero 522 601
ptrail 523
repeat 8943 2280
pre_data_bits 16
pre_data 0xF9
gap 107731
toggle_bit_mask 0x0
begin codes
KEY_POWER 0xEA15
KEY_PLAY 0x0AF5
KEY_STOP 0xC837
KEY_VOLUMEUP 0xE817
KEY_VOLUMEDOWN 0x2AD5
KEY_UP 0xC23D
KEY_DOWN 0x50AF
KEY_NEXT 0xD02F
KEY_PREVIOUS 0xF00F
KEY_LEFT 0x609F
KEY_RIGHT 0x708F
KEY_OK 0x40BF
KEY_HOME 0xE21D
KEY_FORWARD 0xC03F
KEY_BACK 0xE01F
KEY_ENTER 0xF20D
KEY_MUTE 0xDA25
KEY_OPTION 0x6897
KEY_SEARCH 0xB847
KEY_OPEN 0x7887
KEY_ESC 0x807F
end codes
end remote
Hello,
Well, thank you! This could be the answer to my problems since everything other (prior to creating lircd.conf) worked fine, it does recognize my remote. I have a running Raspbian where I successfully used that same remote so I'll copy it from there.
Thank you for working and trying with this. In the meantime, I created a Python program for LCD display and buttons with following features:
- Displaying artist in first line and title in second line; when playing radio: first line is radio name, second line is in ARTIST - TITLE format
- It scrolls long texts (artist or title name) and it scrolls both lines independently; when it reaches the end, it scrolls backwards and then again forward and so on
- On volume change, it shows Volume: XY % in first line and volume level with squares in second line for few seconds and then returns on song/radio name
- play, pause, previous, next, stop, volume up and volume down keys
- it shows PAUSED or STOPPED on display in these states
- two LEDs: green one being on when playing or blinking when paused, red one being on when stopped
But I also have a few problems which I'm currently working on:
- Python is a little bit slow, so I have to make a pause 200 - 300 ms between calling "mpc status" commands so display update is not really "at the same moment"
- RPLCD library is also very slow and obviously it uses /sys/gpio which is like reading/writing to "file" when using GPIO so on song change, you can see how it writes character by character on LCD
- because of writting to LCD (scrolling), the script is constantly taking 20% of CPU
TODO:
- I'll try to use another library for LCD (WiringPI) or to use C language for everything or C (which would be called from Python) to update display and execute "mpc status"
- fast forward/backward on long press
- 4x20 LCD with additional info like current time, remaining time/total time, bitrate etc.
- Nokia 3310 LCD!?
I'm currently in process of writting a tutorial and I will also upload video showing it in action and give my code.
I also have another crazy idea but this will wait till summer

Since I have a Hi-Fi with iPod/iPhone dock and I don't have not even one Apple device (don't like them), I was thinking about learning something about it's protocol and then create a iPod interface. My Hi-Fi can receive info from iPod about current track and show it on display and also change tracks from the Hi-Fi (remote). Also, it has a 5V 2A output on the dock itself so it would be enough to power up my Pi. So the idea is to connect the Pi on the Hi-Fi as an "iPod" and then use Hi-Fi's LCD and remote

It would be as an "add-on" to turn my hi-fi to network player.