.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json
This commit is contained in:
@@ -4673,3 +4673,4 @@
|
||||
{"timestamp": "2026-10-15T18:49:06.885011+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["input_number.sparkx_i7_filament_g_cm", "input_number.sparkx_i7_spoolman_length_checkpoint", "sensor.sparkx_i7_used_material_length"], "fields": ["state"], "attribute_keys": null}, "execution_time_ms": 10.712385177612305, "success": true, "error_message": null, "response_size_bytes": 586, "user_context": null}
|
||||
{"timestamp": "2026-10-15T18:51:41.262166+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.sparkx_i7_active_filament_slot", "input_text.sparkx_i7_print_spool_latch"], "fields": ["state"], "attribute_keys": null}, "execution_time_ms": 4.412651062011719, "success": true, "error_message": null, "response_size_bytes": 529, "user_context": null}
|
||||
{"timestamp": "2026-10-15T18:51:41.269254+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": null, "query": "sparkx_i7_spoolman_length_checkpoint", "describe": false}, "execution_time_ms": 12.49551773071289, "success": true, "error_message": null, "response_size_bytes": 735, "user_context": null}
|
||||
{"timestamp": "2026-10-15T18:51:56.969383+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% set gcm = states('input_number.sparkx_i7_filament_g_cm') | float(0.0298) %}{% set cur = states('sensor.sparkx_i7_used_material_length') | float(0) %}{% set ck = states('input_number.sparkx_i7_spoolman_length_checkpoint') | float(0) %}{% set act = states('sensor.sparkx_i7_active_filament_slot') %}{% set st = states('sensor.sparkx_i7_print_status') %}state={{ st }} active={{ act }} cur={{ cur }} ck={{ ck }} gcm={{ gcm }}\n{% for n in ['1','2','3','4'] %}{% set booked = states('input_number.sparkx_i7_slot_' ~ n ~ '_grams') | float(0) %}{% set live = booked + ((([cur - ck, 0] | max) * gcm) if act == 'box_1_slot_' ~ n else 0) %}Slot {{ n }}: • This print so far: {{ live | round(1) }} g (booked {{ booked | round(1) }}, live-part {{ (live - booked) | round(1) }})\n{% endfor %}", "condition": null, "variables": null, "strict": false, "timeout": 3, "report_errors": true}, "execution_time_ms": 15.637636184692383, "success": true, "error_message": null, "response_size_bytes": 1598, "user_context": null}
|
||||
|
||||
+10
-10
@@ -47,7 +47,7 @@
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 119.9,
|
||||
"countdown_to_turn_on": 0,
|
||||
"energy": 109.79,
|
||||
"energy": 109.8,
|
||||
"power_factor": 0.88,
|
||||
"ac_frequency": 60,
|
||||
"update": {
|
||||
@@ -58,7 +58,7 @@
|
||||
"latest_release_notes": null
|
||||
},
|
||||
"linkquality": 145,
|
||||
"power": 87.1,
|
||||
"power": 85.6,
|
||||
"current": 0.85,
|
||||
"power_on_behavior": "on"
|
||||
},
|
||||
@@ -77,8 +77,8 @@
|
||||
"voltage": 119.3,
|
||||
"state": "ON",
|
||||
"ac_frequency": 60,
|
||||
"energy": 222.91,
|
||||
"power": 104.4,
|
||||
"energy": 222.92,
|
||||
"power": 100.3,
|
||||
"current": 0.92,
|
||||
"power_factor": 0.93,
|
||||
"update": {
|
||||
@@ -98,10 +98,10 @@
|
||||
"voltage": 120.3,
|
||||
"energy": 104.42,
|
||||
"state": "ON",
|
||||
"power": 51.3,
|
||||
"current": 0.57,
|
||||
"power": 43.4,
|
||||
"current": 0.48,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.74,
|
||||
"power_factor": 0.82,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -114,12 +114,12 @@
|
||||
},
|
||||
"0xffffb40e060895b3": {
|
||||
"state": "ON",
|
||||
"voltage": 120.8,
|
||||
"voltage": 120.3,
|
||||
"ac_frequency": 60,
|
||||
"energy": 15.31,
|
||||
"current": 0.01,
|
||||
"power": 0.1,
|
||||
"power_factor": 0.22,
|
||||
"power_factor": 0.11,
|
||||
"linkquality": 116,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -171,7 +171,7 @@
|
||||
},
|
||||
"0xa4c1380d0679ffff": {
|
||||
"battery": 100,
|
||||
"temperature": 11.8,
|
||||
"temperature": 11.9,
|
||||
"temperature_units": "celsius",
|
||||
"temperature_calibration": 0,
|
||||
"update": {
|
||||
|
||||
Reference in New Issue
Block a user