Forums › Forums › Other A&H products › AHM HTTP Command
Tagged: AHM NDI SPARK NEWTEK TCP IP API
- This topic has 4 replies, 4 voices, and was last updated 2 months ago by Kalle.
-
AuthorPosts
-
2024/08/14 at 9:12 am #124716DagzParticipant
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 commandhttp://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)
2024/08/20 at 7:31 am #124888Nicola A&HKeymasterHi 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.2024/08/30 at 4:29 pm #125139DagzParticipantHello 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.
2024/10/09 at 5:25 am #126298abridgeParticipantTake 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.2024/10/20 at 7:04 pm #126664KalleParticipantI 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.
-
AuthorPosts
- You must be logged in to reply to this topic.