From 607eef8e96ff05be18595ebe10cc7f63b2b8601c Mon Sep 17 00:00:00 2001 From: Till Immer Date: Tue, 23 Jun 2026 14:11:15 +0000 Subject: [PATCH] add mainlight functionality --- commands.json | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/commands.json b/commands.json index 29ac8d9..8734691 100644 --- a/commands.json +++ b/commands.json @@ -6,7 +6,7 @@ "commands": { "mainLightOn": { "description": "Send IR command mainLightOn.json", - "web_title": "Main Light On", + "web_title": "Mainlight On", "web_enabled": true, "api_key": "change-this-global-api-key", "timeout_seconds": 10, @@ -14,33 +14,33 @@ "args": {} }, - "brighter": { - "description": "Send IR command brighter.txt", - "web_title": "Brighter", + "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": ["ir-ctl", "--send", "/home/timm/IRSender/brighter.txt"], + "command": ["python3", "ir_send.py", "/home/till/IrSender2/mainLightOff.json"], "args": {} }, "darker": { - "description": "Send IR command darker.txt", - "web_title": "Darker", + "description": "Send IR command MainLightDark", + "web_title": "Mainlight Dark", "web_enabled": true, "api_key": "change-this-global-api-key", "timeout_seconds": 10, - "command": ["ir-ctl", "--send", "/home/timm/IRSender/darker.txt"], + "command": ["python3", "ir_send.py", "/home/till/IrSender2/mainLightDark.json"], "args": {} }, "default-color": { - "description": "Send IR command defaultColor.txt", - "web_title": "Default Color", + "description": "Send IR command MainLightBright.json", + "web_title": "Mainlight Bright", "web_enabled": true, "api_key": "change-this-global-api-key", "timeout_seconds": 10, - "command": ["ir-ctl", "--send", "/home/timm/IRSender/defaultColor.txt"], + "command": ["python3", "ir_send.py", "/home/till/IrSender2/mainLightBright.json"], "args": {} },