.ha_mcp/logs/mcp_usage.jsonl, automations.yaml
This commit is contained in:
@@ -1776,3 +1776,4 @@
|
|||||||
{"timestamp": "2026-08-23T05:10:19.253281+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "sensor.octoprint_print_progress_live", "fields": null, "attribute_keys": null}, "execution_time_ms": 1109.8227500915527, "success": true, "error_message": null, "response_size_bytes": 909, "user_context": null}
|
{"timestamp": "2026-08-23T05:10:19.253281+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "sensor.octoprint_print_progress_live", "fields": null, "attribute_keys": null}, "execution_time_ms": 1109.8227500915527, "success": true, "error_message": null, "response_size_bytes": 909, "user_context": null}
|
||||||
{"timestamp": "2026-08-23T05:10:27.325590+00:00", "tool_name": "ha_search", "parameters": {"query": "job", "domain_filter": null, "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": ["entity_id", "friendly_name", "state"], "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 9611.416816711426, "success": true, "error_message": null, "response_size_bytes": 1018, "user_context": null}
|
{"timestamp": "2026-08-23T05:10:27.325590+00:00", "tool_name": "ha_search", "parameters": {"query": "job", "domain_filter": null, "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": ["entity_id", "friendly_name", "state"], "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 9611.416816711426, "success": true, "error_message": null, "response_size_bytes": 1018, "user_context": null}
|
||||||
{"timestamp": "2026-08-23T05:15:33.029907+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": {"actions": [{"action": "notify.send_message", "data": {"data": {"entity_id": "camera.endercamera_duckdns_org"}, "message": "Print finished successfully at {{ now().strftime('%H:%M') }}.", "title": "3D print complete"}, "target": {"entity_id": ["notify.sm_f956w", "notify.motorola_one_vision", "notify.francos_ipad", "notify.sm_t387w"]}}], "alias": "3D Print Complete Snapshot", "description": "Sends a notification with an OctoPrint webcam snapshot to all mobile devices when a print finishes successfully.", "mode": "single", "triggers": [{"entity_id": "sensor.octoprint_last_event", "to": "PrintDone", "trigger": "state"}]}, "identifier": null, "python_transform": null, "config_hash": null, "category": null, "wait": true, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 623.0514049530029, "success": true, "error_message": null, "response_size_bytes": 59584, "user_context": null}
|
{"timestamp": "2026-08-23T05:15:33.029907+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": {"actions": [{"action": "notify.send_message", "data": {"data": {"entity_id": "camera.endercamera_duckdns_org"}, "message": "Print finished successfully at {{ now().strftime('%H:%M') }}.", "title": "3D print complete"}, "target": {"entity_id": ["notify.sm_f956w", "notify.motorola_one_vision", "notify.francos_ipad", "notify.sm_t387w"]}}], "alias": "3D Print Complete Snapshot", "description": "Sends a notification with an OctoPrint webcam snapshot to all mobile devices when a print finishes successfully.", "mode": "single", "triggers": [{"entity_id": "sensor.octoprint_last_event", "to": "PrintDone", "trigger": "state"}]}, "identifier": null, "python_transform": null, "config_hash": null, "category": null, "wait": true, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 623.0514049530029, "success": true, "error_message": null, "response_size_bytes": 59584, "user_context": null}
|
||||||
|
{"timestamp": "2026-08-23T05:15:58.205088+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": {"actions": [{"action": "notify.send_message", "data": {"data": {"entity_id": "camera.endercamera_duckdns_org"}, "message": "Print passed the first few layers (Z crossed 1 mm).", "title": "3D print early check"}, "target": {"entity_id": ["notify.sm_f956w", "notify.motorola_one_vision", "notify.francos_ipad", "notify.sm_t387w"]}}], "alias": "3D Print Early Layers Snapshot", "conditions": [{"condition": "state", "entity_id": "binary_sensor.octoprint_printing", "state": "on"}], "description": "Sends a webcam snapshot once per print when Z crosses 1.0 mm while printing, approximating layers 4-5 at typical 0.2-0.28 mm layer heights.", "mode": "single", "triggers": [{"above": 1, "entity_id": "sensor.octoprint_current_z", "trigger": "numeric_state"}]}, "identifier": null, "python_transform": null, "config_hash": null, "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 747.4408149719238, "success": true, "error_message": null, "response_size_bytes": 207, "user_context": null}
|
||||||
|
|||||||
@@ -3309,3 +3309,29 @@
|
|||||||
- notify.francos_ipad
|
- notify.francos_ipad
|
||||||
- notify.sm_t387w
|
- notify.sm_t387w
|
||||||
mode: single
|
mode: single
|
||||||
|
- id: '1787462157568'
|
||||||
|
alias: 3D Print Early Layers Snapshot
|
||||||
|
description: Sends a webcam snapshot once per print when Z crosses 1.0 mm while
|
||||||
|
printing, approximating layers 4-5 at typical 0.2-0.28 mm layer heights.
|
||||||
|
triggers:
|
||||||
|
- above: 1
|
||||||
|
entity_id: sensor.octoprint_current_z
|
||||||
|
trigger: numeric_state
|
||||||
|
conditions:
|
||||||
|
- condition: state
|
||||||
|
entity_id: binary_sensor.octoprint_printing
|
||||||
|
state: 'on'
|
||||||
|
actions:
|
||||||
|
- action: notify.send_message
|
||||||
|
data:
|
||||||
|
data:
|
||||||
|
entity_id: camera.endercamera_duckdns_org
|
||||||
|
message: Print passed the first few layers (Z crossed 1 mm).
|
||||||
|
title: 3D print early check
|
||||||
|
target:
|
||||||
|
entity_id:
|
||||||
|
- notify.sm_f956w
|
||||||
|
- notify.motorola_one_vision
|
||||||
|
- notify.francos_ipad
|
||||||
|
- notify.sm_t387w
|
||||||
|
mode: single
|
||||||
|
|||||||
Reference in New Issue
Block a user