forked from TillRepo/IrSender
241 lines
5.8 KiB
JSON
241 lines
5.8 KiB
JSON
{
|
|
"host": "0.0.0.0",
|
|
"port": 8082,
|
|
"max_body_bytes": 65536,
|
|
|
|
"api_key": "change-this-global-api-key",
|
|
|
|
"commands": {
|
|
|
|
"mainLightOn": {
|
|
"description": "Send IR command mainLightOn.json",
|
|
"web_title": "Mainlight On",
|
|
"web_enabled": true,
|
|
"timeout_seconds": 10,
|
|
"command": [
|
|
"python3",
|
|
"/home/till/IrSender2/ir_send.py",
|
|
"/home/till/IrSender2/mainLightOn.json"
|
|
]
|
|
},
|
|
|
|
"mainLightOff": {
|
|
"description": "Send IR command mainLightOff.json",
|
|
"web_title": "Mainlight Off",
|
|
"web_enabled": true,
|
|
"timeout_seconds": 10,
|
|
"command": [
|
|
"python3",
|
|
"/home/till/IrSender2/ir_send.py",
|
|
"/home/till/IrSender2/mainLightOff.json"
|
|
]
|
|
},
|
|
|
|
"MainLightDark": {
|
|
"description": "Send IR command MainLightDark",
|
|
"web_title": "Mainlight Dark",
|
|
"web_enabled": true,
|
|
"timeout_seconds": 10,
|
|
"command": [
|
|
"python3",
|
|
"/home/till/IrSender2/ir_send.py",
|
|
"/home/till/IrSender2/mainLightDark.json"
|
|
]
|
|
},
|
|
|
|
"MainLightBright": {
|
|
"description": "Send IR command MainLightBright",
|
|
"web_title": "Mainlight Bright",
|
|
"web_enabled": true,
|
|
"timeout_seconds": 10,
|
|
"command": [
|
|
"python3",
|
|
"/home/till/IrSender2/ir_send.py",
|
|
"/home/till/IrSender2/mainLightBright.json"
|
|
]
|
|
},
|
|
|
|
|
|
"hektagonSwitch": {
|
|
"description": "Send IR command HektagonOn",
|
|
"web_title": "Hektagon On/Off Switch",
|
|
"web_enabled": true,
|
|
"timeout_seconds": 10,
|
|
"command": [
|
|
"python3",
|
|
"/home/till/IrSender2/ir_send.py",
|
|
"/home/till/IrSender2/hektagonOn.json"
|
|
]
|
|
},
|
|
|
|
|
|
"hektagonChangeColor": {
|
|
"description": "Send IR command hektagonChangeColor",
|
|
"web_title": "Hektagon Change Color",
|
|
"web_enabled": true,
|
|
"timeout_seconds": 10,
|
|
"command": [
|
|
"python3",
|
|
"/home/till/IrSender2/ir_send.py",
|
|
"/home/till/IrSender2/hektagonChangeColor.json"
|
|
]
|
|
},
|
|
|
|
|
|
"hektagonRed": {
|
|
"description": "Send IR command hektagonRed",
|
|
"web_title": "Hektagon Red",
|
|
"web_enabled": true,
|
|
"timeout_seconds": 10,
|
|
"command": [
|
|
"python3",
|
|
"/home/till/IrSender2/ir_send.py",
|
|
"/home/till/IrSender2/hektagonRed.json"
|
|
]
|
|
},
|
|
|
|
|
|
"hektagonBlue": {
|
|
"description": "Send IR command hektagonBlue",
|
|
"web_title": "Hektagon Blue",
|
|
"web_enabled": true,
|
|
"timeout_seconds": 10,
|
|
"command": [
|
|
"python3",
|
|
"/home/till/IrSender2/ir_send.py",
|
|
"/home/till/IrSender2/hektagonBlue.json"
|
|
]
|
|
},
|
|
|
|
|
|
"hektagonGreen": {
|
|
"description": "Send IR command hektagonGreen",
|
|
"web_title": "Hektagon Green",
|
|
"web_enabled": true,
|
|
"timeout_seconds": 10,
|
|
"command": [
|
|
"python3",
|
|
"/home/till/IrSender2/ir_send.py",
|
|
"/home/till/IrSender2/hektagonGreen.json"
|
|
]
|
|
},
|
|
|
|
|
|
"hektagonBrighter": {
|
|
"description": "Send IR command hektagonBrighter",
|
|
"web_title": "Hektagon Brighter",
|
|
"web_enabled": true,
|
|
"timeout_seconds": 10,
|
|
"command": [
|
|
"python3",
|
|
"/home/till/IrSender2/ir_send.py",
|
|
"/home/till/IrSender2/hektagonBrighter.json"
|
|
]
|
|
},
|
|
|
|
|
|
"hektagonDarker": {
|
|
"description": "Send IR command hektagonDarker",
|
|
"web_title": "Hektagon Darker",
|
|
"web_enabled": true,
|
|
"timeout_seconds": 10,
|
|
"command": [
|
|
"python3",
|
|
"/home/till/IrSender2/ir_send.py",
|
|
"/home/till/IrSender2/hektagonDarker.json"
|
|
]
|
|
},
|
|
|
|
|
|
"hektagonMusic1": {
|
|
"description": "Send IR command hektagonMusic1",
|
|
"web_title": "Hektagon Music 1",
|
|
"web_enabled": true,
|
|
"timeout_seconds": 10,
|
|
"command": [
|
|
"python3",
|
|
"/home/till/IrSender2/ir_send.py",
|
|
"/home/till/IrSender2/hektagonMusic1.json"
|
|
]
|
|
},
|
|
|
|
|
|
"hektagonMusic2": {
|
|
"description": "Send IR command hektagonMusic2",
|
|
"web_title": "Hektagon Music 2",
|
|
"web_enabled": true,
|
|
"timeout_seconds": 10,
|
|
"command": [
|
|
"python3",
|
|
"/home/till/IrSender2/ir_send.py",
|
|
"/home/till/IrSender2/hektagonMusic2.json"
|
|
]
|
|
},
|
|
|
|
|
|
"hektagonMusic3": {
|
|
"description": "Send IR command hektagonMusic3",
|
|
"web_title": "Hektagon Music 3",
|
|
"web_enabled": true,
|
|
"timeout_seconds": 10,
|
|
"command": [
|
|
"python3",
|
|
"/home/till/IrSender2/ir_send.py",
|
|
"/home/till/IrSender2/hektagonMusic3.json"
|
|
]
|
|
},
|
|
|
|
|
|
"hektagonSpeed": {
|
|
"description": "Send IR command hektagonSpeed",
|
|
"web_title": "Hektagon Speed",
|
|
"web_enabled": true,
|
|
"timeout_seconds": 10,
|
|
"command": [
|
|
"python3",
|
|
"/home/till/IrSender2/ir_send.py",
|
|
"/home/till/IrSender2/hektagonSpeed.json"
|
|
]
|
|
},
|
|
|
|
|
|
"hektagonAuto": {
|
|
"description": "Send IR command hektagonAuto",
|
|
"web_title": "Hektagon Auto",
|
|
"web_enabled": true,
|
|
"timeout_seconds": 10,
|
|
"command": [
|
|
"python3",
|
|
"/home/till/IrSender2/ir_send.py",
|
|
"/home/till/IrSender2/hektagonAuto.json"
|
|
]
|
|
},
|
|
|
|
|
|
"hektagonMinusMode": {
|
|
"description": "Send IR command hektagonMinusMode",
|
|
"web_title": "Hektagon Minus Mode",
|
|
"web_enabled": true,
|
|
"timeout_seconds": 10,
|
|
"command": [
|
|
"python3",
|
|
"/home/till/IrSender2/ir_send.py",
|
|
"/home/till/IrSender2/hektagonMinusMode.json"
|
|
]
|
|
},
|
|
|
|
|
|
"hektagonPlusmode": {
|
|
"description": "Send IR command hektagonPlusMode",
|
|
"web_title": "Hektagon Plus Mode",
|
|
"web_enabled": true,
|
|
"timeout_seconds": 10,
|
|
"command": [
|
|
"python3",
|
|
"/home/till/IrSender2/ir_send.py",
|
|
"/home/till/IrSender2/hektagonPlusMode.json"
|
|
]
|
|
}
|
|
|
|
}
|
|
} |