.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json
This commit is contained in:
@@ -3589,3 +3589,4 @@
|
||||
{"timestamp": "2026-09-06T04:58:21.948877+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.octoprint_layer_progress", "sensor.octoprint_height_progress"], "fields": ["state", "attributes"], "attribute_keys": ["current", "total"]}, "execution_time_ms": 5.017280578613281, "success": true, "error_message": null, "response_size_bytes": 615, "user_context": null}
|
||||
{"timestamp": "2026-09-06T04:58:38.471434+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "c = config['views'][0]['sections'][1]['cards']\nc.insert(5, {\"type\":\"custom:mushroom-template-card\",\"primary\":\"{% set c = states('sensor.octoprint_layer_progress') | int(0) %}{% set t = state_attr('sensor.octoprint_layer_progress', 'total') | int(0) %}Layer: {{ c }} of {{ t }}\",\"name\":\"Layer\",\"icon\":\"mdi:layers\",\"grid_options\":{\"columns\":6}})\nc.insert(6, {\"type\":\"custom:mushroom-template-card\",\"primary\":\"{% set c = states('sensor.octoprint_height_progress') | float(0) %}{% set t = state_attr('sensor.octoprint_height_progress', 'total') | float(0) %}Height: {{ c | round(1) }} / {{ t | round(1) }} mm\",\"name\":\"Height\",\"icon\":\"mdi:axis-z-arrow\",\"grid_options\":{\"columns\":6}})", "config_hash": "786ba374677018db", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": true, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 55.315256118774414, "success": true, "error_message": null, "response_size_bytes": 30913, "user_context": null}
|
||||
{"timestamp": "2026-09-06T04:59:26.270993+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "printer-stats", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": "print", "mode": null, "query": null}, "execution_time_ms": 11.500835418701172, "success": true, "error_message": null, "response_size_bytes": 11564, "user_context": null}
|
||||
{"timestamp": "2026-09-06T06:01:54.830077+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.octoprint_current_z", "sensor.octoprint_height_progress", "sensor.octoprint_layer_progress"], "fields": null, "attribute_keys": null}, "execution_time_ms": 3.955364227294922, "success": true, "error_message": null, "response_size_bytes": 1841, "user_context": null}
|
||||
|
||||
+19
-19
@@ -4,7 +4,7 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 121.1,
|
||||
"voltage": 121.3,
|
||||
"countdown_to_turn_on": 0,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.14,
|
||||
@@ -27,7 +27,7 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"power": 1.9,
|
||||
"power": 2,
|
||||
"current": 0.09,
|
||||
"energy": 38.66,
|
||||
"power_factor": 0.17,
|
||||
@@ -45,10 +45,10 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 121,
|
||||
"voltage": 120.8,
|
||||
"countdown_to_turn_on": 0,
|
||||
"energy": 75.33,
|
||||
"power_factor": 0.2,
|
||||
"energy": 75.34,
|
||||
"power_factor": 0.89,
|
||||
"ac_frequency": 60,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -58,8 +58,8 @@
|
||||
"latest_release_notes": null
|
||||
},
|
||||
"linkquality": 94,
|
||||
"power": 60,
|
||||
"current": 0.65,
|
||||
"power": 85,
|
||||
"current": 0.78,
|
||||
"power_on_behavior": "on"
|
||||
},
|
||||
"0xb40e060fffe031e3": {
|
||||
@@ -74,12 +74,12 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 119.8,
|
||||
"voltage": 120.2,
|
||||
"state": "ON",
|
||||
"ac_frequency": 60,
|
||||
"energy": 153.46,
|
||||
"power": 104.5,
|
||||
"current": 0.91,
|
||||
"energy": 153.49,
|
||||
"power": 106.2,
|
||||
"current": 0.93,
|
||||
"power_factor": 0.95,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -95,10 +95,10 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 120.7,
|
||||
"energy": 74.12,
|
||||
"voltage": 121.2,
|
||||
"energy": 74.13,
|
||||
"state": "ON",
|
||||
"power": 51,
|
||||
"power": 49.7,
|
||||
"current": 0.51,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.82,
|
||||
@@ -114,12 +114,12 @@
|
||||
},
|
||||
"0xffffb40e060895b3": {
|
||||
"state": "ON",
|
||||
"voltage": 121,
|
||||
"voltage": 121.2,
|
||||
"ac_frequency": 60,
|
||||
"energy": 10.36,
|
||||
"current": 0.01,
|
||||
"energy": 10.48,
|
||||
"current": 0.02,
|
||||
"power": 0.1,
|
||||
"power_factor": 0.11,
|
||||
"power_factor": 0.22,
|
||||
"linkquality": 109,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -136,7 +136,7 @@
|
||||
"0xffffb40e0608864e": {
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 121.5,
|
||||
"voltage": 121.7,
|
||||
"energy": 23.43,
|
||||
"countdown_to_turn_on": 0,
|
||||
"state": "ON",
|
||||
|
||||
Reference in New Issue
Block a user