LIVE On Air! light on web
  • A fun project - not sure where to start so I thought I'd reach out and see if anyone has some ideas.

    I would like to trigger a [LIVE] light indicator on a website when someone connects to the Master Source.

    I see this guy has rigged a light using Arduino and a call in Liquidsoap - very cool. http://comiconomenclaturist.blogspot.co.uk/2012/07/on-air-light-for-airtime.html

    How would one trigger this with a 'virtual light' on a site?
  • 7 Comments sorted by
  • Vote Up0Vote Down hoerichhoerich
    Posts: 627Member, Airtime Moderator
    this would be cool!
    it would be best if Airtime would support GPIO for features like this.

    do you know who is behind this addon?

    Official Airtime Forum Manager
    --------------------------
    Most of the time an issue is located between keyboard and chair.

  • hoerich said:

    this would be cool!
    it would be best if Airtime would support GPIO for features like this.

    do you know who is behind this addon?




    That would be me! :)
  • Vote Up0Vote Down Alex LAlex L
    Posts: 33Member
    Thanks for the tip :) Though I admit I'd far rather switch super bright LED's on 12V than 230V glow lamp.

    To get the virtual light on another website it might be as simple as adapting the script to set some sort of file/cookie and the other website update the "lamp" according to this status (others here probably know way more than me as I am old and still think in "hardware" methods. I can just about deal with Arduino, I made this a while back

    https://www.youtube.com/playlist?list=PLneDDlLNI_7cVRCFaSrhixL_F65oFqo6p

    I wonder it Hoerich is thinking also of GPIO in as well as out? I can see how remote starts, fader starts etc could be useful. But first we must get the basic app to work as well as the old analogue kit! And GPIO interfaces may have all manner of different protocols.

    A quick win - if the python script allows for such, "include" a file for user customisations in all airtime versions; that way when the version is updated the custom script is not knackered or overwritten. This is how FreePBX web front end interacts with Asterisk for telephone systems, and although I rarely do hardcoded dial plans, this means I can use bits when needed and even I can somehow get things to work.
    Post edited by Alex L at 2014-05-31 06:01:20
    Alex The Engineer @ rtn VFRmedia - Ipswich, UK
    http://www.vfrmedia.co.uk
  • Some of you may be interested in a side project of mine...http://youtu.be/vmVFb0I8mhk
  • Vote Up0Vote Down hoerichhoerich
    Posts: 627Member, Airtime Moderator

    Some of you may be interested in a side project of mine...http://youtu.be/vmVFb0I8mhk



    how cool is that?!?!?
    could you provide more info of this project?
    Do you use this with Airtime?
    And what is "OB"?

    I own a RaspberryPi and would love to implement this in our community radio studio!

    fg
    Official Airtime Forum Manager
    --------------------------
    Most of the time an issue is located between keyboard and chair.
  • I've not really got a huge amount of documentation written down but the project but I have used it personally at a couple of stations and others have given me good feedback. 

    It's web based (Node.JS) and runs in a full screen browser on the Pi. There's a small web based API that can be used to set the text of each of the tallies, turn them on and make them flash etc.  

    I don't currently use this directly with airtime, only the studio desk and playout (mAirlist) - but it shouldn't be too difficult to tie it into Airtime. 

    OB = Outside Broadcast. 

    I have got a RasPi disk image fully setup if anyone would like to try it. 
  • Vote Up0Vote Down hoerichhoerich
    Posts: 627Member, Airtime Moderator


    I have got a RasPi disk image fully setup if anyone would like to try it. 


    Yeah, I would like to have a copy of this image.
    I'll play around with mairlist and hope to be able to adopt it for airtime.

    Please let me know how you'll share the image. I could provide webspace/ftp if needed.

    and btw - Outside Broadcast is so useful!

    cheers
    Official Airtime Forum Manager
    --------------------------
    Most of the time an issue is located between keyboard and chair.