forked from TillRepo/IrSender
169 lines
4.8 KiB
JSON
169 lines
4.8 KiB
JSON
{
|
|
"host": "0.0.0.0",
|
|
"port": 8080,
|
|
"max_body_bytes": 65536,
|
|
|
|
"commands": {
|
|
"mainLightOn": {
|
|
"description": "Send IR command mainLightOn.json",
|
|
"web_title": "Main Light On",
|
|
"web_enabled": true,
|
|
"api_key": "change-this-global-api-key",
|
|
"timeout_seconds": 10,
|
|
"command": ["python3", "ir_send.py", "/home/till/IrSender2/mainLightOn.json"],
|
|
"args": {}
|
|
},
|
|
|
|
"brighter": {
|
|
"description": "Send IR command brighter.txt",
|
|
"web_title": "Brighter",
|
|
"web_enabled": true,
|
|
"api_key": "change-this-global-api-key",
|
|
"timeout_seconds": 10,
|
|
"command": ["ir-ctl", "--send", "/home/timm/IRSender/brighter.txt"],
|
|
"args": {}
|
|
},
|
|
|
|
"darker": {
|
|
"description": "Send IR command darker.txt",
|
|
"web_title": "Darker",
|
|
"web_enabled": true,
|
|
"api_key": "change-this-global-api-key",
|
|
"timeout_seconds": 10,
|
|
"command": ["ir-ctl", "--send", "/home/timm/IRSender/darker.txt"],
|
|
"args": {}
|
|
},
|
|
|
|
"default-color": {
|
|
"description": "Send IR command defaultColor.txt",
|
|
"web_title": "Default Color",
|
|
"web_enabled": true,
|
|
"api_key": "change-this-global-api-key",
|
|
"timeout_seconds": 10,
|
|
"command": ["ir-ctl", "--send", "/home/timm/IRSender/defaultColor.txt"],
|
|
"args": {}
|
|
},
|
|
|
|
"fade": {
|
|
"description": "Send IR command fade.txt",
|
|
"web_title": "Fade",
|
|
"web_enabled": true,
|
|
"api_key": "change-this-global-api-key",
|
|
"timeout_seconds": 10,
|
|
"command": ["ir-ctl", "--send", "/home/timm/IRSender/fade.txt"],
|
|
"args": {}
|
|
},
|
|
|
|
"green": {
|
|
"description": "Send IR command green.txt",
|
|
"web_title": "Green",
|
|
"web_enabled": true,
|
|
"api_key": "change-this-global-api-key",
|
|
"timeout_seconds": 10,
|
|
"command": ["ir-ctl", "--send", "/home/timm/IRSender/green.txt"],
|
|
"args": {}
|
|
},
|
|
|
|
"licht-aus": {
|
|
"description": "Send IR command LichtAus.txt",
|
|
"web_title": "Licht Aus",
|
|
"web_enabled": true,
|
|
"api_key": "change-this-global-api-key",
|
|
"timeout_seconds": 10,
|
|
"command": ["ir-ctl", "--send", "/home/timm/IRSender/LichtAus.txt"],
|
|
"args": {}
|
|
},
|
|
|
|
"licht-ein": {
|
|
"description": "Send IR command LichtEin.txt",
|
|
"web_title": "Licht Ein",
|
|
"web_enabled": true,
|
|
"api_key": "change-this-global-api-key",
|
|
"timeout_seconds": 10,
|
|
"command": ["ir-ctl", "--send", "/home/timm/IRSender/LichtEin.txt"],
|
|
"args": {}
|
|
},
|
|
|
|
"nachtlicht": {
|
|
"description": "Send IR command Nachtlicht.txt",
|
|
"web_title": "Nachtlicht",
|
|
"web_enabled": true,
|
|
"api_key": "change-this-global-api-key",
|
|
"timeout_seconds": 10,
|
|
"command": ["ir-ctl", "--send", "/home/timm/IRSender/Nachtlicht.txt"],
|
|
"args": {}
|
|
},
|
|
|
|
"off": {
|
|
"description": "Send IR command off.txt",
|
|
"web_title": "Off",
|
|
"web_enabled": true,
|
|
"api_key": "change-this-global-api-key",
|
|
"timeout_seconds": 10,
|
|
"command": ["ir-ctl", "--send", "/home/timm/IRSender/off.txt"],
|
|
"args": {}
|
|
},
|
|
|
|
"on": {
|
|
"description": "Send IR command on.txt",
|
|
"web_title": "On",
|
|
"web_enabled": true,
|
|
"api_key": "change-this-global-api-key",
|
|
"timeout_seconds": 10,
|
|
"command": ["ir-ctl", "--send", "/home/timm/IRSender/on.txt"],
|
|
"args": {}
|
|
},
|
|
|
|
"purple": {
|
|
"description": "Send IR command purple.txt",
|
|
"web_title": "Purple",
|
|
"web_enabled": true,
|
|
"api_key": "change-this-global-api-key",
|
|
"timeout_seconds": 10,
|
|
"command": ["ir-ctl", "--send", "/home/timm/IRSender/purple.txt"],
|
|
"args": {}
|
|
},
|
|
|
|
"red": {
|
|
"description": "Send IR command red.txt",
|
|
"web_title": "Red",
|
|
"web_enabled": true,
|
|
"api_key": "change-this-global-api-key",
|
|
"timeout_seconds": 10,
|
|
"command": ["ir-ctl", "--send", "/home/timm/IRSender/red.txt"],
|
|
"args": {}
|
|
},
|
|
|
|
"smooth": {
|
|
"description": "Send IR command smooth.txt",
|
|
"web_title": "Smooth",
|
|
"web_enabled": true,
|
|
"api_key": "change-this-global-api-key",
|
|
"timeout_seconds": 10,
|
|
"command": ["ir-ctl", "--send", "/home/timm/IRSender/smooth.txt"],
|
|
"args": {}
|
|
},
|
|
|
|
"white": {
|
|
"description": "Send IR command white.txt",
|
|
"web_title": "White",
|
|
"web_enabled": true,
|
|
"api_key": "change-this-global-api-key",
|
|
"timeout_seconds": 10,
|
|
"command": ["ir-ctl", "--send", "/home/timm/IRSender/white.txt"],
|
|
"args": {}
|
|
},
|
|
|
|
"yellow": {
|
|
"description": "Send IR command yellow.txt",
|
|
"web_title": "Yellow",
|
|
"web_enabled": true,
|
|
"api_key": "change-this-global-api-key",
|
|
"timeout_seconds": 10,
|
|
"command": ["ir-ctl", "--send", "/home/timm/IRSender/yellow.txt"],
|
|
"args": {}
|
|
}
|
|
}
|
|
}
|
|
|