User Tools

Site Tools


oas:api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
oas:api [13.01.2022 11:32] adminoas:api [28.01.2022 17:09] admin
Line 22: Line 22:
 oas_send.exe --ip 192.168.23.5 "LED1:ON" oas_send.exe --ip 192.168.23.5 "LED1:ON"
 ``` ```
-<markdown> 
  
 ##### HTTP API ##### HTTP API
 You can also pass commands to OAS via HTTP. Strings need to be urlencoded. You can also pass commands to OAS via HTTP. Strings need to be urlencoded.
-</markdown>+
  
 ``` ```
Line 32: Line 31:
 curl http://127.0.0.1:8010/?cmd=NOW:You%20are%20listening%20to%20Queen%20-%20Show%20must%20go%20on curl http://127.0.0.1:8010/?cmd=NOW:You%20are%20listening%20to%20Queen%20-%20Show%20must%20go%20on
 ``` ```
- 
  
 ##### API Commands ##### API Commands
Line 60: Line 58:
 `CONF:General:stationcolor=COLOR`   `CONF:General:stationcolor=COLOR`  
 `CONF:General:slogancolor=COLOR`   `CONF:General:slogancolor=COLOR`  
 +`CONF:General:replacenow=[False|True]`  
 +`CONF:General:replacenowtext=TEXT`  
 `CONF:LED[1-4]:used=[False|True]`   `CONF:LED[1-4]:used=[False|True]`  
 `CONF:LED[1-4]:text=TEXT`   `CONF:LED[1-4]:text=TEXT`  
Line 66: Line 66:
 `CONF:LED[1-4]:autoflash=[False|True]`   `CONF:LED[1-4]:autoflash=[False|True]`  
 `CONF:LED[1-4]:timedflash=[False|True]`   `CONF:LED[1-4]:timedflash=[False|True]`  
 +`CONF:Timers:TimerAIR[1-4]Enabled=[False|True]`  
 +`CONF:Timers:TimerAIR[1-4]Text=TEXT`  
 +`CONF:Timers:AIR[1-4]activebgcolor=COLOR`  
 +`CONF:Timers:AIR[1-4]activetextcolor=COLOR`  
 `CONF:Clock:digital=[True|False]`   `CONF:Clock:digital=[True|False]`  
 `CONF:Clock:showseconds=[True|False]`   `CONF:Clock:showseconds=[True|False]`  
oas/api.txt · Last modified: 30.01.2023 17:41 by admin