PDA

View Full Version : Wii Remote and Boxee Event Server (WORKING!!!!)



Heratiki
February 20th, 2010, 07:35 PM
I finally got it working correctly with the Boxee Event Server...

Start by following this (http://www.mini-itx.com/projects/xbmc-ion/module/6) guide to get XBMC Event Clients working...

Then instead of starting xbmc-wiiremote with the command in the tutorial type this instead:


xbmc-wiiremote --btaddr <WIIMOTE MAC ADDY> --port 9770 &

This will allow you to connect the wiimote in Boxee in Linux with a simple press of the 1 & 2 buttons and turn the wiimote off by holding the Power Button on the Wiimote... It's simple and works great... Plus more features than keyboard emulation... Port 9770 is the default Event Server port for Boxee's Event Server... (found by searching the boxee.log)

Heratiki

EDIT: A little more testing reveals that it's a really twitchy and doesn't work that well in 64 Bit Ubuntu but I'm going to do some further testing when I get home and let you know how well it works... If anyone gets to test this and let me know how it works in 32Bit that would be great... Can't wait to get home...

EDIT2: My problem seems to stem from the fact that I'm using 64 Bit Ubuntu... So hopefully my tests at home should reveal better operation... Crosses Fingers...

EDIT3: It looks like all of the Event Clients for the XBMC Event Server works seamlessly with Boxee's Event Server... This is the functionality I was speaking of and from what I can tell it's been here since early early alpha... I love it... Finally it's been found... This includes the dev side as well as the J2ME eventclient and PS3 Remote Client...

EDIT4: Now that I have this functionality for the most part with my tester machine I'll be testing on my Ubuntu machine at home... My next step is building a way to interface GlovePIE or wiiuse for Windows use of the Boxee event server...

EDIT5: It appears my thoughts were correct... This works amazingly with Ubuntu 32Bit and the xbmc-eventclients-wiiremote you can get through Synaptic... No issues with connecting and very easy to use Boxee now... Even brings up a listing that says favorites that I don't believe has been implemented yet... LOL (Hit 1 at the home screen)...

jaaps
February 21st, 2010, 04:57 AM
Nice, I've also found out there are some settings in a file called guisettings.xml in the UserData folder.

And Im talking about this part:


....
<remoteevents>
<allinterfaces>false</allinterfaces>
<continuousdelay>25</continuousdelay>
<enabled>true</enabled>
<initialdelay>750</initialdelay>
<maxclients>20</maxclients>
<port>9770</port>
<portrange>10</portrange>
<sep1></sep1>
<sep2></sep2>
</remoteevents>
...


If you change <allinterfaces>false</allinterfaces> to <allinterfaces>true</allinterfaces> other computers/devices in your network can also connect to the event server. I have been using this a while to control boxee on linux with an apple remote (using xbmchelper on a mac in the same room that I don't use for boxee, nicely sends ir signals through the network to my linux box)

Heratiki
February 21st, 2010, 07:45 PM
Very nice... This gives me some ideas as I have another HTPC connected in the bedroom and I could essentially pass commands back and forth between the two... Dunno what I would do with it but I'm sure I could figure it out... I love Boxee now... The only reason I was using XBMC was because I thought the Event Server hadn't been included... XBMC just simply doesn't do web anything without a struggle or just plain breaking all together... Thank you Boxee can't wait to start working on Plugins again...

Heratiki

EDIT: I'll be doing a proper tutorial in the near future (as much as RL work allows) so that everyone will be able to easily use the Wiimote for control of Boxee...