.ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control
2026-07-29 15:19:01 +00:00
parent 7cb0389aaf
commit 6e5769a670
+2
View File
@@ -267,3 +267,5 @@
{"timestamp": "2026-07-29T15:16:14.794430+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "camera", "service": "play_stream", "entity_id": "camera.front_door_front_door", "data": {"media_player": "media_player.test", "format": "hls", "entity_id": "camera.front_door_front_door"}, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 16.261577606201172, "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\": \"Verify camera.front_door_front_door exists using ha_get_state()\",\n \"suggestions\": [\n \"Verify camera.front_door_front_door exists using ha_get_state()\",\n \"Check available services for camera domain using ha_get_skill_guide\",\n \"Use ha_search() to find correct entity IDs\",\n \"For automation: ha_call_service('automation', 'trigger', entity_id='camera.front_door_front_door')\",\n \"For universal control: ha_call_service('homeassistant', 'toggle', entity_id='camera.front_door_front_door')\"\n ]\n },\n \"domain\": \"camera\",\n \"service\": \"play_stream\",\n \"entity_id\": \"camera.front_door_front_door\"\n}", "response_size_bytes": null, "user_context": null}
{"timestamp": "2026-07-29T15:16:34.808550+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "camera.front_door_front_door", "fields": ["state", "attributes"], "attribute_keys": null}, "execution_time_ms": 8.788347244262695, "success": true, "error_message": null, "response_size_bytes": 718, "user_context": null}
{"timestamp": "2026-07-29T15:16:39.156717+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "camera", "service": "get_stream_source", "entity_id": "camera.front_door_front_door", "data": null, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 2.8297901153564453, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"API error: 400 - 400: Bad Request\",\n \"suggestion\": \"Verify camera.front_door_front_door exists using ha_get_state()\",\n \"suggestions\": [\n \"Verify camera.front_door_front_door exists using ha_get_state()\",\n \"Check available services for camera domain using ha_get_skill_guide\",\n \"Use ha_search() to find correct entity IDs\",\n \"For automation: ha_call_service('automation', 'trigger', entity_id='camera.front_door_front_door')\",\n \"For universal control: ha_call_service('homeassistant', 'toggle', entity_id='camera.front_door_front_door')\"\n ]\n },\n \"domain\": \"camera\",\n \"service\": \"get_stream_source\",\n \"entity_id\": \"camera.front_door_front_door\"\n}", "response_size_bytes": null, "user_context": null}
{"timestamp": "2026-07-29T15:18:55.452038+00:00", "tool_name": "ha_get_logs", "parameters": {"source": "logbook", "limit": 20, "search": null, "order": "newest", "hours_back": 24, "entity_id": "camera.front_door_front_door", "end_time": null, "offset": 0, "compact": false, "level": null, "slug": null}, "execution_time_ms": 126.78265571594238, "success": true, "error_message": null, "response_size_bytes": 723, "user_context": null}
{"timestamp": "2026-07-29T15:19:00.164089+00:00", "tool_name": "ha_search", "parameters": {"query": "nest", "domain_filter": "event", "area_filter": null, "search_types": null, "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": 187.0138645172119, "success": true, "error_message": null, "response_size_bytes": 760, "user_context": null}