I need to stop posting links to specific beta releases.

Late last night I posted a new version with different button behavior.

http://www.tux.org/~peterw/slim/?M=D

The problem with the "press briefly" == "on" vs. "hold button" == "off"
is that while the final result was "off", the plugin was being called
for "on" as soon as the button was pushed, so "hold button" was more
like "on, then off". I should have been able to solve that with delays
& timers, e.g. pressing briefly would set a timer to turn the device on
something fraction of a second later, and holding would cancel that
timer and immediately send an off code.

But I decided another approach might be better, especially as I
struggled with some IR/button timing issues. So as of the .jan3a code,

- to turn a device "on", press a 1-9 button briefly while on any
normal BottleRocket screen
- to turn a device "off", press Sleep once (or Search, since the
buttons are close to each other on the classic SB remote) and then,
while the display reads "X-10 off: 0-9 or Sleep to cancel", press a 1-9
button. 

The "all other devices" code is similar -- "0" briefly == all on, and
Sleep + "0" == all off.

The .jan3a code also includes some software fixes for too-fast up/down
scrolling that I saw with a Squeezbox and JVC DVD codes, and includes
the .jan2c UI improvements, mainly always displaying the 1-9 number for
any of the first 9 devices.

Yet to do: 
- probably re-enable holding 0-9 to start playing a Favorite
- possibly set up Sleep + Add to turn all lights off (since plain Add
turns all lights on)

-Peter


-- 
peterw
------------------------------------------------------------------------
peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107
View this thread: http://forums.slimdevices.com/showthread.php?t=24065

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

Reply via email to