PDA

View Full Version : squeezebox as generic remote control sensor for pc?



Torgeir Veimo
2004-08-27, 11:13
Would it be possible to use the remote control sensor in the squeezebox
for other remotes, and send any unknown commands via tcp/ip to a pc, to
be decoded by lirc or similar?

--
Torgeir Veimo <torgeir (AT) pobox (DOT) com>

John Gorst
2004-08-28, 04:59
Torgeir Veimo wrote:

> Would it be possible to use the remote control sensor in the squeezebox
> for other remotes, and send any unknown commands via tcp/ip to a pc, to
> be decoded by lirc or similar?

The raw IR commands recieved byt eh squeezebox (both the squeezebox
remote and any other ir commands) can be sent by Xap (or is it xpl?)
over a tcp/ip network and can be used by a variety of software.

Have a search for xap and xpl on google.

Torgeir Veimo
2004-09-01, 16:37
On Sat, 2004-08-28 at 12:59 +0100, John Gorst wrote:
> Torgeir Veimo wrote:
>
> > Would it be possible to use the remote control sensor in the
> squeezebox
> > for other remotes, and send any unknown commands via tcp/ip to a pc,
> to
> > be decoded by lirc or similar?
>
> The raw IR commands recieved byt eh squeezebox (both the squeezebox
> remote and any other ir commands) can be sent by Xap (or is it xpl?)
> over a tcp/ip network and can be used by a variety of software.
>
> Have a search for xap and xpl on google.

Ok, I found a few references;

http://www.xapautomation.org/
http://wiki.xapautomation.org/tiki-index.php?page=xAP+Slimserver
+Connector (slimserver connector)
http://www.xplproject.org.uk/index.php

It seems that xAP can be used to send OSD info to the squeezebox for
display and also to control it, as described here:
http://wiki.xapautomation.org/tiki-index.php?page=xAP+Slimserver
+Connector

xPL is used for sending unknow IR signals from the squeezebox to a
suitable xPL hub that can do something sensible with them, as
illustrated by this example: http://www.xplproject.org.uk/modules.php?
op=modload&name=Sections&file=index&req=viewarticle&artid=33&page=2

Is this analysis correct? I need to dig further into this, but for my
current need it seems that I only need xPL right now. The easiest would
be to just get the codes through /dev/input/eventX, but it's probably
not that simple.

--
Torgeir Veimo <torgeir (AT) pobox (DOT) com>

John Gorst
2004-09-02, 12:11
>
> Ok, I found a few references;
>
> http://www.xapautomation.org/
> http://wiki.xapautomation.org/tiki-index.php?page=xAP+Slimserver
> +Connector (slimserver connector)
> http://www.xplproject.org.uk/index.php
>
> It seems that xAP can be used to send OSD info to the squeezebox for
> display and also to control it, as described here:
> http://wiki.xapautomation.org/tiki-index.php?page=xAP+Slimserver
> +Connector

Thats right.

>
> xPL is used for sending unknow IR signals from the squeezebox to a
> suitable xPL hub that can do something sensible with them, as
> illustrated by this example: http://www.xplproject.org.uk/modules.php?
> op=modload&name=Sections&file=index&req=viewarticle&artid=33&page=2

The xpl hub is not there to act on messages as far as I can tell, it is
there to act asa 'hub' (as the name suggests!). It co-ordinates messages
between different xpl enabled programs running on the same computer.

> Is this I need to dig further into this, but for my
> current need it seems that I only need xPL right now. The easiest would
> be to just get the codes through /dev/input/eventX, but it's probably
> not that simple.

Not sure about linux, as I am a complete newbie to it. But with windows
I was using the xplhas (or similar name) and was having that recieve the
ir codes from slimserver, act on them, and send a message back to
display on the squeezebox display. I believe misterhouse is a home
automation program for linux (and windows) that can act on xpl messages,
but it does quite a lot of other things so may be a little complicated!
Let me know how you get on as I plan to do something similar with my
linux box soon.

Cheers