.ha_mcp/logs/mcp_usage.jsonl
This commit is contained in:
@@ -30,3 +30,4 @@
|
||||
{"timestamp": "2026-07-24T20:07:09.572923+00:00", "tool_name": "ha_get_overview", "parameters": {"detail_level": "minimal", "domains": null, "limit": null, "offset": 0, "max_entities_per_domain": null, "include_state": null, "include_entity_id": null, "include_notifications": true, "include_dismissed_repairs": false, "fields": null}, "execution_time_ms": 2278.484344482422, "success": true, "error_message": null, "response_size_bytes": 15479, "user_context": null}
|
||||
{"timestamp": "2026-07-24T20:07:40.403850+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.tablet_dim_screen_at_night"}, "execution_time_ms": 53.27343940734863, "success": true, "error_message": null, "response_size_bytes": 449, "user_context": null}
|
||||
{"timestamp": "2026-07-24T20:16:45.640024+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": {"alias": "MCP Backup Test", "description": "Test automation to verify ha-direct backup functionality", "triggers": [{"trigger": "state", "entity_id": "sun.sun", "to": "above_horizon"}], "actions": [{"action": "notify.notify", "data": {"title": "MCP Test", "message": "Automation created via ha-direct!"}}]}, "identifier": null, "python_transform": null, "config_hash": null, "category": null, "wait": true, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 241.0869598388672, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"INTERNAL_ERROR\",\n \"message\": \"An unexpected error occurred\",\n \"details\": \"Task <Task pending name='mcp.server.lowlevel.server.Server._handle_message' coro=<Server._handle_message() running at /usr/local/lib/python3.14/site-packages/mcp/server/lowlevel/server.py:696> cb=[TaskGroup._spawn.<locals>.task_done() at /usr/local/lib/python3.14/site-packages/anyio/_backends/_asyncio.py:821]> got Future <Task cancelling name='Task-4074' coro=<HomeAssistantWebSocketClient._message_handler() running at /usr/local/lib/python3.14/site-packages/ha_mcp/client/websocket_client.py:445> wait_for=<Future cancelled>> attached to a different loop\",\n \"suggestion\": \"Check automation configuration format\",\n \"suggestions\": [\n \"Check automation configuration format\",\n \"Ensure required fields: alias, triggers, actions\",\n \"Use entity_id format: automation.morning_routine or unique_id\",\n \"Use ha_search(domain_filter='automation') to find automations\",\n \"Use ha_get_skill_guide for automation examples\",\n \"For Home Assistant best-practice guidance, call ha_get_skill_guide(skill='home-assistant-best-practices') and consult the relevant reference file before retrying.\"\n ]\n },\n \"identifier\": null\n}", "response_size_bytes": null, "user_context": null}
|
||||
{"timestamp": "2026-07-24T20:17:31.170214+00:00", "tool_name": "ha_search", "parameters": {"query": "MCP Backup Test", "domain_filter": null, "area_filter": null, "search_types": ["automation"], "limit": 10, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": null, "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 4835.088491439819, "success": true, "error_message": null, "response_size_bytes": 1058, "user_context": null}
|
||||
|
||||
Reference in New Issue
Block a user