Hi Guys,
I made it, the Philips SRM-7500 RF remote is working on OSMC!
I love this universal remote, with that I control all my devices in my room, so I must make it work for OSMC.
Previously the remote didn’t work, exactly LIRC. And in addition,
Previous version of lirc.conf, lircmap.xml was too old to work well (not all buttons works).
So I decided to rewrite from scratch these configurations, and make a tutorial for others to also be able to use this remote for his beloved OSMC system.
All of the 46 buttons on the remote is working.
IMPORTANT!: English is not my native language! so please do not look for spelling mistakes.
#Instalation
Before that, this is the same what i post on my GitHub, so please look there,
https://github.com/Matis253/SRM7500-kodi
This will be copy and pasted from there.
###LET’S GET STARTED
Instalation is very easy!
The fist part is to make start lirc when the system is starting.
- Connect via PuTTY to your KODI system.
- Go to the folder /etc
cd /etc
- Open rc.local in text editor.
sudo nano rc.local
- Paste this
lircd --driver=srm7500libusb /etc/lirc/philips-srm-7500-lircd.conf --device=macShortAddress=12:34,remoteShortAddress=56:78,macPANId=9a:bc
- DONE
The second part is to download the new config.
- Connect via PuTTY to your KODI system.
- Go to the folder /etc/lirc (before that, type “cd” to be sure you are in home folder)
cd /etc/lirc/
- Remove the default config if exist
sudo rm philips-srm-7500-lircd.conf
- Download the new config
sudo wget https://raw.githubusercontent.com/Matis253/SRM7500-kodi/master/philips-srm-7500-lircd.conf
- DONE
The last part is to download the Lircmap.xml to the kodi folder.
- Connect via PuTTY to your KODI system.
- Go to folder .kodi/userdata (before that, type “cd” to be sure you are in home folder)
cd .kodi/userdata/
- Download the new Lircmap
wget https://raw.githubusercontent.com/Matis253/SRM7500-kodi/master/Lircmap.xml
- DONE
Now you can reboot the system. And it works.
If you want to change some buttons, you can make a keymap.
I make some changes to buttons, because I don’t use a teletext, and I make other functions here.
If you want to look at my changes go there
Tutorial is here
#Working and not working
WORKING:
-
pairing
-
reception of all keypresses
NOT WORKING:
And never will work, because it is independent from me (it is from LIRC)
-
RF settings in setup menu - signal strength monitoring http://imgur.com/UKGmtYB
-
MUSIC button - displaying infos on the remote’s display http://imgur.com/ZMiOtPO
- longpress - this can work, but not for now, more in Issues tab (on GitHub)
Please help me with this.
#Other
I would like to get it work by choosing a remote in “My OSMC” but it’s not working!
So I decided to make it work, I research the forums, the wikis, lirc infos, other remotes, and I found a problem.
That was not starting at boot lircd process. And I found a small very helpful file in /etc - rc.local
And there I type the startup command, and it works!
But I’ve got some information’s: from @DBMandrake in this topic.
Lircd is not started at boot time but on the fly by udev rules in /lib/udev/rules.d/98-lircd.rules when compatible hardware is detected
I’ve checked this file for the srm7500 and there is something about it.
But for the SRM-7500 IT DOESN"T WORK!!!
The remote (USB) dongle don’t start (the LED don’t shine).
So please repair this, I don’ know why it isn’t work, and how it work.
And some please you @sam_nazarko
Please, add my philips-srm-7500-lircd.conf
to the official version of OSMC. I send it on GithHub to you.
And add my Lircmap.xml
to the default /usr/share/kodi/system/Lircmap.xml
Thank you!
And in general,
What I do with the “dvd” button?
Temporary I set this as “playdvd” function. But can be here a “menu” function?
When I leave a “playdvd” in Lircmap, and change that button in “keymap.xml” the kodi.log show this:
9.905861 T:1956471728 ERROR: Remote Translator: Can't find button playdvd
Please look at my Lircmap.xml and compare it to keymap.xml and tell me where is problem.
That’s all, thanks for reading this.
I’m very sorry for the bad English, I know this, many of this is just pushed by Google Translator.