SHAC - play audio file

Discussion in 'C-Bus Automation Controllers' started by Gino, Apr 17, 2021.

  1. Gino

    Gino

    Joined:
    Mar 29, 2010
    Messages:
    10
    Likes Received:
    0
    Location:
    Sydney
    Could anyone please assist in how I am able to play an audio file when an event happens.
     
    Gino, Apr 17, 2021
    #1
    1. Advertisements

  2. Gino

    lcrowhurst

    Joined:
    Dec 2, 2004
    Messages:
    231
    Likes Received:
    76
    Location:
    Sydney, NSW, Australia
    lcrowhurst, Apr 19, 2021
    #2
    1. Advertisements

  3. Gino

    Gino

    Joined:
    Mar 29, 2010
    Messages:
    10
    Likes Received:
    0
    Location:
    Sydney

    I have setup an 10.1" touchscreen to a Raspberry PI and mounted it in the wall. It is replacing my old CTC unit.
    I have a script to play an audio file letting me know that I have a visitor. It is triggered to play when my outside front PIR detects movement.
    I need some help in writing a script that will trigger to play and audio file that is sitting on the Raspberry pi unit. the Raspberry PI is connected to a small amp and speaker.
     
    Gino, May 3, 2021
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.