A month or so after I posed the question, I have a solution in place.

I've installed Home Assistant (https://www.home-assistant.io/) on a
RPi4. HA has integration with LMS, allowing it to fetch the status of
any players attached to the music server.

I switched out the Amazon Smart outlets for similar device from TP-Link
(Kasa Smart Plug Lite https://amzn.to/2ScvfJ8) These are also directly
integrated with HA.

A Home Assistant automation (basically a task) for each player
(PiCorePlayer+ HiFiBerry+ RPI3) turns on the associated plug when it
sees the player status change to PLAYING.

Turns off the plug when the player status changes to OFF.

A scheduled routine turns off all the powered speakers at midnight, just
for good measure.

So far it all works very well.



Michael Graves

House: RPi3 + HifiBerry Pro XLR, M-Audio BX5As 
Home Office: RPi3 + HifiBerry Pro XLR, M-Audio BX5A D2, Berhringer
B2092A subwoofer
Workshop: RPi3 + HifiBerry Pro XLR, Alesis ProLinear 820s, JBL
subwoofer
Back Yard: SB3, Dayton Amp, Definitive Tech AW6500s 
Front Yard: SB3, SMSL Q5 Amp, Definitive Tech AW5500s 
SqueezeCenter on Lenovo Tiny PC

email: mgraves <at> mstvp.com
blog: http://www.mgraves.org
------------------------------------------------------------------------
mgraves's Profile: http://forums.slimdevices.com/member.php?userid=4078
View this thread: http://forums.slimdevices.com/showthread.php?t=111402

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

Reply via email to