The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: Squeezebox plugin and HouseBot plugin (by Edward Pearson)


  • Subject: Re: Squeezebox plugin and HouseBot plugin (by Edward Pearson)
  • From: "zagknut" <brad@xxxxxxxxxx>
  • Date: Wed, 23 Sep 2009 17:53:48 -0000

Ok, I friggin' figured it out. The Squeezebox needs a "Dead"
command after "play" in order to recognize the "play"
command (this is to select a favorite). So, I set up a second property in
the device definition in HouseBot sending "Dead" after
"play" and it works!

--- In xap_automation@xxxxxxx, "zagknut" <brad@...> wrote:
>
> For no explicable reason, the "favorites", "down",
and "exit_right" now work. I had prepended slim.button with
"xAP-" after sending this and I removed the "xAP-" from
the class line and viola! However, I cannot get "play" to work as
a button press and the transpot play will not select the favorite station
selected to play. Ugh! I also can't get the presets to work. I have enabled
button press in the SqueezeCenter plug-in and when i press preset 2, it
sends "playFavorite_2". I tried subsitituting this in place of
down, but alas, it did not work. here are the messages:
>
> xap-header
> {
> v=13
> hop=1
> uid=FF.0ADA0783:0000
> class=Slim.Button
> source=ersp.HouseBot.music-server
> target=ersp.SlimServer.Music-server:Boom
> }
> Button.Command
> {
> Button=playFavorite_2
> }
> --------------------------------
> xap-header
> {
> v=13
> hop=1
> uid=FF.0C654D41:0002
> class=Slim.Event
> source=ersp.SlimServer.Music-server:Boom
> }
> Button.Event
> {
> Button=playfavorite_2
> }
>
> I also get this identical confimation back when initiating the
favorites 2 from HouseBot. Any thoughts?
>
> Thanks!
> Brad
>
> --- In xap_automation@xxxxxxx, "Edward Pearson"
<edward.mailgroup@> wrote:
> >
> > The exact same message, changing only the target field, works
fine here.
> >
> >
> >
> > I don't have a Boom; but I thought they were the same as the
other players
> > in this respect.
> >
> > I'm out of ideas right now.  Can anybody else replicate this?
> >
> >
> >
> > From: xap_automation@xxxxxxx [mailto:xap_automation@xxxxxxx]
> > On Behalf Of zagknut
> > Sent: 23 September 2009 15:16
> > To: xap_automation@xxxxxxx
> > Subject: [xap_automation] Re: Squeezebox plugin and HouseBot
plugin (by
> > Edward Pearson)
> >
> >
> >
> >
> >
> > Yes, I tried control of Favorites first. When I was unsuccessful,
I tried
> > poth Play and Pause. Here is my favorites meesage call:
> >
> > xap-header
> > {
> > v=13
> > hop=1
> > uid=FF.0ADA0783:0000
> > class=slim.button
> > source=ersp.HouseBot.music-server
> > target=ersp.slimserver.music-server:boom
> > }
> > button.command
> > {
> > button=favorites
> > }
> >
> > Am I doing something wrong here?
> >
> > Thanks!
> > Brad
> > --- In xap_automation@xxxxxxx
> > <mailto:xap_automation%40yahoogroups.com>
, "Edward Pearson"
> > <edward.mailgroup@> wrote:
> > >
> > > Have you actually tried controlling the favourites? It seems
to work fine
> > > for me via button commands.
> > >
> > > But the pause button is doing something very strange. It'd
be unlucky for
> > > you if you'd chosen pause to experiment with and that was
the one behaving
> > > oddly.
> > >
> > >
> > >
> > > I can navigate favourites by issuing button.command messages
with:
> > >
> > > button=favorites <- note spelling
> > >
> > > button=up
> > >
> > > button=down
> > >
> > > button=exit_right
> > >
> > > button=exit_left
> > >
> > >
> > >
> > > also the number keys work
> > >
> > > button=5
> > >
> > > button=6
> > >
> > > etc
> > >
> > >
> > >
> > >
> > >
> > > From: xap_automation@xxxxxxx
> > <mailto:xap_automation%40yahoogroups.com>
> > [mailto:xap_automation@xxxxxxx
> > <mailto:xap_automation%40yahoogroups.com>
]
> > > On Behalf Of Edward Pearson
> > > Sent: 23 September 2009 14:22
> > > To: xap_automation@xxxxxxx
> > <mailto:xap_automation%40yahoogroups.com>
> > > Subject: RE: [xap_automation] Re: Squeezebox plugin and
HouseBot plugin
> > (by
> > > Edward Pearson)
> > >
> > >
> > >
> > >
> > >
> > > NP - I'll check out the pause on/off thing too.
> > >
> > > Also, I just noticed the transport prev command seems to be
very
> > > unpredictable.
> > >
> > >
> > >
> > > BTW - these may turn out to be issues with SqueezeCenter;
this would not
> > be
> > > the first time that issues raised for the plug-in have
turned into
> > > SqueezeCenter bug reports.
> > >
> > >
> > >
> > > Oh, forgot to ask, what version of SqueezeCenter are you
running and on
> > what
> > > platform?
> > >
> > >
> > >
> > > From: xap_automation@xxxxxxx
> > <mailto:xap_automation%40yahoogroups.com>
> > [mailto:xap_automation@xxxxxxx
> > <mailto:xap_automation%40yahoogroups.com>
]
> > > On Behalf Of zagknut
> > > Sent: 23 September 2009 13:57
> > > To: xap_automation@xxxxxxx
> > <mailto:xap_automation%40yahoogroups.com>
> > > Subject: [xap_automation] Re: Squeezebox plugin and HouseBot
plugin (by
> > > Edward Pearson)
> > >
> > >
> > >
> > >
> > >
> > > Edward,
> > >
> > > Thanks for your quick repsonse. I have been beating my head
against a wall
> > > on this for the last three days! I was just sure I was doing
something
> > > wrong. I am working towards integrating Squeezebox control
into my whole
> > > house audio system (AudioAccess MRX) which provides two
transport
> > functions
> > > (its an OLD system!) from the eight button keypads. I would
like to have
> > one
> > > be next track (works using (audio.transport command, so no
problem there)
> > > and the other next favorite Pandora station. I should
mention that I use
> > the
> > > Squeezebox almost exclusively for Pandora and have favorite
Pandora
> > sataions
> > > saved as favorites. So, the long answer to your questions
is, yes, I also
> > > need the direction buttons. At present, I am able to emulate
this on the
> > > Boom using IR commands from the AudioAccess sending
"Favorite/Down/Play".
> > I
> > > am hoping that this will work via HouseBot as well.
> > >
> > > I did find one other issue. In the manual for xAP Plig-in
for
> > SqueezeCenter,
> > > section 4.3 you describe the ability to send a param command
to prevent
> > > pause from toggling. I have not been able to successfully
implement this
> > > either. I was able to get HouseBot to send the following
message:
> > >
> > > xap-header
> > > {
> > > v=13
> > > hop=1
> > > uid=FF.0ADA0783:0000
> > > class=xAP-Audio.Transport
> > > source=ersp.HouseBot.music-server
> > > target=ersp.SlimServer.Music-server:Duet
> > > }
> > > Audio.Transport
> > > {
> > > Command=Pause
> > > Param=On
> > > }
> > > But the SqueezeBox simply ignores the message(I dont know if
Param is
> > > supposed to be "on" or "off". I tried
both and neither works).
> > >
> > > Any help you can offer here would be appreciated as well!
> > >
> > > Thanks so much.
> > >
> > > Brad
> > >
> > > --- In xap_automation@xxxxxxx
> > <mailto:xap_automation%40yahoogroups.com>
> > > <mailto:xap_automation%40yahoogroups.com>
, "Edward Pearson"
> > > <edward.mailgroup@> wrote:
> > > >
> > > > Hi,
> > > >
> > > >
> > > >
> > > > I just tested this and it looks like you have found a
bug in
> > > button.command.
> > > > I've not investigated it properly but on a quick test
it appeared to be
> > > > behaving quite inconsistently :-/
> > > >
> > > >
> > > >
> > > >
> > > > And, no, I don't recall a better way in the API of
navigating a
> > favourites
> > > > list.
> > > >
> > > > You're looking to use buttons up, down, left &
right, yes?
> > > >
> > > >
> > > >
> > > > Luckily I'm doing some work on the SlimServer plugin at
the moment so
> > will
> > > > be able to look into this very shortly.
> > > >
> > > >
> > > >
> > > > Glad to hear you are having success generally though.
> > > >
> > > > HouseBot is great controller development environment
for xAP!
> > > >
> > > >
> > > >
> > > > From: xap_automation@xxxxxxx
> > <mailto:xap_automation%40yahoogroups.com>
> > > <mailto:xap_automation%40yahoogroups.com>
> > > [mailto:xap_automation@xxxxxxx
> > <mailto:xap_automation%40yahoogroups.com>
> > > <mailto:xap_automation%40yahoogroups.com>
]
> > > > On Behalf Of zagknut
> > > > Sent: 23 September 2009 04:00
> > > > To: xap_automation@xxxxxxx
> > <mailto:xap_automation%40yahoogroups.com>
> > > <mailto:xap_automation%40yahoogroups.com>
> > > > Subject: [xap_automation] Squeezebox plugin and
HouseBot plugin (by
> > Edward
> > > > Pearson)
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Hi.
> > > >
> > > > I have gotten xAP working on my network and
communicating with both my
> > > > Squeezeboxes and HouseBot. Basic transport controls
work perfectly as do
> > > the
> > > > reporting (via BSC). Unfortunately, I cannot seem to
get more complex
> > > > operations to work. What I specifically hope to
accomplish is to use
> > > > HouseBot to send a command to the squeezebox to select
the next entry in
> > > the
> > > > Favorites list. Near as I can tell, I have to use
either buttons or IR
> > > calls
> > > > to accomplish this. I have had no success in
implementing either. Just
> > to
> > > > test functionality, I have created a device in HouseBot
that will send
> > the
> > > > pause command as a button push (rather than an
Audio.Transport command).
> > > > This is the message sent from HouseBot taken from xFx
Message Viewer:
> > > >
> > > > xap-header
> > > > {
> > > > v=13
> > > > hop=1
> > > > uid=FF.0ADA0783:0000
> > > > class=slim.button
> > > > source=ersp.HouseBot.music-server
> > > > target=ersp.slimserver.music-server:boom
> > > > }
> > > > button.command
> > > > {
> > > > button=pause
> > > > }
> > > >
> > > > The command sends with no errors, but does not pause
the Squeezebox. I
> > > have
> > > > also tried "class=xAP-slim.button" to no
avail. I have tried sending the
> > > IR
> > > > command for pause as well. Can anyone give me any
suggestions as to what
> > > my
> > > > next steps should be in solving this issue, or suggest
a better methond
> > of
> > > > implementation?
> > > >
> > > > Thanks! Brad
> > > >
> > >
> >
>




------------------------------------


xAP_Automation Main Index | xAP_Automation Thread Index | xAP_Automation Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.