From b2f2a17bed3f5849fe5185fa191ba8014a3f5fb7 Mon Sep 17 00:00:00 2001 From: Homelab Cursor Date: Sat, 1 Aug 2026 18:58:08 +0200 Subject: [PATCH] hermes: Shelly plug_50 als Anwesenheit simulieren + Aliase --- infra/hermes/shelly_mcp.py | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/infra/hermes/shelly_mcp.py b/infra/hermes/shelly_mcp.py index 891192806..ae64de18c 100755 --- a/infra/hermes/shelly_mcp.py +++ b/infra/hermes/shelly_mcp.py @@ -84,10 +84,22 @@ DEVICES: dict[str, dict] = { }, "plug_50": { "ip": "192.168.178.50", - "name": "Shelly Plug MG3", + "name": "Anwesenheit simulieren", "gen": 3, "kind": "switch", - "aliases": ["plug_50", "shelly_50", "plug50", "steckdose_50", "mg3"], + "aliases": [ + "plug_50", + "shelly_50", + "plug50", + "steckdose_50", + "mg3", + "anwesenheit", + "anwesenheit_simulieren", + "anwesenheitssimulation", + "praesenz", + "praesenzsimulation", + "presence", + ], }, } @@ -435,7 +447,7 @@ TOOLS = [ "description": ( "Live-Status eines Shellys (Rollo-Position, Relay, Sensor-Temps). " "Ziel per Alias/IP/Name: kueche, computerraum, gaestezimmer, bad_unten, " - "garagentor, haustuer, garage_decke_a/b, plug_50." + "garagentor, haustuer, garage_decke_a/b, plug_50 / anwesenheit." ), "inputSchema": { "type": "object", @@ -497,7 +509,7 @@ TOOLS = [ "name": "shelly_switch", "description": ( "Schaltet einen Shelly-Plug/Switch (on|off|toggle). " - "Ziel z.B. plug_50 / 192.168.178.50 / Shelly Plug MG3." + "Ziel z.B. plug_50 / anwesenheit / Anwesenheit simulieren / 192.168.178.50." ), "inputSchema": { "type": "object",