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

This commit is contained in:
Home Assistant Version Control
2026-08-23 05:23:55 +00:00
parent f42b353b3f
commit 3559cb5bf5
2 changed files with 10 additions and 4 deletions
+1
View File
@@ -1787,3 +1787,4 @@
{"timestamp": "2026-08-23T05:18:42.932497+00:00", "tool_name": "ha_get_automation_traces", "parameters": {"automation_id": "automation.3d_print_complete_snapshot", "run_id": null, "limit": 1, "deduplicate": true, "detailed": false, "sections": "actions", "offset": 0, "order": "newest", "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 5.420923233032227, "success": true, "error_message": null, "response_size_bytes": 447, "user_context": null} {"timestamp": "2026-08-23T05:18:42.932497+00:00", "tool_name": "ha_get_automation_traces", "parameters": {"automation_id": "automation.3d_print_complete_snapshot", "run_id": null, "limit": 1, "deduplicate": true, "detailed": false, "sections": "actions", "offset": 0, "order": "newest", "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 5.420923233032227, "success": true, "error_message": null, "response_size_bytes": 447, "user_context": null}
{"timestamp": "2026-08-23T05:20:26.570093+00:00", "tool_name": "ha_get_camera_image", "parameters": {"entity_id": "camera.endercamera_duckdns_org", "width": 640, "height": 480}, "execution_time_ms": 685.5568885803223, "success": true, "error_message": null, "response_size_bytes": null, "user_context": null} {"timestamp": "2026-08-23T05:20:26.570093+00:00", "tool_name": "ha_get_camera_image", "parameters": {"entity_id": "camera.endercamera_duckdns_org", "width": 640, "height": 480}, "execution_time_ms": 685.5568885803223, "success": true, "error_message": null, "response_size_bytes": null, "user_context": null}
{"timestamp": "2026-08-23T05:23:42.139820+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.3d_print_complete_snapshot", "python_transform": "payload = {\"title\": \"3D print complete\", \"message\": \"Print finished successfully at {{ now().strftime('%H:%M') }}.\", \"data\": {\"image\": \"/local/octoprint_snapshot.jpg\"}}; targets = [\"notify.mobile_app_sm_f956w\", \"notify.mobile_app_motorola_one_vision\", \"notify.mobile_app_francos_ipad\", \"notify.mobile_app_sm_t387w\"]; config[\"actions\"] = [{\"action\": \"camera.snapshot\", \"target\": {\"entity_id\": \"camera.endercamera_duckdns_org\"}, \"data\": {\"filename\": \"/config/www/octoprint_snapshot.jpg\"}}, {\"parallel\": [{\"action\": t, \"data\": payload} for t in targets]}]", "config_hash": "ae6860c7a9dcfcde", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 1341.2485122680664, "success": true, "error_message": null, "response_size_bytes": 900, "user_context": null} {"timestamp": "2026-08-23T05:23:42.139820+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.3d_print_complete_snapshot", "python_transform": "payload = {\"title\": \"3D print complete\", \"message\": \"Print finished successfully at {{ now().strftime('%H:%M') }}.\", \"data\": {\"image\": \"/local/octoprint_snapshot.jpg\"}}; targets = [\"notify.mobile_app_sm_f956w\", \"notify.mobile_app_motorola_one_vision\", \"notify.mobile_app_francos_ipad\", \"notify.mobile_app_sm_t387w\"]; config[\"actions\"] = [{\"action\": \"camera.snapshot\", \"target\": {\"entity_id\": \"camera.endercamera_duckdns_org\"}, \"data\": {\"filename\": \"/config/www/octoprint_snapshot.jpg\"}}, {\"parallel\": [{\"action\": t, \"data\": payload} for t in targets]}]", "config_hash": "ae6860c7a9dcfcde", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 1341.2485122680664, "success": true, "error_message": null, "response_size_bytes": 900, "user_context": null}
{"timestamp": "2026-08-23T05:23:48.728791+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.3d_print_early_layers_snapshot", "python_transform": "payload = {\"title\": \"3D print early check\", \"message\": \"Print passed the first few layers (Z crossed 1 mm).\", \"data\": {\"image\": \"/local/octoprint_snapshot.jpg\"}}; targets = [\"notify.mobile_app_sm_f956w\", \"notify.mobile_app_motorola_one_vision\", \"notify.mobile_app_francos_ipad\", \"notify.mobile_app_sm_t387w\"]; config[\"actions\"] = [{\"action\": \"camera.snapshot\", \"target\": {\"entity_id\": \"camera.endercamera_duckdns_org\"}, \"data\": {\"filename\": \"/config/www/octoprint_snapshot.jpg\"}}, {\"parallel\": [{\"action\": t, \"data\": payload} for t in targets]}]", "config_hash": "f41172500d0587e2", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 287.9049777984619, "success": true, "error_message": null, "response_size_bytes": 899, "user_context": null}
+9 -4
View File
@@ -3340,29 +3340,34 @@
entity_id: binary_sensor.octoprint_printing entity_id: binary_sensor.octoprint_printing
state: 'on' state: 'on'
actions: actions:
- action: camera.snapshot
target:
entity_id: camera.endercamera_duckdns_org
data:
filename: /config/www/octoprint_snapshot.jpg
- parallel: - parallel:
- action: notify.mobile_app_sm_f956w - action: notify.mobile_app_sm_f956w
data: data:
title: 3D print early check title: 3D print early check
message: Print passed the first few layers (Z crossed 1 mm). message: Print passed the first few layers (Z crossed 1 mm).
data: data:
entity_id: camera.endercamera_duckdns_org image: /local/octoprint_snapshot.jpg
- action: notify.mobile_app_motorola_one_vision - action: notify.mobile_app_motorola_one_vision
data: data:
title: 3D print early check title: 3D print early check
message: Print passed the first few layers (Z crossed 1 mm). message: Print passed the first few layers (Z crossed 1 mm).
data: data:
entity_id: camera.endercamera_duckdns_org image: /local/octoprint_snapshot.jpg
- action: notify.mobile_app_francos_ipad - action: notify.mobile_app_francos_ipad
data: data:
title: 3D print early check title: 3D print early check
message: Print passed the first few layers (Z crossed 1 mm). message: Print passed the first few layers (Z crossed 1 mm).
data: data:
entity_id: camera.endercamera_duckdns_org image: /local/octoprint_snapshot.jpg
- action: notify.mobile_app_sm_t387w - action: notify.mobile_app_sm_t387w
data: data:
title: 3D print early check title: 3D print early check
message: Print passed the first few layers (Z crossed 1 mm). message: Print passed the first few layers (Z crossed 1 mm).
data: data:
entity_id: camera.endercamera_duckdns_org image: /local/octoprint_snapshot.jpg
mode: single mode: single