.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json
This commit is contained in:
@@ -2348,3 +2348,5 @@
|
|||||||
{"timestamp": "2026-08-26T05:21:32.640652+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% set ns = namespace(found=[]) %}{% for item in device_entities('c9c7e25e54eb6ac497a6791fe9cf70fe') %}{% set match = item | regex_findall(find='^event\\\\..+[a-zA-Z]_1.*$') %}{% if match | length > 0 %}{% set ns.found = ns.found + match %}{% endif %}{% endfor %}{{ ns.found }}", "timeout": 3, "report_errors": true}, "execution_time_ms": 15.714883804321289, "success": true, "error_message": null, "response_size_bytes": 411, "user_context": null}
|
{"timestamp": "2026-08-26T05:21:32.640652+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% set ns = namespace(found=[]) %}{% for item in device_entities('c9c7e25e54eb6ac497a6791fe9cf70fe') %}{% set match = item | regex_findall(find='^event\\\\..+[a-zA-Z]_1.*$') %}{% if match | length > 0 %}{% set ns.found = ns.found + match %}{% endif %}{% endfor %}{{ ns.found }}", "timeout": 3, "report_errors": true}, "execution_time_ms": 15.714883804321289, "success": true, "error_message": null, "response_size_bytes": 411, "user_context": null}
|
||||||
{"timestamp": "2026-08-26T05:21:41.282999+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% set ns = namespace(found=[]) %}{% for item in device_entities('c9c7e25e54eb6ac497a6791fe9cf70fe') %}{% set match = item | regex_findall(find='^sensor\\\\..+[a-zA-Z]_2.*$') %}{% if match | length > 0 %}{% set ns.found = ns.found + match %}{% endif %}{% endfor %}{{ ns.found }}", "timeout": 3, "report_errors": true}, "execution_time_ms": 27.703285217285156, "success": true, "error_message": null, "response_size_bytes": 430, "user_context": null}
|
{"timestamp": "2026-08-26T05:21:41.282999+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% set ns = namespace(found=[]) %}{% for item in device_entities('c9c7e25e54eb6ac497a6791fe9cf70fe') %}{% set match = item | regex_findall(find='^sensor\\\\..+[a-zA-Z]_2.*$') %}{% if match | length > 0 %}{% set ns.found = ns.found + match %}{% endif %}{% endfor %}{{ ns.found }}", "timeout": 3, "report_errors": true}, "execution_time_ms": 27.703285217285156, "success": true, "error_message": null, "response_size_bytes": 430, "user_context": null}
|
||||||
{"timestamp": "2026-08-26T05:21:42.088598+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% set ns = namespace(found=[]) %}{% for item in device_entities('c9c7e25e54eb6ac497a6791fe9cf70fe') %}{% set match = item | regex_findall(find='^sensor\\\\..+[a-zA-Z]_1.*$') %}{% if match | length > 0 %}{% set ns.found = ns.found + match %}{% endif %}{% endfor %}{{ ns.found }}", "timeout": 3, "report_errors": true}, "execution_time_ms": 8.432149887084961, "success": true, "error_message": null, "response_size_bytes": 430, "user_context": null}
|
{"timestamp": "2026-08-26T05:21:42.088598+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% set ns = namespace(found=[]) %}{% for item in device_entities('c9c7e25e54eb6ac497a6791fe9cf70fe') %}{% set match = item | regex_findall(find='^sensor\\\\..+[a-zA-Z]_1.*$') %}{% if match | length > 0 %}{% set ns.found = ns.found + match %}{% endif %}{% endfor %}{{ ns.found }}", "timeout": 3, "report_errors": true}, "execution_time_ms": 8.432149887084961, "success": true, "error_message": null, "response_size_bytes": 430, "user_context": null}
|
||||||
|
{"timestamp": "2026-08-26T05:22:04.112738+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.ikea_bilresa_scrollwheel_light_control_v1_0_5"}, "execution_time_ms": 167.68670082092285, "success": true, "error_message": null, "response_size_bytes": 1004, "user_context": null}
|
||||||
|
{"timestamp": "2026-08-26T05:22:04.702345+00:00", "tool_name": "ha_get_automation_traces", "parameters": {"automation_id": "automation.ikea_bilresa_scrollwheel_light_control_v1_0_5", "run_id": null, "limit": 5, "deduplicate": true, "detailed": false, "sections": null, "offset": 0, "order": "newest", "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 20.040512084960938, "success": true, "error_message": null, "response_size_bytes": 533, "user_context": null}
|
||||||
|
|||||||
+12
-12
@@ -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": 123.4,
|
"voltage": 123.9,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"power_factor": 0.13,
|
"power_factor": 0.13,
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
"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": 2.1,
|
"power": 2.4,
|
||||||
"current": 0.1,
|
"current": 0.1,
|
||||||
"energy": 32.98,
|
"energy": 32.98,
|
||||||
"power_factor": 0.16,
|
"power_factor": 0.16,
|
||||||
@@ -45,9 +45,9 @@
|
|||||||
"state": "ON",
|
"state": "ON",
|
||||||
"led_brightness": 100,
|
"led_brightness": 100,
|
||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"voltage": 122.7,
|
"voltage": 123.2,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"energy": 66.58,
|
"energy": 66.59,
|
||||||
"power_factor": 0.89,
|
"power_factor": 0.89,
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"update": {
|
"update": {
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
"latest_release_notes": null
|
"latest_release_notes": null
|
||||||
},
|
},
|
||||||
"linkquality": 120,
|
"linkquality": 120,
|
||||||
"power": 100.5,
|
"power": 96.4,
|
||||||
"current": 0.92,
|
"current": 0.92,
|
||||||
"power_on_behavior": "on"
|
"power_on_behavior": "on"
|
||||||
},
|
},
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
"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": 122.5,
|
"voltage": 123,
|
||||||
"state": "ON",
|
"state": "ON",
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"energy": 134.74,
|
"energy": 134.74,
|
||||||
@@ -95,11 +95,11 @@
|
|||||||
"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": 122.7,
|
"voltage": 123.2,
|
||||||
"energy": 64.38,
|
"energy": 64.38,
|
||||||
"state": "ON",
|
"state": "ON",
|
||||||
"power": 19.9,
|
"power": 22.6,
|
||||||
"current": 0.29,
|
"current": 0.31,
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"power_factor": 0.6,
|
"power_factor": 0.6,
|
||||||
"update": {
|
"update": {
|
||||||
@@ -119,7 +119,7 @@
|
|||||||
"energy": 8.91,
|
"energy": 8.91,
|
||||||
"current": 0.01,
|
"current": 0.01,
|
||||||
"power": 0.1,
|
"power": 0.1,
|
||||||
"power_factor": 0.11,
|
"power_factor": 0.22,
|
||||||
"linkquality": 69,
|
"linkquality": 69,
|
||||||
"update": {
|
"update": {
|
||||||
"state": "idle",
|
"state": "idle",
|
||||||
@@ -136,7 +136,7 @@
|
|||||||
"0xffffb40e0608864e": {
|
"0xffffb40e0608864e": {
|
||||||
"led_brightness": 100,
|
"led_brightness": 100,
|
||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"voltage": 123.7,
|
"voltage": 124.2,
|
||||||
"energy": 20.23,
|
"energy": 20.23,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"state": "ON",
|
"state": "ON",
|
||||||
@@ -172,7 +172,7 @@
|
|||||||
"0xffffb40e060893d8": {
|
"0xffffb40e060893d8": {
|
||||||
"state": "ON",
|
"state": "ON",
|
||||||
"led_brightness": 100,
|
"led_brightness": 100,
|
||||||
"voltage": 123.2,
|
"voltage": 123.7,
|
||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"energy": 3.73,
|
"energy": 3.73,
|
||||||
|
|||||||
Reference in New Issue
Block a user