.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json
This commit is contained in:
@@ -4462,3 +4462,4 @@
|
|||||||
{"timestamp": "2026-10-12T16:31:14.057677+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "1791477238762"}, "execution_time_ms": 357.1889400482178, "success": true, "error_message": null, "response_size_bytes": 5672, "user_context": null}
|
{"timestamp": "2026-10-12T16:31:14.057677+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "1791477238762"}, "execution_time_ms": 357.1889400482178, "success": true, "error_message": null, "response_size_bytes": 5672, "user_context": null}
|
||||||
{"timestamp": "2026-10-12T16:31:21.696328+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "1791477238762", "python_transform": "stack = [config]\nfor _ in range(500):\n if not stack:\n break\n node = stack.pop()\n if isinstance(node, dict):\n for k in list(node.keys()):\n if isinstance(node[k], str) and \"split(' ')\" in node[k]:\n node[k] = node[k].replace(\"split(' ')\", \"split('_')\")\n elif isinstance(node[k], (dict, list)):\n stack.append(node[k])\n elif isinstance(node, list):\n for i in range(len(node)):\n if isinstance(node[i], str) and \"split(' ')\" in node[i]:\n node[i] = node[i].replace(\"split(' ')\", \"split('_')\")\n elif isinstance(node[i], (dict, list)):\n stack.append(node[i])", "config_hash": "67883587a6616a08", "take_control_of_blueprint": false, "category": null, "wait": true, "enabled": null, "run_actions": false, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 1297.755241394043, "success": true, "error_message": null, "response_size_bytes": 7691, "user_context": null}
|
{"timestamp": "2026-10-12T16:31:21.696328+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "1791477238762", "python_transform": "stack = [config]\nfor _ in range(500):\n if not stack:\n break\n node = stack.pop()\n if isinstance(node, dict):\n for k in list(node.keys()):\n if isinstance(node[k], str) and \"split(' ')\" in node[k]:\n node[k] = node[k].replace(\"split(' ')\", \"split('_')\")\n elif isinstance(node[k], (dict, list)):\n stack.append(node[k])\n elif isinstance(node, list):\n for i in range(len(node)):\n if isinstance(node[i], str) and \"split(' ')\" in node[i]:\n node[i] = node[i].replace(\"split(' ')\", \"split('_')\")\n elif isinstance(node[i], (dict, list)):\n stack.append(node[i])", "config_hash": "67883587a6616a08", "take_control_of_blueprint": false, "category": null, "wait": true, "enabled": null, "run_actions": false, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 1297.755241394043, "success": true, "error_message": null, "response_size_bytes": 7691, "user_context": null}
|
||||||
{"timestamp": "2026-10-12T16:31:26.410364+00:00", "tool_name": "ha_reload_core", "parameters": {"target": "automations", "entry_id": null}, "execution_time_ms": 198.5642910003662, "success": true, "error_message": null, "response_size_bytes": 122, "user_context": null}
|
{"timestamp": "2026-10-12T16:31:26.410364+00:00", "tool_name": "ha_reload_core", "parameters": {"target": "automations", "entry_id": null}, "execution_time_ms": 198.5642910003662, "success": true, "error_message": null, "response_size_bytes": 122, "user_context": null}
|
||||||
|
{"timestamp": "2026-10-12T16:32:55.190572+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "1791477238729"}, "execution_time_ms": 262.2084617614746, "success": true, "error_message": null, "response_size_bytes": 7041, "user_context": null}
|
||||||
|
|||||||
+18
-18
@@ -4,7 +4,7 @@
|
|||||||
"state": "ON",
|
"state": "ON",
|
||||||
"led_brightness": 100,
|
"led_brightness": 100,
|
||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"voltage": 121.4,
|
"voltage": 120.7,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"power_factor": 0.14,
|
"power_factor": 0.14,
|
||||||
@@ -27,10 +27,10 @@
|
|||||||
"led_brightness": 100,
|
"led_brightness": 100,
|
||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"power": 1.9,
|
"power": 1298.6,
|
||||||
"current": 0.09,
|
"current": 11.46,
|
||||||
"energy": 55.07,
|
"energy": 55.09,
|
||||||
"power_factor": 0.17,
|
"power_factor": 0.99,
|
||||||
"update": {
|
"update": {
|
||||||
"state": "idle",
|
"state": "idle",
|
||||||
"installed_version": 268513381,
|
"installed_version": 268513381,
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
"state": "ON",
|
"state": "ON",
|
||||||
"led_brightness": 100,
|
"led_brightness": 100,
|
||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"voltage": 120.7,
|
"voltage": 120.5,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"energy": 107.1,
|
"energy": 107.1,
|
||||||
"power_factor": 0.2,
|
"power_factor": 0.2,
|
||||||
@@ -74,13 +74,13 @@
|
|||||||
"led_brightness": 100,
|
"led_brightness": 100,
|
||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"voltage": 119.3,
|
"voltage": 119.5,
|
||||||
"state": "ON",
|
"state": "ON",
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"energy": 217.65,
|
"energy": 217.65,
|
||||||
"power": 3.7,
|
"power": 104,
|
||||||
"current": 0.05,
|
"current": 0.93,
|
||||||
"power_factor": 0.41,
|
"power_factor": 0.94,
|
||||||
"update": {
|
"update": {
|
||||||
"state": "idle",
|
"state": "idle",
|
||||||
"installed_version": 268513381,
|
"installed_version": 268513381,
|
||||||
@@ -95,13 +95,13 @@
|
|||||||
"led_brightness": 100,
|
"led_brightness": 100,
|
||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"voltage": 120.5,
|
"voltage": 120.9,
|
||||||
"energy": 102.49,
|
"energy": 102.49,
|
||||||
"state": "ON",
|
"state": "ON",
|
||||||
"power": 37.1,
|
"power": 28.5,
|
||||||
"current": 0.39,
|
"current": 0.31,
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"power_factor": 0.71,
|
"power_factor": 0.63,
|
||||||
"update": {
|
"update": {
|
||||||
"state": "idle",
|
"state": "idle",
|
||||||
"installed_version": 268513381,
|
"installed_version": 268513381,
|
||||||
@@ -114,7 +114,7 @@
|
|||||||
},
|
},
|
||||||
"0xffffb40e060895b3": {
|
"0xffffb40e060895b3": {
|
||||||
"state": "ON",
|
"state": "ON",
|
||||||
"voltage": 121.2,
|
"voltage": 120.4,
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"energy": 14.92,
|
"energy": 14.92,
|
||||||
"current": 0.01,
|
"current": 0.01,
|
||||||
@@ -136,13 +136,13 @@
|
|||||||
"0xffffb40e0608864e": {
|
"0xffffb40e0608864e": {
|
||||||
"led_brightness": 100,
|
"led_brightness": 100,
|
||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"voltage": 120.7,
|
"voltage": 121.2,
|
||||||
"energy": 36.91,
|
"energy": 36.91,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"state": "ON",
|
"state": "ON",
|
||||||
"current": 0.02,
|
"current": 0.02,
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"power": 0.4,
|
"power": 0.3,
|
||||||
"power_factor": 0.2,
|
"power_factor": 0.2,
|
||||||
"update": {
|
"update": {
|
||||||
"state": "idle",
|
"state": "idle",
|
||||||
@@ -224,7 +224,7 @@
|
|||||||
},
|
},
|
||||||
"0xb40e060fffe717c5": {
|
"0xb40e060fffe717c5": {
|
||||||
"battery": 100,
|
"battery": 100,
|
||||||
"occupancy": true,
|
"occupancy": false,
|
||||||
"tamper": false,
|
"tamper": false,
|
||||||
"battery_low": false,
|
"battery_low": false,
|
||||||
"linkquality": 145,
|
"linkquality": 145,
|
||||||
|
|||||||
Reference in New Issue
Block a user