AHM HTTP Command

Forums Forums Other A&H products AHM HTTP Command

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #124716
    Profile photo of DagzDagz
    Participant

    Hello to the Allen&Heath community,

    I need help with the IP commands that can be executed with the AHM.

    My A/V system is equipped with NDI SPARK PLUS hardware for video.
    The NDI SPARK PLUS has 9 Presets that can be recalled using this API command

    http://spark-ip/api/decoderMode/current/add.json?id=# (# being the preset number)

    This command works perfectly when I enter it from my internet browser or from the Windows terminal.
    But it doesn’t work when it comes back from the AHM.

    My final goal is to be able to recall presets from the CUSTOM CONTROL application for selection and display different video sources.

    Can anyone help me find the right script to make this command work?
    Or tell me why this HTTP command is not responding from the AHM?

    (I’m a newbie to commands and scripts, sorry if these questions seem easy)

    #124888
    Profile photo of Nicola A&HNicola A&H
    Keymaster

    Hi Dagz,

    AHM and Custom Control don’t handle outgoing HTTP. They can only send a TCP or UDP string to a specific IP address. In technical terms, these strings are at transport layer whereas HTTP operates at the application layer.
    See if the NDI system accepts any other protocol or GPI. If it doesn’t, you could look at a computer or Raspberry Pi translating in between, but that would require some programming experience.

    #125139
    Profile photo of DagzDagz
    Participant

    Hello Nicola,

    Thank you very much for your response.
    I understand better now, and with the advice of a friend who is helping me with programming, i indeed chose the Raspberry option, wich serves as an interface and “convert” strings into HTTP request.

    One last question: Is it possible that the ability to send HTTP requests directly could be added to the AHM in a future update ?
    Or is it technically impossible due to its components ?

    This could be interesting for having full control over an A/V system without needing complex programming and by using simple API controls like the NDI Spark.

    #126298
    Profile photo of abridgeabridge
    Participant

    Take a look at Bitfocus.io It integrates to dLIVE, SQ, AHM and many other systems. I dont like the idea of a middleman, but it works well.
    I send TCP commands to control a virtuel switch on BitFocus, that in turn controls other systems.

    #126664
    Profile photo of KalleKalle
    Participant

    I made a small server with a Raspberry pi wich listen to incoming udp messages.
    Wich sends osc, wake on lan, http, Samsung tv Control, lg tv Control, Radio stationcontrol even trigger gpo-s and so on…
    so i can use the ahm custom Control to do multiple actions to multiple devices at once.

    I Never looked at bitfocus companion, Maybe it works Kind of the Same.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.