forked from TillRepo/IrSender
Optimized for openhab
This commit is contained in:
+189
-136
@@ -3,186 +3,239 @@
|
|||||||
"port": 8082,
|
"port": 8082,
|
||||||
"max_body_bytes": 65536,
|
"max_body_bytes": 65536,
|
||||||
|
|
||||||
|
"api_key": "change-this-global-api-key",
|
||||||
|
|
||||||
"commands": {
|
"commands": {
|
||||||
|
|
||||||
"mainLightOn": {
|
"mainLightOn": {
|
||||||
"description": "Send IR command mainLightOn.json",
|
"description": "Send IR command mainLightOn.json",
|
||||||
"web_title": "Mainlight On",
|
"web_title": "Mainlight On",
|
||||||
"web_enabled": true,
|
"web_enabled": true,
|
||||||
"api_key": "change-this-global-api-key",
|
|
||||||
"timeout_seconds": 10,
|
"timeout_seconds": 10,
|
||||||
"command": ["python3", "ir_send.py", "/home/till/IrSender2/mainLightOn.json"],
|
"command": [
|
||||||
"args": {}
|
"python3",
|
||||||
|
"/home/till/IrSender2/ir_send.py",
|
||||||
|
"/home/till/IrSender2/mainLightOn.json"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
"mainLightOff": {
|
"mainLightOff": {
|
||||||
"description": "Send IR command mainLightOff.json",
|
"description": "Send IR command mainLightOff.json",
|
||||||
"web_title": "Mainlight Off",
|
"web_title": "Mainlight Off",
|
||||||
"web_enabled": true,
|
"web_enabled": true,
|
||||||
"api_key": "change-this-global-api-key",
|
|
||||||
"timeout_seconds": 10,
|
"timeout_seconds": 10,
|
||||||
"command": ["python3", "ir_send.py", "/home/till/IrSender2/mainLightOff.json"],
|
"command": [
|
||||||
"args": {}
|
"python3",
|
||||||
|
"/home/till/IrSender2/ir_send.py",
|
||||||
|
"/home/till/IrSender2/mainLightOff.json"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
"MainLightDark": {
|
"MainLightDark": {
|
||||||
"description": "Send IR command MainLightDark",
|
"description": "Send IR command MainLightDark",
|
||||||
"web_title": "Mainlight Dark",
|
"web_title": "Mainlight Dark",
|
||||||
"web_enabled": true,
|
"web_enabled": true,
|
||||||
"api_key": "change-this-global-api-key",
|
|
||||||
"timeout_seconds": 10,
|
"timeout_seconds": 10,
|
||||||
"command": ["python3", "ir_send.py", "/home/till/IrSender2/mainLightDark.json"],
|
"command": [
|
||||||
"args": {}
|
"python3",
|
||||||
|
"/home/till/IrSender2/ir_send.py",
|
||||||
|
"/home/till/IrSender2/mainLightDark.json"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
"MainLightBright": {
|
"MainLightBright": {
|
||||||
"description": "Send IR command MainLightBright.json",
|
"description": "Send IR command MainLightBright",
|
||||||
"web_title": "Mainlight Bright",
|
"web_title": "Mainlight Bright",
|
||||||
"web_enabled": true,
|
"web_enabled": true,
|
||||||
"api_key": "change-this-global-api-key",
|
|
||||||
"timeout_seconds": 10,
|
"timeout_seconds": 10,
|
||||||
"command": ["python3", "ir_send.py", "/home/till/IrSender2/mainLightBright.json"],
|
"command": [
|
||||||
"args": {}
|
"python3",
|
||||||
|
"/home/till/IrSender2/ir_send.py",
|
||||||
|
"/home/till/IrSender2/mainLightBright.json"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
"hektagonSwitch": {
|
"hektagonSwitch": {
|
||||||
"description": "Send IR command HektagonOn.json",
|
"description": "Send IR command HektagonOn",
|
||||||
"web_title": "Hektagon On/Off Switch",
|
"web_title": "Hektagon On/Off Switch",
|
||||||
"web_enabled": true,
|
"web_enabled": true,
|
||||||
"api_key": "change-this-global-api-key",
|
|
||||||
"timeout_seconds": 10,
|
"timeout_seconds": 10,
|
||||||
"command": ["python3", "ir_send.py", "/home/till/IrSender2/hektagonOn.json"],
|
"command": [
|
||||||
"args": {}
|
"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": {
|
"hektagonChangeColor": {
|
||||||
"description": "Send IR command hektagonRed.json",
|
"description": "Send IR command hektagonChangeColor",
|
||||||
"web_title": "hektagonRed",
|
"web_title": "Hektagon Change Color",
|
||||||
"web_enabled": true,
|
"web_enabled": true,
|
||||||
"api_key": "change-this-global-api-key",
|
"timeout_seconds": 10,
|
||||||
"timeout_seconds": 10,
|
"command": [
|
||||||
"command": ["python3", "ir_send.py", "/home/till/IrSender2/hektagonRed.json"],
|
"python3",
|
||||||
"args": {}
|
"/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": {
|
"hektagonRed": {
|
||||||
"description": "Send IR command hektagonGreen.json",
|
"description": "Send IR command hektagonRed",
|
||||||
"web_title": "hektagonGreen",
|
"web_title": "Hektagon Red",
|
||||||
"web_enabled": true,
|
"web_enabled": true,
|
||||||
"api_key": "change-this-global-api-key",
|
"timeout_seconds": 10,
|
||||||
"timeout_seconds": 10,
|
"command": [
|
||||||
"command": ["python3", "ir_send.py", "/home/till/IrSender2/hektagonGreen.json"],
|
"python3",
|
||||||
"args": {}
|
"/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": {
|
"hektagonBlue": {
|
||||||
"description": "Send IR command hektagonDarker.json",
|
"description": "Send IR command hektagonBlue",
|
||||||
"web_title": "hektagonDarker",
|
"web_title": "Hektagon Blue",
|
||||||
"web_enabled": true,
|
"web_enabled": true,
|
||||||
"api_key": "change-this-global-api-key",
|
"timeout_seconds": 10,
|
||||||
"timeout_seconds": 10,
|
"command": [
|
||||||
"command": ["python3", "ir_send.py", "/home/till/IrSender2/hektagonDarker.json"],
|
"python3",
|
||||||
"args": {}
|
"/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": {
|
"hektagonGreen": {
|
||||||
"description": "Send IR command hektagonMusic2.json",
|
"description": "Send IR command hektagonGreen",
|
||||||
"web_title": "hektagonMusic2",
|
"web_title": "Hektagon Green",
|
||||||
"web_enabled": true,
|
"web_enabled": true,
|
||||||
"api_key": "change-this-global-api-key",
|
"timeout_seconds": 10,
|
||||||
"timeout_seconds": 10,
|
"command": [
|
||||||
"command": ["python3", "ir_send.py", "/home/till/IrSender2/hektagonMusic2.json"],
|
"python3",
|
||||||
"args": {}
|
"/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": {
|
"hektagonBrighter": {
|
||||||
"description": "Send IR command hektagonSpeed.json",
|
"description": "Send IR command hektagonBrighter",
|
||||||
"web_title": "hektagonSpeed",
|
"web_title": "Hektagon Brighter",
|
||||||
"web_enabled": true,
|
"web_enabled": true,
|
||||||
"api_key": "change-this-global-api-key",
|
"timeout_seconds": 10,
|
||||||
"timeout_seconds": 10,
|
"command": [
|
||||||
"command": ["python3", "ir_send.py", "/home/till/IrSender2/hektagonSpeed.json"],
|
"python3",
|
||||||
"args": {}
|
"/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": {
|
"hektagonDarker": {
|
||||||
"description": "Send IR command hektagon Minus mode.json",
|
"description": "Send IR command hektagonDarker",
|
||||||
"web_title": "hektagon Minus mode",
|
"web_title": "Hektagon Darker",
|
||||||
"web_enabled": true,
|
"web_enabled": true,
|
||||||
"api_key": "change-this-global-api-key",
|
"timeout_seconds": 10,
|
||||||
"timeout_seconds": 10,
|
"command": [
|
||||||
"command": ["python3", "ir_send.py", "/home/till/IrSender2/hektagonMinusMode.json"],
|
"python3",
|
||||||
"args": {}
|
"/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