tamanaco wrote: 
> gharris, thanks for your reply... Is the code above for long press sleep
> or just for a short press sleep?

IIRC, all Squeezebox IR remotes except for (some? all?) Boom remotes use
the same scheme, and that is, keep sending the same IR code as long as
the user is holding the button down. LMS has logic to treat the press as
"short" if the player stops relaying IR code info to LMS fairly soon
after the first code is sent. 

Some (all?) Boom remotes used a scheme whereby they'd send a
button-specific IR code when the button was first pressed, and then for
as long as the button continued to be pressed, they'd send a different
IR code. That second IR code was the same for all buttons, and
essentially was meant to tell Boom+LMS that the user hadn't stopped
pressing the button yet. Technically, I think this "ditto" IR code
(which I think was an industry standard) required less energy because it
was shorter in length (fewer pulses of light), and therefore looked like
a smart idea for a small remote with an expensive, disposable battery. I
think Logi/SlimDevices at some point started building the Boom remotes
to use the old school (non-ditto) behavior.

Physical buttons on Boom (and Squeezebox Receiver) are treated
differently -- the player sends LMS indication of both the button being
pressed ("down") and the button being released ("up"). AFAIK there's no
way to trigger those messages with an IR code sent to the player's IR
receiver.

> ... Anyway, I tried teaching the long press sleep command to my Harmony
> Smart Control and it didn't work because, as I was told, newer Harmony
> remotes have no "raw" learn capability. I'm trying to work with Logitech
> (Harmony) support to see if they can add this command to the profile for
> that device.

1) Really, a Harmony remote that can't learn? Sounds crazy.
2) Are there multiple Squeezebox devices in the Harmony database? Since
all devices starting with at least the Squeezebox 1 support the same
codes, you could try another device. (IIRC, the SliMP3 player responded
to codes registered to another company, likely the JVC brand DVD codes
that are also generally supported on older players by LMS out of the
box. You could look at the .map and .ir files for LMS, but I don't
believe LMS recognizes a JVC "sleep" code.)
3) If you can't customize a Harmony remote, take a look at the world of
JP1 programmable remotes. One For All used to have nice options, but it
looks like nowadays many people resort to reprogramming Comcast's set
top box remote controls since they're cheap, plentiful, and apparently
support JP1 programming. In a couple of my rooms I've been using OFA JP1
remotes for years, with very good results.
4) For use with LMS, you might be able to program the Harmony remote to
send some other recognizabled IR code (one of those JVC DVD codes would
be good) and modify the .map (?) file for LMS to have it treated as a
"sleep" button. Sorry, my memory is really fuzzy here. But basically the
old "IP3K" players like Boom recognize most IR codes (but not all, like
they don't understand Denon's) and will relay info to LMS for most IR
codes. So it's likely you can use the .map/.ir files to have LMS
recognize a non-Squeezebox IR code as a sleep IR code.

Good luck.



http://www.tux.org/~peterw/ 
Note: The best way to reach me is email or PM, as I don't spend time on
the forums.
*Free plugins:*  AllQuiet Auto Dim/AutoDisplay BlankSaver ContextMenu
DenonSerial
FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket
SaverSwitcher
SettingsManager SleepFade StatusFirst SyncOptions VolumeLock
------------------------------------------------------------------------
peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=48521

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to