andrewhess wrote: > Sorry, too many acronyms on this forum (does everyone really understand > all this? I feel old and dim.). What CLI? The svrPowerContol looks > potentially perfect--I'll start researching it. One possible issue is > that I want it to control the power supply to my stereo via the TP-Link > smart plug (the Transporter has tubes that don't turn off when you turn > off the Transporter--it's a mod). Can this plugin do that? > > edit: Wait...CLI....command line interface!
CLI = command line interface. LMS has an interface which text based command can begiven to control LMS / player and get status. If you have done any programming it is a bit cryptic as IIRC it is aimed at programs not humans. In LMS world - when players are turned off - they are not off - just the display is blank - SB players are only really off when power is removed. When you turn on a player by applying power (e.g. via smart socket) - you will need to allow time for player to power up, get on network and then for LMS to recognise player is on network. Paul Webster wrote: > If things have not changed with the top-link Smart plug then ... you > could use the Python script from > https://www.softscheck.com/en/reverse-engineering-tp-link-hs110/ and use > set_relay_state to make it turn the device off/on. > First thing would be to get it working from a script ... and if it does > ... then get that script called from whichever mechanism you end up > using to determine that a switch on/off is needed. This looks to be the same script only I referenced github. The advice is right - don't waste time on LMS plugins etc until you have checked from a shell prompt that the script runs on rpi and that it can control the smart plug. ------------------------------------------------------------------------ bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=109642 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix