chill wrote:
>
> >
Code:
--------------------
> > #
> # <CODE>=<JSON Formatted lms cli command>
> #
> # CODE - MUST be a 4 character code, to be reference on command line
when
> #
> # For commands reference the LMS cli documentation, commands are to
be JSO
> #
> # Default commands
> PAUS=["pause"]
> VOL-=["button","voldown"]
> VOL+=["button","volup"]
> PREV=["button","rew"]
> NEXT=["button","fwd"]
> POWR=["power"]
> MIX+=["mixer","volume","+5"]
> MIX-=["mixer","volume","-5"]
> VMAX=["mixer","volume","100"]
> MUTE=["mixer","volume","0"]
> PLAY=["button","rew.single"]
> STOP=["stop"]
> SHUF=["button","shuffle.single"]
> RSRT=["restartserver"]
> PRE1=["button","preset_1.single"]
> PRE2=["button","preset_2.single"]
> PRE3=["button","preset_3.single"]
> PRE4=["button","preset_4.single"]
> PRE5=["button","preset_5.single"]
> PRE6=["button","preset_6.single"]
> PRE7=["button","preset_7.single"]
>
--------------------
> >
>
@chill: How did you connect your 7 preset buttons to the gpios? I have
connected 2 rotary encoders, 1 infrared, so I have only 5 gpios left
free. I thought about using an port extender MCP23017 but don't get it
connected/routed to sbpd.
------------------------------------------------------------------------
jofland's Profile: http://forums.slimdevices.com/member.php?userid=69721
View this thread: http://forums.slimdevices.com/showthread.php?t=114075
_______________________________________________
diy mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/diy