Difference between revisions of "Kodi (formally XBMC)/wiimote"

From Wiki.CoreyBlair.US
Jump to navigation Jump to search
m
m
 
Line 2: Line 2:
  
 
* Open command line and issue
 
* Open command line and issue
<code>sudo apt-get install bluez kodi-eventclients-wiiremote</code>
+
:<code>sudo apt-get install bluez kodi-eventclients-wiiremote</code>
 
* Next answer yes to any questions regarding space usage by the packages being installed.
 
* Next answer yes to any questions regarding space usage by the packages being installed.
 
* Now open the battery cover on the wiimote and locate the internal red button. (leave batteries installed)
 
* Now open the battery cover on the wiimote and locate the internal red button. (leave batteries installed)
 
* Go back to command line and issue
 
* Go back to command line and issue
  
<code>hcitool scan</code>  
+
:<code>hcitool scan</code>  
  
and immediately press the internal red button on the wiimote.
+
:and immediately press the internal red button on the wiimote.
 
*In the Command line you should get an output that goes something like this  
 
*In the Command line you should get an output that goes something like this  
<code>00:1F:32:FC:D8:C9      Nintendo RVL-CNT-01</code>
+
:<code>00:1F:32:FC:D8:C9      Nintendo RVL-CNT-01</code>
 
* You should either take a screenshot of the Bluetooth mac address or write it down somewhere.
 
* You should either take a screenshot of the Bluetooth mac address or write it down somewhere.
 
* Finally you need to edit the config file located at  
 
* Finally you need to edit the config file located at  
<code>sudo nano /etc/rc.local</code>
+
:<code>sudo nano /etc/rc.local</code>
  
and insert the following at the bottom
+
:and insert the following at the bottom
  
<code>kodi-wiiremote --btaddr 00:1F:32:FC:D8:C9 &</code>
+
:<code>kodi-wiiremote --btaddr 00:1F:32:FC:D8:C9 &</code>
  
 
*Make sure this is inserted before "exit 0"
 
*Make sure this is inserted before "exit 0"

Latest revision as of 10:55, 24 November 2015

Installing & Configuring Wiimote for Kodibuntu

  • Open command line and issue
sudo apt-get install bluez kodi-eventclients-wiiremote
  • Next answer yes to any questions regarding space usage by the packages being installed.
  • Now open the battery cover on the wiimote and locate the internal red button. (leave batteries installed)
  • Go back to command line and issue
hcitool scan
and immediately press the internal red button on the wiimote.
  • In the Command line you should get an output that goes something like this
00:1F:32:FC:D8:C9 Nintendo RVL-CNT-01
  • You should either take a screenshot of the Bluetooth mac address or write it down somewhere.
  • Finally you need to edit the config file located at
sudo nano /etc/rc.local
and insert the following at the bottom
kodi-wiiremote --btaddr 00:1F:32:FC:D8:C9 &
  • Make sure this is inserted before "exit 0"
  • Obviously you will need to replace the mac address with the one that you wrote down earlier.
  • Don't leave out the "&" at the end of the insertion.
  • Save the file and restart.
  • Once restarted all you need to do is hold down the 1 and 2 buttons and it should connect soon after.