Optimized for openhab

This commit is contained in:
2026-06-28 15:56:35 +00:00
parent 0146c940e0
commit e7facfb002
+135 -82
View File
@@ -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": { "hektagonChangeColor": {
"description": "Send IR command hektagonChangeColor.json", "description": "Send IR command hektagonChangeColor",
"web_title": "hektagonChangeColor", "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": ["python3", "ir_send.py", "/home/till/IrSender2/hektagonChangeColor.json"], "command": [
"args": {} "python3",
"/home/till/IrSender2/ir_send.py",
"/home/till/IrSender2/hektagonChangeColor.json"
]
}, },
"hektagonRed": { "hektagonRed": {
"description": "Send IR command hektagonRed.json", "description": "Send IR command hektagonRed",
"web_title": "hektagonRed", "web_title": "Hektagon Red",
"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/hektagonRed.json"], "command": [
"args": {} "python3",
"/home/till/IrSender2/ir_send.py",
"/home/till/IrSender2/hektagonRed.json"
]
}, },
"hektagonBlue": { "hektagonBlue": {
"description": "Send IR command hektagonBlue.json", "description": "Send IR command hektagonBlue",
"web_title": "hektagonBlue", "web_title": "Hektagon Blue",
"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/hektagonBlue.json"], "command": [
"args": {} "python3",
"/home/till/IrSender2/ir_send.py",
"/home/till/IrSender2/hektagonBlue.json"
]
}, },
"hektagonGreen": { "hektagonGreen": {
"description": "Send IR command hektagonGreen.json", "description": "Send IR command hektagonGreen",
"web_title": "hektagonGreen", "web_title": "Hektagon Green",
"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/hektagonGreen.json"], "command": [
"args": {} "python3",
"/home/till/IrSender2/ir_send.py",
"/home/till/IrSender2/hektagonGreen.json"
]
}, },
"hektagonBrighter": { "hektagonBrighter": {
"description": "Send IR command hektagonBrighter.json", "description": "Send IR command hektagonBrighter",
"web_title": "hektagonBrighter", "web_title": "Hektagon Brighter",
"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/hektagonBrighter.json"], "command": [
"args": {} "python3",
"/home/till/IrSender2/ir_send.py",
"/home/till/IrSender2/hektagonBrighter.json"
]
}, },
"hektagonDarker": { "hektagonDarker": {
"description": "Send IR command hektagonDarker.json", "description": "Send IR command hektagonDarker",
"web_title": "hektagonDarker", "web_title": "Hektagon Darker",
"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/hektagonDarker.json"], "command": [
"args": {} "python3",
"/home/till/IrSender2/ir_send.py",
"/home/till/IrSender2/hektagonDarker.json"
]
}, },
"hektagonMusic1": { "hektagonMusic1": {
"description": "Send IR command hektagonMusic1.json", "description": "Send IR command hektagonMusic1",
"web_title": "hektagonMusic1", "web_title": "Hektagon Music 1",
"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/hektagonMusic1.json"], "command": [
"args": {} "python3",
"/home/till/IrSender2/ir_send.py",
"/home/till/IrSender2/hektagonMusic1.json"
]
}, },
"hektagonMusic2": { "hektagonMusic2": {
"description": "Send IR command hektagonMusic2.json", "description": "Send IR command hektagonMusic2",
"web_title": "hektagonMusic2", "web_title": "Hektagon Music 2",
"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/hektagonMusic2.json"], "command": [
"args": {} "python3",
"/home/till/IrSender2/ir_send.py",
"/home/till/IrSender2/hektagonMusic2.json"
]
}, },
"hektagonMusic3": { "hektagonMusic3": {
"description": "Send IR command hektagonMusic3.json", "description": "Send IR command hektagonMusic3",
"web_title": "hektagonMusic3", "web_title": "Hektagon Music 3",
"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/hektagonMusic3.json"], "command": [
"args": {} "python3",
"/home/till/IrSender2/ir_send.py",
"/home/till/IrSender2/hektagonMusic3.json"
]
}, },
"hektagonSpeed": { "hektagonSpeed": {
"description": "Send IR command hektagonSpeed.json", "description": "Send IR command hektagonSpeed",
"web_title": "hektagonSpeed", "web_title": "Hektagon Speed",
"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/hektagonSpeed.json"], "command": [
"args": {} "python3",
"/home/till/IrSender2/ir_send.py",
"/home/till/IrSender2/hektagonSpeed.json"
]
}, },
"hektagonAuto": { "hektagonAuto": {
"description": "Send IR command hektagonAuto.json", "description": "Send IR command hektagonAuto",
"web_title": "hektagonAuto", "web_title": "Hektagon Auto",
"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/hektagonAuto.json"], "command": [
"args": {} "python3",
"/home/till/IrSender2/ir_send.py",
"/home/till/IrSender2/hektagonAuto.json"
]
}, },
"hektagonMinusMode": { "hektagonMinusMode": {
"description": "Send IR command hektagon Minus mode.json", "description": "Send IR command hektagonMinusMode",
"web_title": "hektagon Minus mode", "web_title": "Hektagon Minus Mode",
"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/hektagonMinusMode.json"], "command": [
"args": {} "python3",
"/home/till/IrSender2/ir_send.py",
"/home/till/IrSender2/hektagonMinusMode.json"
]
}, },
"hektagonPlusmode": { "hektagonPlusmode": {
"description": "Send IR command hektagonPlusMode.json", "description": "Send IR command hektagonPlusMode",
"web_title": "hektagon Plusmode", "web_title": "Hektagon Plus Mode",
"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/hektagonPlusMode.json"], "command": [
"args": {} "python3",
"/home/till/IrSender2/ir_send.py",
"/home/till/IrSender2/hektagonPlusMode.json"
]
} }
} }
} }