Doorbell

This topic contains 5 replies, has 3 voices, and was last updated by  Heiner premium 9 months, 2 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • 1. January 2016 at 19:01 #17524

    I’m interested in a possibility to send any command to a RPi to play a sound, that interrupt the actual playlist.
    parameter:
    – sound
    – volume
    – command (tcp or udp)

    Maybe there exists an easy way?
    Many thanks for all help.

    rdgx, Tefi

    14. January 2016 at 14:56 #17847

    Hi Tefi,
    You can use URL-commands from the Squeezebox Server-Software. We have been working on a voice control plugin and although it does not fully work yet, you can use the info from this plugin to implement URL-commands from the Squeezebox Server. Here is the installation-link: http://shop.max2play.com/media/downloadable/beta/voicecontrol.tar
    Once installed, it generates some example commands based on your setup (mac-address, etc.). You can also look into the links below, wherein you can find all necessary commands. The second link is especially helpful and more structured and detailed.

    3. February 2016 at 20:10 #18375

    I really like this idea, I allready tested that sound played form sqeeuzelite and shareport can be mixed, thanks to the ALSA mixer I suppose (I’m a linux newbie). So if there was a another very small sound player running, that could play local sounds (ex. Doorbell1.mp3) that would be a great way to create ‘the doorbell’ effect. OK it will be mixed with the current playing sound, but the doorbell sound is normally always louder :-). Offcourse it would be nice if the audio that is playing paused for the moment.
    Is there somebody that has an idea to create this? Or point me in the right direction to code myself a little sound player?

    thanks

    Benny

    edit : just figured out Multisqueeze does the trick for me :-). One for the usual playing of sound, one for addon sound like a doorbell without changing the playlist from one.

    • This reply was modified 10 months ago by  Stingertje.
    10. February 2016 at 15:49 #18451

    That’s great! We would appreciate it if you could share your setup and steps to realize this system for other users. If you are interested, we would love it if you could write a text for our blog, like other users did to share their projects under Max2Play: https://www.max2play.com/en/category/general-en/page/2/

    16. February 2016 at 23:45 #18526

    Hi

    To install the plugin that’s no problem, but how do I play an mp3 overlayed?
    What’s is the command?

    thanks, Tefi

    18. February 2016 at 15:38 #18582

    Hi Tefi,
    You can find all you need to know about the commands for the Squeezebox Server in its own documentation (With IP and port of your SBS http://IP:PORT/html/docs/cli-api.html) and here are some examples: http://tutoriels.domotique-store.fr/content/54/95/fr/api-logitech-squeezebox-server-_-player-http.html

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

Register here