From b79d240cbe5e5aa15862aa6d05703af2a650f1fa Mon Sep 17 00:00:00 2001 From: Home Assistant Version Control Date: Tue, 28 Jul 2026 19:45:27 +0000 Subject: [PATCH] .ha_mcp/logs/mcp_usage.jsonl, configuration.yaml --- .ha_mcp/logs/mcp_usage.jsonl | 1 + configuration.yaml | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index d8ad53f..015b75b 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -184,3 +184,4 @@ {"timestamp": "2026-07-28T19:44:40.300478+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "shell_command", "service": "reload", "entity_id": null, "data": null, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 80.6727409362793, "success": true, "error_message": null, "response_size_bytes": 175, "user_context": null} {"timestamp": "2026-07-28T19:44:45.916090+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "shell_command", "service": "test_supervisor", "entity_id": null, "data": null, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 46.57411575317383, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"SERVICE_CALL_FAILED\",\n \"message\": \"API error: 500 - 500 Internal Server Error\\n\\nServer got itself in trouble\",\n \"suggestion\": \"Specify an entity_id for targeted service calls\",\n \"suggestions\": [\n \"Specify an entity_id for targeted service calls\",\n \"Check available services for shell_command domain using ha_get_skill_guide\",\n \"Use ha_search() to find correct entity IDs\"\n ]\n },\n \"domain\": \"shell_command\",\n \"service\": \"test_supervisor\",\n \"entity_id\": null\n}", "response_size_bytes": null, "user_context": null} {"timestamp": "2026-07-28T19:44:48.769761+00:00", "tool_name": "ha_get_logs", "parameters": {"source": "system", "limit": null, "search": null, "order": "newest", "hours_back": 1, "entity_id": null, "end_time": null, "offset": 0, "compact": true, "level": "ERROR", "slug": null}, "execution_time_ms": 5.524158477783203, "success": true, "error_message": null, "response_size_bytes": 48432, "user_context": null} +{"timestamp": "2026-07-28T19:45:26.250228+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "shell_command", "service": "reload", "entity_id": null, "data": null, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 75.7596492767334, "success": true, "error_message": null, "response_size_bytes": 175, "user_context": null} diff --git a/configuration.yaml b/configuration.yaml index 868d7a1..4df968f 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -6,8 +6,6 @@ utility_meter: # Shell Commands shell_command: - test_supervisor: 'echo "token_set: $( [ -n \"$SUPERVISOR_TOKEN\" ] && echo yes || echo no )" > /media/test_env.txt && echo "token_len: ${#SUPERVISOR_TOKEN}" >> /media/test_env.txt && curl -v -o /media/test_supervisor.png "http://supervisor/core/api/camera_proxy/camera.hallway_hallway_camera" -H "Authorization: Bearer $SUPERVISOR_TOKEN" >> /media/test_env.txt 2>&1; echo "exit: $?" >> /media/test_env.txt' - download_camera_image: 'curl -s -o {{ media_path }} "http://supervisor/core/api/camera_proxy/camera.hallway_hallway_camera" -H "Authorization: Bearer $SUPERVISOR_TOKEN" && cp {{ media_path }} {{ www_path }}' cleanup_blink_snapshots: "find /media /config/www -name 'blink_*.jpg' -mmin +360 -delete" # Load ffmpeg