.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json
This commit is contained in:
@@ -1077,3 +1077,4 @@
|
||||
{"timestamp": "2026-08-10T04:45:35.977201+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "for section in config['views'][0]['sections']:\n for card in section.get('cards', []):\n if card.get('name') == 'Elapsed':\n card['primary'] = \"Elapsed: {{ (states('sensor.octoprint_elapsed') | float(0) / 3600) | round(1) }} hr\"\n if card.get('name') == 'Remaining':\n card['primary'] = \"Remaining: {{ (states('sensor.octoprint_time_left') | float(0) / 3600) | round(1) }} hr\"", "config_hash": "55ba612ba3e8917f", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": true, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 15.523195266723633, "success": true, "error_message": null, "response_size_bytes": 30505, "user_context": null}
|
||||
{"timestamp": "2026-08-10T04:47:59.957291+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "for section in config['views'][0]['sections']:\n for card in section.get('cards', []):\n if card.get('name') == 'Elapsed':\n card['primary'] = \"{% set s = states('sensor.octoprint_elapsed') | float(0) %}{% set h = (s / 3600) | int %}{% set m = ((s % 3600) / 60) | int %}Elapsed: {% if h %}{{ h }} hr {{ m }} min{% else %}{{ m }} min{% endif %}\"\n if card.get('name') == 'Remaining':\n card['primary'] = \"{% set s = states('sensor.octoprint_time_left') | float(0) %}{% set h = (s / 3600) | int %}{% set m = ((s % 3600) / 60) | int %}Remaining: {% if h %}{{ h }} hr {{ m }} min{% else %}{{ m }} min{% endif %}\"", "config_hash": "c2f5e8cafc055d2c", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 7.243633270263672, "success": true, "error_message": null, "response_size_bytes": 1254, "user_context": null}
|
||||
{"timestamp": "2026-08-10T04:48:05.138071+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% set s = states('sensor.octoprint_elapsed') | float(0) %}{% set h = (s / 3600) | int %}{% set m = ((s % 3600) / 60) | int %}Elapsed: {% if h %}{{ h }} hr {{ m }} min{% else %}{{ m }} min{% endif %} | {% set s = states('sensor.octoprint_time_left') | float(0) %}{% set h = (s / 3600) | int %}{% set m = ((s % 3600) / 60) | int %}Remaining: {% if h %}{{ h }} hr {{ m }} min{% else %}{{ m }} min{% endif %}", "timeout": 3, "report_errors": true}, "execution_time_ms": 52.23798751831055, "success": true, "error_message": null, "response_size_bytes": 540, "user_context": null}
|
||||
{"timestamp": "2026-08-10T04:51:15.849728+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": "history", "mode": null, "query": null}, "execution_time_ms": 2.6102066040039062, "success": true, "error_message": null, "response_size_bytes": 5039, "user_context": null}
|
||||
|
||||
+20
-20
@@ -4,10 +4,10 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 120.3,
|
||||
"voltage": 121,
|
||||
"countdown_to_turn_on": 0,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.33,
|
||||
"power_factor": 0.31,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -15,9 +15,9 @@
|
||||
"latest_source": "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/ThirdReality/SmartPlug_Zigbee_PROD_OTA_V101_1.01.01.ota",
|
||||
"latest_release_notes": null
|
||||
},
|
||||
"power": 149.1,
|
||||
"power": 1.8,
|
||||
"linkquality": 116,
|
||||
"current": 2.03,
|
||||
"current": 1.71,
|
||||
"power_on_behavior": "on"
|
||||
},
|
||||
"0xffffb40e0607af27": {
|
||||
@@ -27,7 +27,7 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"power": 2,
|
||||
"power": 1.9,
|
||||
"current": 0.11,
|
||||
"energy": 27.96,
|
||||
"power_factor": 0.13,
|
||||
@@ -45,7 +45,7 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 120.1,
|
||||
"voltage": 120.7,
|
||||
"countdown_to_turn_on": 0,
|
||||
"energy": 52.41,
|
||||
"power_factor": 0.2,
|
||||
@@ -74,13 +74,13 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 119.8,
|
||||
"voltage": 119.3,
|
||||
"state": "ON",
|
||||
"ac_frequency": 60,
|
||||
"energy": 107.66,
|
||||
"power": 101.4,
|
||||
"current": 0.89,
|
||||
"power_factor": 0.95,
|
||||
"energy": 107.67,
|
||||
"power": 104.9,
|
||||
"current": 0.93,
|
||||
"power_factor": 0.96,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -96,10 +96,10 @@
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 119.5,
|
||||
"energy": 46.63,
|
||||
"energy": 46.64,
|
||||
"state": "ON",
|
||||
"power": 57.1,
|
||||
"current": 0.55,
|
||||
"power": 52,
|
||||
"current": 0.56,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.81,
|
||||
"update": {
|
||||
@@ -114,12 +114,12 @@
|
||||
},
|
||||
"0xffffb40e060895b3": {
|
||||
"state": "ON",
|
||||
"voltage": 120.5,
|
||||
"voltage": 120.4,
|
||||
"ac_frequency": 60,
|
||||
"energy": 7.13,
|
||||
"current": 0.01,
|
||||
"power": 0.1,
|
||||
"power_factor": 0,
|
||||
"power_factor": 0.11,
|
||||
"linkquality": 123,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -136,7 +136,7 @@
|
||||
"0xffffb40e0608864e": {
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 121.3,
|
||||
"voltage": 121.4,
|
||||
"energy": 17.48,
|
||||
"countdown_to_turn_on": 0,
|
||||
"state": "ON",
|
||||
@@ -172,7 +172,7 @@
|
||||
"0xffffb40e060893d8": {
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"voltage": 120.9,
|
||||
"voltage": 121.3,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"energy": 3.05,
|
||||
@@ -187,7 +187,7 @@
|
||||
"latest_source": "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/ThirdReality/SmartPlug_Zigbee_PROD_OTA_V101_1.01.01.ota",
|
||||
"latest_release_notes": null
|
||||
},
|
||||
"power_factor": 0.06,
|
||||
"power_factor": 0.07,
|
||||
"power": 0.1
|
||||
},
|
||||
"0xa4c1380d0679ffff": {
|
||||
@@ -245,7 +245,7 @@
|
||||
},
|
||||
"0xb40e060fffe717c5": {
|
||||
"battery": 100,
|
||||
"occupancy": true,
|
||||
"occupancy": false,
|
||||
"tamper": false,
|
||||
"battery_low": false,
|
||||
"linkquality": 72,
|
||||
|
||||
Reference in New Issue
Block a user