.ha_mcp/logs/mcp_usage.jsonl
This commit is contained in:
@@ -4630,3 +4630,5 @@
|
||||
{"timestamp": "2026-10-15T16:43:30.907072+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "3d-printer-cellphone", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "query": null, "describe": false}, "execution_time_ms": 1.7998218536376953, "success": true, "error_message": null, "response_size_bytes": 8427, "user_context": null}
|
||||
{"timestamp": "2026-10-15T16:44:55.962600+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.sparkx_i7_cfs_box_1_humidity", "sensor.sparkx_i7_cfs_box_1_temperature", "sensor.sparkx_i7_used_material_length", "sensor.sparkx_moonraker_print_eta", "sensor.sparkx_i7_filament_weight_estimated", "sensor.sparkx_i7_filament_cost", "sensor.sparkx_i7_real_time_flow", "sensor.sparkx_i7_active_filament_slot", "sensor.sparkx_i7_print_status"], "fields": ["entity_id", "state"], "attribute_keys": null}, "execution_time_ms": 15.390634536743164, "success": true, "error_message": null, "response_size_bytes": 1422, "user_context": null}
|
||||
{"timestamp": "2026-10-15T16:44:55.967307+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% for e in ['sensor.spoolman_spool_9','sensor.spoolman_spool_4','sensor.spoolman_spool_5','sensor.spoolman_spool_8'] %}\n{{ e }}: remaining_weight={{ state_attr(e,'remaining_weight') }} | filament_weight={{ state_attr(e,'filament_weight') }} | initial_weight={{ state_attr(e,'initial_weight') }} | state={{ states(e) }}\n{% endfor %}", "condition": null, "variables": null, "strict": false, "timeout": 3, "report_errors": true}, "execution_time_ms": 18.77737045288086, "success": true, "error_message": null, "response_size_bytes": 1044, "user_context": null}
|
||||
{"timestamp": "2026-10-15T16:45:32.190544+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.sparkx_moonraker_print_eta", "sensor.sparkx_i7_used_material_length", "sensor.sparkx_i7_filament_weight_estimated", "sensor.sparkx_i7_real_time_flow", "sensor.sparkx_i7_filament_cost"], "fields": ["entity_id", "state", "attributes"], "attribute_keys": ["device_class", "unit_of_measurement", "state_class", "friendly_name"]}, "execution_time_ms": 2.0685195922851562, "success": true, "error_message": null, "response_size_bytes": 1606, "user_context": null}
|
||||
{"timestamp": "2026-10-15T16:45:32.423431+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% set out = [] %}\n{% for n in [1,2,3,4] %}\n {% set sp = namespace(ent='', loc='') %}\n {% for s in states.sensor %}\n {% if sp.ent == '' and s.entity_id.startswith('sensor.spoolman_spool_') %}\n {% set loc = (s.attributes.location | default('')) | lower %}\n {% if loc == ('cfs lite ' ~ n) %}{% set sp.ent = s.entity_id %}{% set sp.loc = s.attributes.location %}{% endif %}\n {% endif %}\n {% endfor %}\n {% if sp.ent != '' %}\n {% set r = states(sp.ent) | float(0) %}\n {% set band = 2 if r < 25 else (1 if r < 100 else 0) %}\n {% set out = out + ['Slot ' ~ n ~ ' -> ' ~ sp.loc ~ ' (' ~ (r|round(1)) ~ ' g, band ' ~ band ~ ')'] %}\n {% else %}\n {% set out = out + ['Slot ' ~ n ~ ' -> NO MATCHING SPOOL (tube would be omitted from card)'] %}\n {% endif %}\n{% endfor %}\n{{ out | join('\\n') }}", "condition": null, "variables": null, "strict": false, "timeout": 3, "report_errors": true}, "execution_time_ms": 231.8730354309082, "success": true, "error_message": null, "response_size_bytes": 1068, "user_context": null}
|
||||
|
||||
Reference in New Issue
Block a user