Flic Home

    Community

    • Login
    • Search
    • Popular
    • Users

    Controlling QLab with the hub for buttons far away from the Mac

    Flic Hub
    2
    4
    103
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • MagAa
      MagAa last edited by

      Hello flic!
      Magnus from the National theatre of Norway here.
      I want to use some buttons in a play, so the actors can trigger cues in Qlab themselves.
      The buttons are too far away from the Mac to use bluetooth, so I thought I could set up a wifi network. QLab can receive osc-messages.

      I saw another reply in an old thread here quoting "EMIL" : think the easiest would be to just set up a http server on your computer and then use the Internet Request action on the Flic hub. Then your http server can then further make osc requests or whatever when a button event is received.

      But i´m no programmer, so how do I set up a server and how do I make this server send osc requests?

      I hope someone can help me. And I know that these buttons are wanted on other plays, if we can make them work with QLab!

      Magnus

      oskar 1 Reply Last reply Reply Quote 0
      • MagAa
        MagAa last edited by

        QLab is listening for osc on port 53000, and osc message is /cue/{cue_number}/go
        Here is the dictionary, if it helps.

        https://qlab.app/docs/v5/scripting/osc-dictionary-v5/

        For our use in the theatre, I think we'll mainly use this message. And then put buttons around for the actors to push.

        1 Reply Last reply Reply Quote 0
        • MagAa
          MagAa @oskar last edited by

          @oskar Hei Oskar!

          This is the scenario:
          We have two old telephones, I will trigger the ringing sound from QLab, and when the actor answers the phone, they will push a flic that plays a cue to stop the ringing.

          I have tried just with my Mac via Bluetooth (this works), but the phones will be to far away from the computer running Qlab.
          I can set up a local closed wifi network that only the mc and the hub are connected to.

          1 Reply Last reply Reply Quote 0
          • oskar
            oskar FlicTeam @MagAa last edited by

            @MagAa Hi!

            I think there should be a way to solve the issue you are having, but yes it would require some programming, but if I know more about the specific scenario maybe I can help!

            The main question is what you would like to use instead of a computer to connect the button to, are you thinking a phone or a Flic Hub?

            In the case of the Flic Hub, it will probably be possible to write a script using our Flic Hub SDK (https://flic.io/flic-hub-sdk) that will send a specific OSC command to a host.

            If you want to use a phone, you will have to use the approach suggested by emil and run an HTTP server on a computer somewhere that translates the messages to OSC. This will probably be a bit more complicated.

            MagAa 1 Reply Last reply Reply Quote 0
            • First post
              Last post