add mainlight functionality

This commit is contained in:
2026-06-23 14:11:15 +00:00
parent 5008941eb0
commit 607eef8e96
+11 -11
View File
@@ -6,7 +6,7 @@
"commands": { "commands": {
"mainLightOn": { "mainLightOn": {
"description": "Send IR command mainLightOn.json", "description": "Send IR command mainLightOn.json",
"web_title": "Main Light On", "web_title": "Mainlight On",
"web_enabled": true, "web_enabled": true,
"api_key": "change-this-global-api-key", "api_key": "change-this-global-api-key",
"timeout_seconds": 10, "timeout_seconds": 10,
@@ -14,33 +14,33 @@
"args": {} "args": {}
}, },
"brighter": { "mainLightOff": {
"description": "Send IR command brighter.txt", "description": "Send IR command mainLightOff.json",
"web_title": "Brighter", "web_title": "Mainlight Off",
"web_enabled": true, "web_enabled": true,
"api_key": "change-this-global-api-key", "api_key": "change-this-global-api-key",
"timeout_seconds": 10, "timeout_seconds": 10,
"command": ["ir-ctl", "--send", "/home/timm/IRSender/brighter.txt"], "command": ["python3", "ir_send.py", "/home/till/IrSender2/mainLightOff.json"],
"args": {} "args": {}
}, },
"darker": { "darker": {
"description": "Send IR command darker.txt", "description": "Send IR command MainLightDark",
"web_title": "Darker", "web_title": "Mainlight Dark",
"web_enabled": true, "web_enabled": true,
"api_key": "change-this-global-api-key", "api_key": "change-this-global-api-key",
"timeout_seconds": 10, "timeout_seconds": 10,
"command": ["ir-ctl", "--send", "/home/timm/IRSender/darker.txt"], "command": ["python3", "ir_send.py", "/home/till/IrSender2/mainLightDark.json"],
"args": {} "args": {}
}, },
"default-color": { "default-color": {
"description": "Send IR command defaultColor.txt", "description": "Send IR command MainLightBright.json",
"web_title": "Default Color", "web_title": "Mainlight Bright",
"web_enabled": true, "web_enabled": true,
"api_key": "change-this-global-api-key", "api_key": "change-this-global-api-key",
"timeout_seconds": 10, "timeout_seconds": 10,
"command": ["ir-ctl", "--send", "/home/timm/IRSender/defaultColor.txt"], "command": ["python3", "ir_send.py", "/home/till/IrSender2/mainLightBright.json"],
"args": {} "args": {}
}, },