richyboypalm wrote: > Hi, > > Can anyone push me in the right direction. > I would like to power on and off my amp when I power on or off my > squeezebox touch. > > The amp is IP controlled with only two command B01ON for on and B01OFF > for off. > It is on port 23 with the static IP address of 192.168.1.3 > > I have tried to use a few plugins but have had no luck.
TCP/23 is the standard port for the telnet protocol. You're looking to use programs such as "telnet" or "netcat" to control your amp. I don't really know of a plugin that allows to run a custom command besides Server Power Control (you could use players idle monitoring + a custom command, I think.) In case no plugin really exists for doing this, then a simple script running every minute or so could do the trick: with the CLI it is easy to get a player's power status from LMS (you can telnet/netcat to LMS on port 9090, or -better- use JSON to communicate with LMS). From there the script could set the amp on or off to reflect player status. HTH 4 SB 3 iPeng (iPhone + iPad) Squeezebox Server 7.9 (linux) with plugins: CD Player, WaveInput by bpa IRBlaster by Gwendesign (Felix) Server Power Control by Gordon Harris Smart Mix, Music Walk With Me, What Was That Tune? by Michael Herger PowerSave by Jason Holtzapple Song Info, Song Lyrics by Erland Isaksson WeatherTime by Martin Rehfeld ShairTunes2 by disaster123 Local Player, BBC iPlayer by Triode Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins. ------------------------------------------------------------------------ epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711 View this thread: http://forums.slimdevices.com/showthread.php?t=104123
_______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
