.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json
This commit is contained in:
@@ -4503,3 +4503,5 @@
|
||||
{"timestamp": "2026-10-14T17:11:23.484675+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.spoolman_spool_3", "sensor.spoolman_spool_4", "sensor.spoolman_spool_5", "sensor.spoolman_spool_8"], "fields": ["entity_id", "state", "attributes"], "attribute_keys": ["filament_weight", "used_weight", "used_percentage", "remaining_weight", "initial_weight", "remaining_length", "used_length", "filament_name", "location"]}, "execution_time_ms": 178.58076095581055, "success": true, "error_message": null, "response_size_bytes": 1920, "user_context": null}
|
||||
{"timestamp": "2026-10-14T17:11:40.215417+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% for n in ['1','2','3','4'] %}\n{% set cname = states('sensor.sparkx_i7_slot_' ~ n ~ '_color_name') %}\n{% set color = states('sensor.sparkx_i7_cfs_box_1_slot_' ~ n ~ '_color') | replace('#','') | lower %}\n{% set ns = namespace(id='', rem=0, base=0) %}\n{% for e in integration_entities('spoolman') if e.endswith('_color_hex') %}\n{% if ns.id == '' and (states(e) | replace('#','') | lower) == color and (state_attr(e[:-10], 'location') | default('', true) | lower) == 'cfs lite' %}\n{% set ns.id = states(e[:-10] ~ '_id') %}\n{% set ns.rem = states(e[:-10]) | float(0) %}\n{% set ns.base = state_attr(e[:-10], 'filament_weight') | float(0) %}\n{% endif %}\n{% endfor %}\nSlot {{ n }}: {{ cname }} · {{ ns.rem | round(0) | int }} g left ({{ (ns.rem / ns.base * 100) | round(0) | int if ns.base > 0 else 0 }}%) [spool {{ ns.id }}, base {{ ns.base | round(0) | int }} g]\n{% endfor %}", "condition": null, "variables": null, "strict": false, "timeout": 3, "report_errors": true}, "execution_time_ms": 34.05904769897461, "success": true, "error_message": null, "response_size_bytes": 2139, "user_context": null}
|
||||
{"timestamp": "2026-10-14T17:13:29.725516+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "sparkx-i7", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": "cfs-fans", "mode": null, "query": null}, "execution_time_ms": 180.4063320159912, "success": true, "error_message": null, "response_size_bytes": 9064, "user_context": null}
|
||||
{"timestamp": "2026-10-14T17:18:25.908496+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.sparkx_i7_print_status", "sensor.sparkx_i7_expected_material_length", "sensor.sparkx_i7_expected_material_weight", "sensor.sparkx_i7_used_material_length"], "fields": null, "attribute_keys": ["material", "color", "slicer", "estimated_time_s", "gcode_file"]}, "execution_time_ms": 4.500865936279297, "success": true, "error_message": null, "response_size_bytes": 2634, "user_context": null}
|
||||
{"timestamp": "2026-10-14T17:18:25.962205+00:00", "tool_name": "ha_get_automation_traces", "parameters": {"automation_id": "automation.sparkx_i7_filament_sufficiency_check_at_print_start", "run_id": null, "limit": 3, "deduplicate": true, "detailed": false, "sections": null, "offset": 0, "order": "newest", "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 74.97596740722656, "success": true, "error_message": null, "response_size_bytes": 526, "user_context": null}
|
||||
|
||||
Reference in New Issue
Block a user