Manually trigger emergency or announcement

Comments

9 comments

  • Avatar
    Darius Aleksas

    You can have an empty placeholder sitting on the top of all the content. you can place you 'emergency' content there and schedule it or simply turn this layer on or off whenever needed.

    1
    Comment actions Permalink
  • Avatar
    Chase Wells

    Thanks Darius, sounds like it should work for me.  

    0
    Comment actions Permalink
  • Avatar
    Eric Ochoa

    Yes, we do it with a Discord bot created in Python.  I can send an alert to all projectors with a simple command =D

    0
    Comment actions Permalink
  • Avatar
    Jim Johnston

    Hey Eric, can you tell us a little more about your setup? I'm interested in how you get Python to communicate with an instance of RV.

    0
    Comment actions Permalink
  • Avatar
    Eric Ochoa

    One of the services guys at id Software wrote it from scratch using a discord python wrapper/api thing. I'll poke around and see if there's a way I can get you maybe a copy of it.

    1
    Comment actions Permalink
  • Avatar
    Jim Johnston

    Sweet!

    0
    Comment actions Permalink
  • Avatar
    Eric Ochoa

    So you just basically need a programmer to get you a bot in discord that can take a command with 3 variables, form XML, and shoot it back to your alert URL

     

    The bot formats this

    <alert xmlns = 'urn:oasis:names:tc:emergency:cap:1.2'><identifier>1</identifier><sender>quakecon.org</sender><sent></sent><status>Actual</status><msgType>Alert</msgType><scope>Public</scope><info><category>Safety</category><event>test event</event><urgency>Immediate</urgency><severity>Severe</severity><certainty>Observed</certainty><headline></headline><description></description><instruction></instruction></info></alert>

     

    And sends it to the alert url defined in rise

    1
    Comment actions Permalink
  • Avatar
    Eric Ochoa

    The 3 things you change are headline, description, and instruction.  leave everything else alone.

    1
    Comment actions Permalink
  • Avatar
    Jim Johnston

    Hey Eric only just saw this! Thanks for the info. Will give it a go over the weekend.

    0
    Comment actions Permalink

Please sign in to leave a comment.