forked from TillRepo/IrSender
Optimized for openhab
This commit is contained in:
+189
-136
@@ -3,186 +3,239 @@
|
||||
"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,
|
||||
"api_key": "change-this-global-api-key",
|
||||
"timeout_seconds": 10,
|
||||
"command": ["python3", "ir_send.py", "/home/till/IrSender2/mainLightOn.json"],
|
||||
"args": {}
|
||||
"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,
|
||||
"api_key": "change-this-global-api-key",
|
||||
"timeout_seconds": 10,
|
||||
"command": ["python3", "ir_send.py", "/home/till/IrSender2/mainLightOff.json"],
|
||||
"args": {}
|
||||
"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,
|
||||
"api_key": "change-this-global-api-key",
|
||||
"timeout_seconds": 10,
|
||||
"command": ["python3", "ir_send.py", "/home/till/IrSender2/mainLightDark.json"],
|
||||
"args": {}
|
||||
"command": [
|
||||
"python3",
|
||||
"/home/till/IrSender2/ir_send.py",
|
||||
"/home/till/IrSender2/mainLightDark.json"
|
||||
]
|
||||
},
|
||||
|
||||
"MainLightBright": {
|
||||
"description": "Send IR command MainLightBright.json",
|
||||
"description": "Send IR command MainLightBright",
|
||||
"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": {}
|
||||
"command": [
|
||||
"python3",
|
||||
"/home/till/IrSender2/ir_send.py",
|
||||
"/home/till/IrSender2/mainLightBright.json"
|
||||
]
|
||||
},
|
||||
|
||||
|
||||
|
||||
"hektagonSwitch": {
|
||||
"description": "Send IR command HektagonOn.json",
|
||||
"description": "Send IR command HektagonOn",
|
||||
"web_title": "Hektagon On/Off Switch",
|
||||
"web_enabled": true,
|
||||
"api_key": "change-this-global-api-key",
|
||||
"timeout_seconds": 10,
|
||||
"command": ["python3", "ir_send.py", "/home/till/IrSender2/hektagonOn.json"],
|
||||
"args": {}
|
||||
"command": [
|
||||
"python3",
|
||||
"/home/till/IrSender2/ir_send.py",
|
||||
"/home/till/IrSender2/hektagonOn.json"
|
||||
]
|
||||
},
|
||||
|
||||
|
||||
"hektagonChangeColor": {
|
||||
"description": "Send IR command hektagonChangeColor.json",
|
||||
"web_title": "hektagonChangeColor",
|
||||
"web_enabled": true,
|
||||
"api_key": "change-this-global-api-key",
|
||||
"timeout_seconds": 10,
|
||||
"command": ["python3", "ir_send.py", "/home/till/IrSender2/hektagonChangeColor.json"],
|
||||
"args": {}
|
||||
},
|
||||
|
||||
"hektagonRed": {
|
||||
"description": "Send IR command hektagonRed.json",
|
||||
"web_title": "hektagonRed",
|
||||
"web_enabled": true,
|
||||
"api_key": "change-this-global-api-key",
|
||||
"timeout_seconds": 10,
|
||||
"command": ["python3", "ir_send.py", "/home/till/IrSender2/hektagonRed.json"],
|
||||
"args": {}
|
||||
},
|
||||
"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"
|
||||
]
|
||||
},
|
||||
|
||||
"hektagonBlue": {
|
||||
"description": "Send IR command hektagonBlue.json",
|
||||
"web_title": "hektagonBlue",
|
||||
"web_enabled": true,
|
||||
"api_key": "change-this-global-api-key",
|
||||
"timeout_seconds": 10,
|
||||
"command": ["python3", "ir_send.py", "/home/till/IrSender2/hektagonBlue.json"],
|
||||
"args": {}
|
||||
},
|
||||
|
||||
"hektagonGreen": {
|
||||
"description": "Send IR command hektagonGreen.json",
|
||||
"web_title": "hektagonGreen",
|
||||
"web_enabled": true,
|
||||
"api_key": "change-this-global-api-key",
|
||||
"timeout_seconds": 10,
|
||||
"command": ["python3", "ir_send.py", "/home/till/IrSender2/hektagonGreen.json"],
|
||||
"args": {}
|
||||
},
|
||||
"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"
|
||||
]
|
||||
},
|
||||
|
||||
"hektagonBrighter": {
|
||||
"description": "Send IR command hektagonBrighter.json",
|
||||
"web_title": "hektagonBrighter",
|
||||
"web_enabled": true,
|
||||
"api_key": "change-this-global-api-key",
|
||||
"timeout_seconds": 10,
|
||||
"command": ["python3", "ir_send.py", "/home/till/IrSender2/hektagonBrighter.json"],
|
||||
"args": {}
|
||||
},
|
||||
|
||||
"hektagonDarker": {
|
||||
"description": "Send IR command hektagonDarker.json",
|
||||
"web_title": "hektagonDarker",
|
||||
"web_enabled": true,
|
||||
"api_key": "change-this-global-api-key",
|
||||
"timeout_seconds": 10,
|
||||
"command": ["python3", "ir_send.py", "/home/till/IrSender2/hektagonDarker.json"],
|
||||
"args": {}
|
||||
},
|
||||
"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"
|
||||
]
|
||||
},
|
||||
|
||||
"hektagonMusic1": {
|
||||
"description": "Send IR command hektagonMusic1.json",
|
||||
"web_title": "hektagonMusic1",
|
||||
"web_enabled": true,
|
||||
"api_key": "change-this-global-api-key",
|
||||
"timeout_seconds": 10,
|
||||
"command": ["python3", "ir_send.py", "/home/till/IrSender2/hektagonMusic1.json"],
|
||||
"args": {}
|
||||
},
|
||||
|
||||
"hektagonMusic2": {
|
||||
"description": "Send IR command hektagonMusic2.json",
|
||||
"web_title": "hektagonMusic2",
|
||||
"web_enabled": true,
|
||||
"api_key": "change-this-global-api-key",
|
||||
"timeout_seconds": 10,
|
||||
"command": ["python3", "ir_send.py", "/home/till/IrSender2/hektagonMusic2.json"],
|
||||
"args": {}
|
||||
},
|
||||
"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"
|
||||
]
|
||||
},
|
||||
|
||||
"hektagonMusic3": {
|
||||
"description": "Send IR command hektagonMusic3.json",
|
||||
"web_title": "hektagonMusic3",
|
||||
"web_enabled": true,
|
||||
"api_key": "change-this-global-api-key",
|
||||
"timeout_seconds": 10,
|
||||
"command": ["python3", "ir_send.py", "/home/till/IrSender2/hektagonMusic3.json"],
|
||||
"args": {}
|
||||
},
|
||||
|
||||
"hektagonSpeed": {
|
||||
"description": "Send IR command hektagonSpeed.json",
|
||||
"web_title": "hektagonSpeed",
|
||||
"web_enabled": true,
|
||||
"api_key": "change-this-global-api-key",
|
||||
"timeout_seconds": 10,
|
||||
"command": ["python3", "ir_send.py", "/home/till/IrSender2/hektagonSpeed.json"],
|
||||
"args": {}
|
||||
},
|
||||
"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"
|
||||
]
|
||||
},
|
||||
|
||||
"hektagonAuto": {
|
||||
"description": "Send IR command hektagonAuto.json",
|
||||
"web_title": "hektagonAuto",
|
||||
"web_enabled": true,
|
||||
"api_key": "change-this-global-api-key",
|
||||
"timeout_seconds": 10,
|
||||
"command": ["python3", "ir_send.py", "/home/till/IrSender2/hektagonAuto.json"],
|
||||
"args": {}
|
||||
},
|
||||
|
||||
"hektagonMinusMode": {
|
||||
"description": "Send IR command hektagon Minus mode.json",
|
||||
"web_title": "hektagon Minus mode",
|
||||
"web_enabled": true,
|
||||
"api_key": "change-this-global-api-key",
|
||||
"timeout_seconds": 10,
|
||||
"command": ["python3", "ir_send.py", "/home/till/IrSender2/hektagonMinusMode.json"],
|
||||
"args": {}
|
||||
},
|
||||
"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"
|
||||
]
|
||||
}
|
||||
|
||||
"hektagonPlusmode": {
|
||||
"description": "Send IR command hektagonPlusMode.json",
|
||||
"web_title": "hektagon Plusmode",
|
||||
"web_enabled": true,
|
||||
"api_key": "change-this-global-api-key",
|
||||
"timeout_seconds": 10,
|
||||
"command": ["python3", "ir_send.py", "/home/till/IrSender2/hektagonPlusMode.json"],
|
||||
"args": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user