composants:rpi_osmc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
composants:rpi_osmc [2018/09/16 17:56] mhcomposants:rpi_osmc [2020/06/01 16:35] (current) – external edit 127.0.0.1
Line 3: Line 3:
 {{composants:rpi.png?250}} {{composants:rpi.png?250}}
  
-===== Résumé =====+===== Summary =====
  
-La Raspberry pi est idéal pour se construire un media center personnelpar exemple en couple avec un NAS.+Raspberry Pi is ideal to build a home media center, for instance, coupled with a NAS.
  
-===== Mettre une télécommande =====+===== Sources management ======
  
-//Remote controls typically use 940 nm wavelength and this setup requires receiver diode capable of sensing in that spectrumIt is invisible to human eye but video cameras see it as if it produces purple light.//+In the sources menu, when keyboard is connected, pressing 'C' will bring up contextual menu for selected itemThis is useful to edit or remove sources.
  
-====Installation steps :====+NFS sources have to be properly configured on the server side (e.g. on the NAS if using one) and shared folders have to have permissions set up properly on remote hosts.
  
-  *Enter MyOSMC > Pi Config > Hardware Support +Sources management works best when using static IPs on the internal network and configuring the sources with direct IP addresses and proper protocols. For example :
-    *Note the GPIO pins +
-    *The one we need is gpio_in_pin +
-  *Cable the diode to the board +
-    *Vin to 3.3V or 5V accordingly +
-    *GND to RPi GND +
-    *OUT to pin gpio_in_pin (18 when deployed in 12/2017) +
-  *Go to MyOSMC > Remotes +
-    *Activate the script for the remote you are using +
-    *If it doesn't exist, clone a script and make your own or learn one using the irrecord command+
  
-==== Using irrecord ====+<code> 
 +nfs://192.168.1.64/volume/video/ 
 +smb://192.168.1.84/folder/ 
 +</code> 
 + 
 +===== IR Remote control ===== 
 + 
 +//IR remotes generally emit in a wavelength around 940nm, so we need a IR sensor. It's invisible to the eye but cameras (such as smartphones) can see a dim purple light.// 
 + 
 +==== Setup ==== 
 + 
 +  *MyOSMC > Pi Config > Hardware Support 
 +    *Note GPIO pins 
 +    *we need gpio_in_pin 
 +  *Plug the IR sensor accordingly (see below) 
 +    *Vin on 3.3V or 5V 
 +    *GND on RPi GND 
 +    *OUT on gpio_in_pin (18 on mine in 12/2017) 
 +  *MyOSMC > Remotes 
 +    *Active appropriate script according to your remote 
 +    *If no script exists, clone a script and edit it or create one with irrecord command 
 + 
 +==== irrecord ====
  
-You must be in a shell : EXIT >> esc-key (default user/pass : osmc/osmc)+Log into a shell : EXIT >> Esc. key (default user/pass : osmc/osmc)
  
-Stop the lircd service+Stop lircd service
  
 <code> <code>
Line 34: Line 47:
 </code> </code>
  
-User irrecord specifying the correct device node+Launch irrecord specifying correct device (here /dev/lirc0)
  
 <code> <code>
Line 40: Line 53:
 </code> </code>
  
-Start the lircd service again+Reboot lircd service
  
 <code> <code>
Line 46: Line 59:
 </code> </code>
  
-During the record you will be asked to specify keys formatted as such KEY_1, KEY_2, etcA full list [[can be found here|https://www.ocinside.de/modding_en/linux_ir_irrecord_list/]] (2017)+Script will ask to press certain buttonsFull list can be found [[https://www.ocinside.de/modding_en/linux_ir_irrecord_list/|here]] (2017)
  
 ===== Ressources ===== ===== Ressources =====
Line 69: Line 82:
  
 ==== RPi 3 Pinout ==== ==== RPi 3 Pinout ====
 +
 +++++ GPIO Header | 
  
 {{composants:rpi3_gpio.png?500}} {{composants:rpi3_gpio.png?500}}
  
 +++++
 +
 +=== Power Button ===
 +
 +To wake up the RPi after halt, short pin #05 and GND.
  
-===== Divers =====+==== Links ====
  
 +[[https://trendblog.net/how-to-connect-your-synology-nas-to-kodi/|Configuring NFS on Synology NAS to connect to OSMC]]
  • composants/rpi_osmc.1537113401.txt.gz
  • Last modified: 2020/06/01 16:36
  • (external edit)