.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json
This commit is contained in:
@@ -4430,3 +4430,5 @@
|
||||
{"timestamp": "2026-10-11T17:19:11.070679+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% for e in states.sensor if e.entity_id | match('^sensor\\.spoolman_spool_\\d+$') %}{{ e.entity_id }} | {{ state_attr(e.entity_id,'filament_name') }} | density={{ state_attr(e.entity_id,'filament_density') }} | dia={{ state_attr(e.entity_id,'filament_diameter') }} | price={{ state_attr(e.entity_id,'filament_price') }} | loc={{ state_attr(e.entity_id,'location') }} | rem={{ e.state }}\n{% endfor %}", "condition": null, "variables": null, "strict": false, "timeout": 3, "report_errors": true}, "execution_time_ms": 52.34670639038086, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"TemplateAssertionError: No filter named 'match'.\",\n \"suggestion\": \"Fix the template at the reported line, if one is given, then evaluate it again\",\n \"suggestions\": [\n \"Fix the template at the reported line, if one is given, then evaluate it again\",\n \"Use default values for missing data: {{ states('sensor.temp') | float(0) }}\",\n \"Verify entity_ids exist using ha_get_state() or ha_search()\",\n \"Pass values the template expects through 'variables'\"\n ]\n },\n \"template\": \"{% for e in states.sensor if e.entity_id | match('^sensor\\\\.spoolman_spool_\\\\d+$') %}{{ e.entity_id }} | {{ state_attr(e.entity_id,'filament_name') }} | density={{ state_attr(e.entity_id,'filament_density') }} | dia={{ state_attr(e.entity_id,'filament_diameter') }} | price={{ state_attr(e.entity_id,'filament_price') }} | loc={{ state_attr(e.entity_id,'location') }} | rem={{ e.state }}\\n{% endfor %}\",\n \"line\": 1,\n \"source_line\": \"{% for e in states.sensor if e.entity_id | match('^sensor\\\\.spoolman_spool_\\\\d+$') %}{{ e.entity_id }} | {{ state_attr(e.entity_id,'filament_name') }} | density={{ state_attr(e.entity_id,'filament_density') }} | dia={{ state_attr(e.entity_id,'filament_diameter') }} | price={{ state_attr(e.entity_id,'filament_price') }} | loc={{ state_attr(e.entity_id,'location') }} | rem={{ e.state }}\"\n}", "response_size_bytes": null, "user_context": null}
|
||||
{"timestamp": "2026-10-11T17:20:07.308460+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": null, "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": "search", "query": "filament_price_per_kg"}, "execution_time_ms": 21.315574645996094, "success": true, "error_message": null, "response_size_bytes": 191, "user_context": null}
|
||||
{"timestamp": "2026-10-11T17:20:07.309467+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.spoolman_spool_1", "sensor.spoolman_spool_2", "sensor.spoolman_spool_3", "sensor.spoolman_spool_4", "sensor.spoolman_spool_5", "sensor.spoolman_spool_6", "sensor.spoolman_spool_7", "sensor.spoolman_spool_8"], "fields": ["entity_id", "state", "attributes"], "attribute_keys": ["filament_name", "filament_density", "filament_diameter", "filament_price", "location"]}, "execution_time_ms": 18.74995231628418, "success": true, "error_message": null, "response_size_bytes": 2831, "user_context": null}
|
||||
{"timestamp": "2026-10-11T17:24:06.788992+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.sparkx_i7_deduct_filament_in_spoolman_on_print_complete"}, "execution_time_ms": 294.2359447479248, "success": true, "error_message": null, "response_size_bytes": 6368, "user_context": null}
|
||||
{"timestamp": "2026-10-11T17:24:06.821548+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.sparkx_i7_latch_print_spool_for_spoolman"}, "execution_time_ms": 317.17610359191895, "success": true, "error_message": null, "response_size_bytes": 5672, "user_context": null}
|
||||
|
||||
+16
-16
@@ -4,7 +4,7 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 120.4,
|
||||
"voltage": 121,
|
||||
"countdown_to_turn_on": 0,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.14,
|
||||
@@ -28,9 +28,9 @@
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"power": 2,
|
||||
"current": 0.09,
|
||||
"current": 0.1,
|
||||
"energy": 54.79,
|
||||
"power_factor": 0.25,
|
||||
"power_factor": 0.19,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -45,7 +45,7 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 120.5,
|
||||
"voltage": 121,
|
||||
"countdown_to_turn_on": 0,
|
||||
"energy": 106.24,
|
||||
"power_factor": 0.89,
|
||||
@@ -58,7 +58,7 @@
|
||||
"latest_release_notes": null
|
||||
},
|
||||
"linkquality": 145,
|
||||
"power": 85.6,
|
||||
"power": 83.2,
|
||||
"current": 0.85,
|
||||
"power_on_behavior": "on"
|
||||
},
|
||||
@@ -74,13 +74,13 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 118.9,
|
||||
"voltage": 119.3,
|
||||
"state": "ON",
|
||||
"ac_frequency": 60,
|
||||
"energy": 215.87,
|
||||
"power": 0.8,
|
||||
"current": 0.06,
|
||||
"power_factor": 0.36,
|
||||
"power": 100.4,
|
||||
"current": 0.91,
|
||||
"power_factor": 0.94,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -95,11 +95,11 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 120.2,
|
||||
"voltage": 121.3,
|
||||
"energy": 101.96,
|
||||
"state": "ON",
|
||||
"power": 23.9,
|
||||
"current": 0.31,
|
||||
"power": 33.6,
|
||||
"current": 0.36,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.61,
|
||||
"update": {
|
||||
@@ -119,7 +119,7 @@
|
||||
"energy": 14.73,
|
||||
"current": 0.01,
|
||||
"power": 0.1,
|
||||
"power_factor": 0.16,
|
||||
"power_factor": 0.11,
|
||||
"linkquality": 116,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -136,14 +136,14 @@
|
||||
"0xffffb40e0608864e": {
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 120.3,
|
||||
"voltage": 120.9,
|
||||
"energy": 36.31,
|
||||
"countdown_to_turn_on": 0,
|
||||
"state": "ON",
|
||||
"current": 0.02,
|
||||
"ac_frequency": 60,
|
||||
"power": 0.3,
|
||||
"power_factor": 0.2,
|
||||
"power_factor": 0.15,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -224,7 +224,7 @@
|
||||
},
|
||||
"0xb40e060fffe717c5": {
|
||||
"battery": 100,
|
||||
"occupancy": true,
|
||||
"occupancy": false,
|
||||
"tamper": false,
|
||||
"battery_low": false,
|
||||
"linkquality": 145,
|
||||
|
||||
Reference in New Issue
Block a user