Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 2 of 2
  1. #1
    Member kezz's Avatar
    Join Date
    Jul 2016
    Location
    Long Island, NY
    Posts
    42

    Somehow to detect when the boom is being used and switch on a bass speaker?

    Greetings my fellow survivors

    I have a Boom in my room and it's connected to a big powerful Bass speaker from an old PC sound system which is hidden under the bed.

    It sounds really fantastic when in use, but I realize (especially with my LMS being out of commission until recently) that it's just sitting there, powered on 24/7 wasting electricity and producing a slight hum.

    Is there a way I could conditionally power this device on with a smart relay (those things are everywhere, ESP32 based Chinese made Wi-Fi switches - generally referred to as a Sonoff) by either having the relay
    1) Subscribe to MQTT messages that the LMS could hypothetically emit whenever the Boom is in use (no idea how to do that though)
    2) Use the sensor probe that some of the ESP based devices put out to somehow detect when the bass line is in use and switch the relay on

    The first option would be more familiar to me because I'm a software person but I understand how it could be less reliable.
    The second option sounds more reliable but I'm not sure electrically how I'd be able to sample a low voltage audio signal without degradation.

    What do y'all think?

  2. #2
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    6,133
    Personally I would have a energy detector/noise gate on the Boom line out and drive a relay from that. But you also can look at plugins that handle players on/off (I also have an example how to do that in my group plugin) where you can have the Perl script being aware of the boom on/off and send any message anywhere, including to a WiFi based relay or smart plug
    LMS 7.9 on Pi 3B+ & Odroid-C2 - SqueezeAMP!, 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, Riva 1 & 3

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
  •