.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json
This commit is contained in:
@@ -4795,3 +4795,5 @@
|
||||
{"timestamp": "2026-10-16T20:36:13.868414+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": 2491.931915283203, "success": true, "error_message": null, "response_size_bytes": 23334, "user_context": null}
|
||||
{"timestamp": "2026-10-16T20:39:33.610776+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "sparkx-i7", "config": null, "python_transform": null, "config_hash": "c8cb6cfe15342401", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": true, "BestPracticeKey": null, "return_screenshot": false, "view_path": null, "patch": [{"op": "add", "path": "/views/2/sections/0/cards/2", "value": {"type": "horizontal-stack", "grid_options": {"columns": "full"}, "cards": [{"type": "markdown", "content": "{% if states('sensor.sparkx_i7_print_status') in ['printing', 'paused'] %}{% 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 booked = states('input_number.sparkx_i7_slot_1_grams') | float(0) %}{% set live = booked + ((([cur - ck, 0] | max) * gcm) if states('sensor.sparkx_i7_active_filament_slot') == 'box_1_slot_1' else 0) %}{{ live | round(1) }}g{% else %}{{ (states('input_number.sparkx_i7_slot_1_grams') | float(0)) | round(1) }}g{% endif %}", "card_mod": {"style": "[REDACTED]"}}, {"type": "markdown", "content": "{% if states('sensor.sparkx_i7_print_status') in ['printing', 'paused'] %}{% 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 booked = states('input_number.sparkx_i7_slot_2_grams') | float(0) %}{% set live = booked + ((([cur - ck, 0] | max) * gcm) if states('sensor.sparkx_i7_active_filament_slot') == 'box_1_slot_2' else 0) %}{{ live | round(1) }}g{% else %}{{ (states('input_number.sparkx_i7_slot_2_grams') | float(0)) | round(1) }}g{% endif %}", "card_mod": {"style": "[REDACTED]"}}, {"type": "markdown", "content": "{% if states('sensor.sparkx_i7_print_status') in ['printing', 'paused'] %}{% 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 booked = states('input_number.sparkx_i7_slot_3_grams') | float(0) %}{% set live = booked + ((([cur - ck, 0] | max) * gcm) if states('sensor.sparkx_i7_active_filament_slot') == 'box_1_slot_3' else 0) %}{{ live | round(1) }}g{% else %}{{ (states('input_number.sparkx_i7_slot_3_grams') | float(0)) | round(1) }}g{% endif %}", "card_mod": {"style": "[REDACTED]"}}, {"type": "markdown", "content": "{% if states('sensor.sparkx_i7_print_status') in ['printing', 'paused'] %}{% 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 booked = states('input_number.sparkx_i7_slot_4_grams') | float(0) %}{% set live = booked + ((([cur - ck, 0] | max) * gcm) if states('sensor.sparkx_i7_active_filament_slot') == 'box_1_slot_4' else 0) %}{{ live | round(1) }}g{% else %}{{ (states('input_number.sparkx_i7_slot_4_grams') | float(0)) | round(1) }}g{% endif %}", "card_mod": {"style": "[REDACTED]"}}]}}]}, "execution_time_ms": 27117.810010910034, "success": true, "error_message": null, "response_size_bytes": 31984, "user_context": null}
|
||||
{"timestamp": "2026-10-16T20:40:03.463301+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "sparkx-i7", "list_only": false, "force_reload": false, "entity_id": null, "card_type": "horizontal-stack", "heading": null, "include_config": true, "include_screenshot": false, "view_path": null, "query": null, "describe": false}, "execution_time_ms": 2756.5267086029053, "success": true, "error_message": null, "response_size_bytes": 7819, "user_context": null}
|
||||
{"timestamp": "2026-10-18T05:55:13.680119+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": null, "list_only": true, "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": 11229.360818862915, "success": true, "error_message": null, "response_size_bytes": 2533, "user_context": null}
|
||||
{"timestamp": "2026-10-18T05:55:19.719065+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": 1491.3179874420166, "success": true, "error_message": null, "response_size_bytes": 23226, "user_context": null}
|
||||
|
||||
+19
-19
@@ -22,7 +22,7 @@
|
||||
},
|
||||
"0xffffb40e0607af27": {
|
||||
"state": "ON",
|
||||
"voltage": 121.4,
|
||||
"voltage": 120.8,
|
||||
"ac_frequency": 60,
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
@@ -45,10 +45,10 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 120.7,
|
||||
"voltage": 120.8,
|
||||
"countdown_to_turn_on": 0,
|
||||
"energy": 111.98,
|
||||
"power_factor": 0.89,
|
||||
"energy": 111.99,
|
||||
"power_factor": 0.2,
|
||||
"ac_frequency": 60,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -58,8 +58,8 @@
|
||||
"latest_release_notes": null
|
||||
},
|
||||
"linkquality": 145,
|
||||
"power": 86,
|
||||
"current": 0.82,
|
||||
"power": 0.3,
|
||||
"current": 0.02,
|
||||
"power_on_behavior": "on"
|
||||
},
|
||||
"0xb40e060fffe031e3": {
|
||||
@@ -77,10 +77,10 @@
|
||||
"voltage": 119.6,
|
||||
"state": "ON",
|
||||
"ac_frequency": 60,
|
||||
"energy": 226.96,
|
||||
"power": 97.6,
|
||||
"current": 0.86,
|
||||
"power_factor": 0.95,
|
||||
"energy": 226.98,
|
||||
"power": 101.3,
|
||||
"current": 0.92,
|
||||
"power_factor": 0.41,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -96,12 +96,12 @@
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 120.7,
|
||||
"energy": 107.01,
|
||||
"energy": 107.02,
|
||||
"state": "ON",
|
||||
"power": 32.6,
|
||||
"current": 0.4,
|
||||
"power": 27.6,
|
||||
"current": 0.31,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.88,
|
||||
"power_factor": 0.76,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -114,12 +114,12 @@
|
||||
},
|
||||
"0xffffb40e060895b3": {
|
||||
"state": "ON",
|
||||
"voltage": 121.8,
|
||||
"voltage": 121.2,
|
||||
"ac_frequency": 60,
|
||||
"energy": 15.61,
|
||||
"current": 0.01,
|
||||
"power": 0.1,
|
||||
"power_factor": 0.22,
|
||||
"power_factor": 0.11,
|
||||
"linkquality": 116,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -142,8 +142,8 @@
|
||||
"state": "ON",
|
||||
"current": 0.02,
|
||||
"ac_frequency": 60,
|
||||
"power": 0.4,
|
||||
"power_factor": 0.2,
|
||||
"power": 0.3,
|
||||
"power_factor": 0.14,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -171,7 +171,7 @@
|
||||
},
|
||||
"0xa4c1380d0679ffff": {
|
||||
"battery": 100,
|
||||
"temperature": 5,
|
||||
"temperature": 5.3,
|
||||
"temperature_units": "celsius",
|
||||
"temperature_calibration": 0,
|
||||
"update": {
|
||||
|
||||
Reference in New Issue
Block a user