.ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control
2026-07-29 15:16:41 +00:00
parent 1e7134f09a
commit 7cb0389aaf
+2
View File
@@ -265,3 +265,5 @@
{"timestamp": "2026-07-29T15:15:43.623079+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "camera", "service": "record", "entity_id": "camera.front_door_front_door", "data": {"filename": "/media/nest_record_test.mp4", "duration": 3, "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": 43.54548454284668, "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\": \"record\",\n \"entity_id\": \"camera.front_door_front_door\"\n}", "response_size_bytes": null, "user_context": null} {"timestamp": "2026-07-29T15:15:43.623079+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "camera", "service": "record", "entity_id": "camera.front_door_front_door", "data": {"filename": "/media/nest_record_test.mp4", "duration": 3, "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": 43.54548454284668, "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\": \"record\",\n \"entity_id\": \"camera.front_door_front_door\"\n}", "response_size_bytes": null, "user_context": null}
{"timestamp": "2026-07-29T15:16:07.574286+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "camera", "service": "record", "entity_id": "camera.entryway_entryway_camera", "data": {"filename": "/media/nest_record_test.mp4", "duration": 3, "entity_id": "camera.entryway_entryway_camera"}, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 22.63474464416504, "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.entryway_entryway_camera exists using ha_get_state()\",\n \"suggestions\": [\n \"Verify camera.entryway_entryway_camera 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.entryway_entryway_camera')\",\n \"For universal control: ha_call_service('homeassistant', 'toggle', entity_id='camera.entryway_entryway_camera')\"\n ]\n },\n \"domain\": \"camera\",\n \"service\": \"record\",\n \"entity_id\": \"camera.entryway_entryway_camera\"\n}", "response_size_bytes": null, "user_context": null} {"timestamp": "2026-07-29T15:16:07.574286+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "camera", "service": "record", "entity_id": "camera.entryway_entryway_camera", "data": {"filename": "/media/nest_record_test.mp4", "duration": 3, "entity_id": "camera.entryway_entryway_camera"}, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 22.63474464416504, "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.entryway_entryway_camera exists using ha_get_state()\",\n \"suggestions\": [\n \"Verify camera.entryway_entryway_camera 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.entryway_entryway_camera')\",\n \"For universal control: ha_call_service('homeassistant', 'toggle', entity_id='camera.entryway_entryway_camera')\"\n ]\n },\n \"domain\": \"camera\",\n \"service\": \"record\",\n \"entity_id\": \"camera.entryway_entryway_camera\"\n}", "response_size_bytes": null, "user_context": null}
{"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: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}