.ha_mcp/logs/mcp_usage.jsonl, configuration.yaml
This commit is contained in:
@@ -190,3 +190,5 @@
|
||||
{"timestamp": "2026-07-28T19:46:19.364838+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": 107.65600204467773, "success": true, "error_message": null, "response_size_bytes": 175, "user_context": null}
|
||||
{"timestamp": "2026-07-28T19:46:23.248881+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "shell_command", "service": "download_camera_image", "entity_id": null, "data": {"media_path": "/media/hallway_direct_test.png", "www_path": "/config/www/hallway_direct_test.png"}, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 51.8338680267334, "success": true, "error_message": null, "response_size_bytes": 300, "user_context": null}
|
||||
{"timestamp": "2026-07-28T19:46:31.187453+00:00", "tool_name": "ha_get_logs", "parameters": {"source": "system", "limit": null, "search": "shell_command", "order": "newest", "hours_back": 1, "entity_id": null, "end_time": null, "offset": 0, "compact": true, "level": "ERROR", "slug": null}, "execution_time_ms": 6.079435348510742, "success": true, "error_message": null, "response_size_bytes": 3452, "user_context": null}
|
||||
{"timestamp": "2026-07-28T19:46:46.248682+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": 109.48419570922852, "success": true, "error_message": null, "response_size_bytes": 175, "user_context": null}
|
||||
{"timestamp": "2026-07-28T19:46:49.022151+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "shell_command", "service": "test_write", "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": 9.127140045166016, "success": true, "error_message": null, "response_size_bytes": 183, "user_context": null}
|
||||
|
||||
@@ -6,7 +6,9 @@ utility_meter:
|
||||
|
||||
# Shell Commands
|
||||
shell_command:
|
||||
test_write: 'echo "hello world" > /media/test_write.txt'
|
||||
download_camera_image: 'curl -s -o {{ media_path }} "http://localhost:8123/api/camera_proxy/camera.hallway_hallway_camera?token={{ state_attr(''camera.hallway_hallway_camera'', ''access_token'') }}"'
|
||||
cp_to_www: "cp {{ media_path }} {{ www_path }}"
|
||||
cleanup_blink_snapshots: "find /media /config/www -name 'blink_*.jpg' -mmin +360 -delete"
|
||||
|
||||
# Load ffmpeg
|
||||
|
||||
Reference in New Issue
Block a user