Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 1 of 1
  1. #1
    Senior Member
    Join Date
    Feb 2006

    Q; How to get PiCorePlayer to turn on an Amazon Smart Outlet.

    I have several Raspberry Pi 3B+ SBCs with HifiBerry Pro XLR DACs. These are connected to powered audio monitors that don't power on/off automatically. So, I leave the speakers turned on, but plug them into an Amazon Smart outlet.

    The Pi is powered over Ethernet, so it stays powered-up 24/7, independent of the outlet. That means it's always visible to the LMS web ui.

    So far I tell our echo to manually turn on the target outlet when I want to play music in a zone. It's basic but it works. Also, there's a scheduled routine to turn off all the speakers at midnight every day.

    The PiCorePlayer software the runs on the RPI3s is Linux based. It allows me to trigger a script when music starts to play.

    So, any ideas about thow to craft a script would tell the associated Amazon Smart Outlet to power-on?
    Last edited by mgraves; 2019-12-28 at 15:47. Reason: typo
    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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts