.ha_mcp/logs/mcp_usage.jsonl
This commit is contained in:
@@ -4071,3 +4071,4 @@
|
|||||||
{"timestamp": "2026-10-08T18:54:26.600629+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["input_number.sparkx_i7_spoolman_length_checkpoint", "sensor.sparkx_i7_slot_1_color_name", "sensor.sparkx_i7_slot_2_color_name", "sensor.sparkx_i7_slot_3_color_name", "sensor.sparkx_i7_slot_4_color_name", "automation.sparkx_i7_latch_print_spool_for_spoolman", "automation.sparkx_i7_deduct_filament_in_spoolman_on_print_complete", "script.spoolman_set_spool_remaining"], "fields": ["state", "attributes"], "attribute_keys": ["friendly_name"]}, "execution_time_ms": 5.154609680175781, "success": true, "error_message": null, "response_size_bytes": 1481, "user_context": null}
|
{"timestamp": "2026-10-08T18:54:26.600629+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["input_number.sparkx_i7_spoolman_length_checkpoint", "sensor.sparkx_i7_slot_1_color_name", "sensor.sparkx_i7_slot_2_color_name", "sensor.sparkx_i7_slot_3_color_name", "sensor.sparkx_i7_slot_4_color_name", "automation.sparkx_i7_latch_print_spool_for_spoolman", "automation.sparkx_i7_deduct_filament_in_spoolman_on_print_complete", "script.spoolman_set_spool_remaining"], "fields": ["state", "attributes"], "attribute_keys": ["friendly_name"]}, "execution_time_ms": 5.154609680175781, "success": true, "error_message": null, "response_size_bytes": 1481, "user_context": null}
|
||||||
{"timestamp": "2026-10-08T18:55:21.927624+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% for slot in ['Box 1 Slot 1', 'Box 1 Slot 2', 'Box 1 Slot 3', 'Box 1 Slot 4'] %}{% set color = states('sensor.sparkx_i7_cfs_' ~ (slot | lower | replace(' ', '_')) ~ '_color') | replace('#', '') | lower %}{% set ns = namespace(id='') %}{% for e in integration_entities('spoolman') %}{% if e.endswith('_color_hex') and (states(e) | replace('#', '') | lower) == color %}{% set b = e[:-10] %}{% if (states(b) | float(0)) > 0 and ns.id == '' %}{% set ns.id = states(b ~ '_id') %}{% endif %}{% endif %}{% endfor %}{{ slot }} → #{{ color | upper }} → spool {{ ns.id or 'NONE' }} ({{ states('sensor.spoolman_spool_' ~ ns.id) if ns.id else '-' }} g left){% endfor %}", "condition": null, "variables": null, "strict": false, "timeout": 3, "report_errors": true}, "execution_time_ms": 81.24065399169922, "success": true, "error_message": null, "response_size_bytes": 1535, "user_context": null}
|
{"timestamp": "2026-10-08T18:55:21.927624+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% for slot in ['Box 1 Slot 1', 'Box 1 Slot 2', 'Box 1 Slot 3', 'Box 1 Slot 4'] %}{% set color = states('sensor.sparkx_i7_cfs_' ~ (slot | lower | replace(' ', '_')) ~ '_color') | replace('#', '') | lower %}{% set ns = namespace(id='') %}{% for e in integration_entities('spoolman') %}{% if e.endswith('_color_hex') and (states(e) | replace('#', '') | lower) == color %}{% set b = e[:-10] %}{% if (states(b) | float(0)) > 0 and ns.id == '' %}{% set ns.id = states(b ~ '_id') %}{% endif %}{% endif %}{% endfor %}{{ slot }} → #{{ color | upper }} → spool {{ ns.id or 'NONE' }} ({{ states('sensor.spoolman_spool_' ~ ns.id) if ns.id else '-' }} g left){% endfor %}", "condition": null, "variables": null, "strict": false, "timeout": 3, "report_errors": true}, "execution_time_ms": 81.24065399169922, "success": true, "error_message": null, "response_size_bytes": 1535, "user_context": null}
|
||||||
{"timestamp": "2026-10-08T18:59:12.353417+00:00", "tool_name": "ha_get_history", "parameters": {"entity_ids": "sensor.sparkx_i7_print_status", "source": "history", "start_time": "2026-10-06T20:40:00Z", "end_time": "2026-10-06T21:40:00Z", "minimal_response": true, "significant_changes_only": true, "limit": 50, "offset": null, "period": "day", "statistic_types": null, "order": "desc", "fields": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 712.834358215332, "success": true, "error_message": null, "response_size_bytes": 965, "user_context": null}
|
{"timestamp": "2026-10-08T18:59:12.353417+00:00", "tool_name": "ha_get_history", "parameters": {"entity_ids": "sensor.sparkx_i7_print_status", "source": "history", "start_time": "2026-10-06T20:40:00Z", "end_time": "2026-10-06T21:40:00Z", "minimal_response": true, "significant_changes_only": true, "limit": 50, "offset": null, "period": "day", "statistic_types": null, "order": "desc", "fields": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 712.834358215332, "success": true, "error_message": null, "response_size_bytes": 965, "user_context": null}
|
||||||
|
{"timestamp": "2026-10-08T18:59:24.649210+00:00", "tool_name": "ha_get_history", "parameters": {"entity_ids": "sensor.sparkx_i7_print_status", "source": "history", "start_time": "2026-10-06T19:00:00Z", "end_time": "2026-10-06T23:30:00Z", "minimal_response": true, "significant_changes_only": true, "limit": 50, "offset": null, "period": "day", "statistic_types": null, "order": "desc", "fields": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 2519.1810131073, "success": true, "error_message": null, "response_size_bytes": 1224, "user_context": null}
|
||||||
|
|||||||
Reference in New Issue
Block a user