.ha_mcp/logs/mcp_usage.jsonl, configuration.yaml

This commit is contained in:
Home Assistant Version Control
2026-07-28 19:43:57 +00:00
parent d8a42d02be
commit eb9a3b818e
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -177,3 +177,4 @@
{"timestamp": "2026-07-28T19:42:52.258423+00:00", "tool_name": "ha_get_logs", "parameters": {"source": "system", "limit": null, "search": "shell_command", "order": "newest", "hours_back": 2, "entity_id": null, "end_time": null, "offset": 0, "compact": true, "level": null, "slug": null}, "execution_time_ms": 23.170948028564453, "success": true, "error_message": null, "response_size_bytes": 1325, "user_context": null}
{"timestamp": "2026-07-28T19:43:35.781829+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": 73.29487800598145, "success": true, "error_message": null, "response_size_bytes": 175, "user_context": null}
{"timestamp": "2026-07-28T19:43:38.959856+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "shell_command", "service": "test_curl", "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": 45.85671424865723, "success": true, "error_message": null, "response_size_bytes": 181, "user_context": null}
{"timestamp": "2026-07-28T19:43:49.908632+00:00", "tool_name": "ha_get_logs", "parameters": {"source": "system", "limit": null, "search": "test_curl", "order": "newest", "hours_back": 1, "entity_id": null, "end_time": null, "offset": 0, "compact": true, "level": null, "slug": null}, "execution_time_ms": 3.6461353302001953, "success": true, "error_message": null, "response_size_bytes": 171, "user_context": null}
+1 -1
View File
@@ -6,7 +6,7 @@ utility_meter:
# Shell Commands
shell_command:
test_curl: 'curl -v -o /tmp/test_supervisor.png "http://supervisor/core/api/camera_proxy/camera.hallway_hallway_camera" -H "Authorization: Bearer $SUPERVISOR_TOKEN" 2>/tmp/curl_debug.log'
test_supervisor: 'curl -s -o /media/test_supervisor.png "http://supervisor/core/api/camera_proxy/camera.hallway_hallway_camera" -H "Authorization: Bearer $SUPERVISOR_TOKEN"'
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"