Files
IrSender2/commands.json
T

169 lines
4.8 KiB
JSON

{
"host": "0.0.0.0",
"port": 8082,
"max_body_bytes": 65536,
"commands": {
"mainLightOn": {
"description": "Send IR command mainLightOn.json",
"web_title": "Mainlight 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": {}
},
"mainLightOff": {
"description": "Send IR command mainLightOff.json",
"web_title": "Mainlight Off",
"web_enabled": true,
"api_key": "change-this-global-api-key",
"timeout_seconds": 10,
"command": ["python3", "ir_send.py", "/home/till/IrSender2/mainLightOff.json"],
"args": {}
},
"darker": {
"description": "Send IR command MainLightDark",
"web_title": "Mainlight Dark",
"web_enabled": true,
"api_key": "change-this-global-api-key",
"timeout_seconds": 10,
"command": ["python3", "ir_send.py", "/home/till/IrSender2/mainLightDark.json"],
"args": {}
},
"default-color": {
"description": "Send IR command MainLightBright.json",
"web_title": "Mainlight Bright",
"web_enabled": true,
"api_key": "change-this-global-api-key",
"timeout_seconds": 10,
"command": ["python3", "ir_send.py", "/home/till/IrSender2/mainLightBright.json"],
"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": {}
}
}
}