oas:api
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
oas:api [11.02.2019 12:54] – admin | oas:api [09.04.2021 11:41] – admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | #### OnAirScreen API / UDP Commands | + | #### OnAirScreen API / UDP / HTTP Commands |
- | OnAirScreen can receive API commands via UDP port 3310\\ | + | OnAirScreen can receive API commands via UDP default |
- | Here is an easy example on how to control a local OnAirScreen instance on a linux system. | + | Here is an easy UDP example on how to control a local OnAirScreen instance on a linux system. |
+ | |||
+ | <WRAP center round info 60%> | ||
+ | Replace the IP address with the IP address of your OnAirScreen. This will be shown in the first footer line of OnAirScreen after start. | ||
+ | </ | ||
Set LED1 Text to " | Set LED1 Text to " | ||
Line 14: | Line 19: | ||
oas_send.exe --ip 192.168.23.5 " | oas_send.exe --ip 192.168.23.5 " | ||
``` | ``` | ||
+ | |||
+ | ##### HTTP API | ||
+ | You can also pass commands to OAS via HTTP. Strings need to be urlencoded. | ||
+ | |||
+ | ``` | ||
+ | curl http:// | ||
+ | curl http:// | ||
+ | ``` | ||
+ | |||
##### API Commands | ##### API Commands |
oas/api.txt · Last modified: 30.01.2023 17:41 by admin