.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json

This commit is contained in:
Home Assistant Version Control
2026-08-26 04:22:17 +00:00
parent fa3f22a497
commit b66738987a
2 changed files with 20 additions and 17 deletions
+3
View File
@@ -2104,3 +2104,6 @@
{"timestamp": "2026-08-26T04:20:56.163382+00:00", "tool_name": "ha_search", "parameters": {"query": "pool", "domain_filter": "sensor", "area_filter": null, "search_types": null, "limit": 10, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": null, "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 1240.471601486206, "success": true, "error_message": null, "response_size_bytes": 2522, "user_context": null} {"timestamp": "2026-08-26T04:20:56.163382+00:00", "tool_name": "ha_search", "parameters": {"query": "pool", "domain_filter": "sensor", "area_filter": null, "search_types": null, "limit": 10, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": null, "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 1240.471601486206, "success": true, "error_message": null, "response_size_bytes": 2522, "user_context": null}
{"timestamp": "2026-08-26T04:21:17.056981+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.office_light_control_motion"}, "execution_time_ms": 329.70404624938965, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"RESOURCE_NOT_FOUND\",\n \"message\": \"Automation not found: automation.office_light_control_motion\",\n \"suggestion\": \"Use ha_search(domain_filter='automation') to find existing automations\"\n },\n \"automation_id\": \"automation.office_light_control_motion\",\n \"available_automation_ids\": [\n \"automation.tablet_dim_screen_at_night\",\n \"automation.tablet_restore_screen_in_morning\",\n \"automation.reload_hilo_integrations_on_reboot\",\n \"automation.notify_when_ring_console_battery_low\",\n \"automation.notify_when_front_door_sensor_battery_low\",\n \"automation.alert_fridge_or_freezer_power_outage\",\n \"automation.kitchen_coffee_maker_active_notification\",\n \"automation.office_turn_on_lights_on_motion\",\n \"automation.office_turn_off_lights_on_exit\",\n \"automation.water_leak_detected\"\n ]\n}", "response_size_bytes": null, "user_context": null} {"timestamp": "2026-08-26T04:21:17.056981+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.office_light_control_motion"}, "execution_time_ms": 329.70404624938965, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"RESOURCE_NOT_FOUND\",\n \"message\": \"Automation not found: automation.office_light_control_motion\",\n \"suggestion\": \"Use ha_search(domain_filter='automation') to find existing automations\"\n },\n \"automation_id\": \"automation.office_light_control_motion\",\n \"available_automation_ids\": [\n \"automation.tablet_dim_screen_at_night\",\n \"automation.tablet_restore_screen_in_morning\",\n \"automation.reload_hilo_integrations_on_reboot\",\n \"automation.notify_when_ring_console_battery_low\",\n \"automation.notify_when_front_door_sensor_battery_low\",\n \"automation.alert_fridge_or_freezer_power_outage\",\n \"automation.kitchen_coffee_maker_active_notification\",\n \"automation.office_turn_on_lights_on_motion\",\n \"automation.office_turn_off_lights_on_exit\",\n \"automation.water_leak_detected\"\n ]\n}", "response_size_bytes": null, "user_context": null}
{"timestamp": "2026-08-26T04:21:28.924394+00:00", "tool_name": "ha_search", "parameters": {"query": "light.night_light", "domain_filter": null, "area_filter": null, "search_types": ["automation", "script"], "limit": 10, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": true, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": null, "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 11780.66897392273, "success": true, "error_message": null, "response_size_bytes": 9716, "user_context": null} {"timestamp": "2026-08-26T04:21:28.924394+00:00", "tool_name": "ha_search", "parameters": {"query": "light.night_light", "domain_filter": null, "area_filter": null, "search_types": ["automation", "script"], "limit": 10, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": true, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": null, "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 11780.66897392273, "success": true, "error_message": null, "response_size_bytes": 9716, "user_context": null}
{"timestamp": "2026-08-26T04:22:10.963707+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.office_turn_on_lights_on_motion"}, "execution_time_ms": 552.7863502502441, "success": true, "error_message": null, "response_size_bytes": 2403, "user_context": null}
{"timestamp": "2026-08-26T04:22:11.458978+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.3d_printer_running"}, "execution_time_ms": 585.5541229248047, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"RESOURCE_NOT_FOUND\",\n \"message\": \"Automation not found: automation.3d_printer_running\",\n \"suggestion\": \"Use ha_search(domain_filter='automation') to find existing automations\"\n },\n \"automation_id\": \"automation.3d_printer_running\",\n \"available_automation_ids\": [\n \"automation.tablet_dim_screen_at_night\",\n \"automation.tablet_restore_screen_in_morning\",\n \"automation.reload_hilo_integrations_on_reboot\",\n \"automation.notify_when_ring_console_battery_low\",\n \"automation.notify_when_front_door_sensor_battery_low\",\n \"automation.alert_fridge_or_freezer_power_outage\",\n \"automation.kitchen_coffee_maker_active_notification\",\n \"automation.office_turn_on_lights_on_motion\",\n \"automation.office_turn_off_lights_on_exit\",\n \"automation.water_leak_detected\"\n ]\n}", "response_size_bytes": null, "user_context": null}
{"timestamp": "2026-08-26T04:22:11.475993+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.basement_switch_toggles_dining_room_switch_light"}, "execution_time_ms": 539.0753746032715, "success": true, "error_message": null, "response_size_bytes": 1981, "user_context": null}
+17 -17
View File
@@ -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": 122.9, "voltage": 123.4,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"ac_frequency": 60, "ac_frequency": 60,
"power_factor": 0.13, "power_factor": 0.13,
@@ -30,7 +30,7 @@
"power": 2.4, "power": 2.4,
"current": 0.1, "current": 0.1,
"energy": 32.97, "energy": 32.97,
"power_factor": 0.23, "power_factor": 0.16,
"update": { "update": {
"state": "idle", "state": "idle",
"installed_version": 268513381, "installed_version": 268513381,
@@ -45,10 +45,10 @@
"state": "ON", "state": "ON",
"led_brightness": 100, "led_brightness": 100,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"voltage": 122.1, "voltage": 122.6,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"energy": 66.48, "energy": 66.48,
"power_factor": 0.2, "power_factor": 0.3,
"ac_frequency": 60, "ac_frequency": 60,
"update": { "update": {
"state": "idle", "state": "idle",
@@ -77,9 +77,9 @@
"voltage": 121.9, "voltage": 121.9,
"state": "ON", "state": "ON",
"ac_frequency": 60, "ac_frequency": 60,
"energy": 134.67, "energy": 134.68,
"power": 102, "power": 101.7,
"current": 0.92, "current": 0.87,
"power_factor": 0.92, "power_factor": 0.92,
"update": { "update": {
"state": "idle", "state": "idle",
@@ -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": 122.3, "voltage": 122.8,
"energy": 64.35, "energy": 64.35,
"state": "ON", "state": "ON",
"power": 17.1, "power": 28.6,
"current": 0.24, "current": 0.41,
"ac_frequency": 60, "ac_frequency": 60,
"power_factor": 0.54, "power_factor": 0.6,
"update": { "update": {
"state": "idle", "state": "idle",
"installed_version": 268513381, "installed_version": 268513381,
@@ -114,12 +114,12 @@
}, },
"0xffffb40e060895b3": { "0xffffb40e060895b3": {
"state": "ON", "state": "ON",
"voltage": 122.8, "voltage": 123.3,
"ac_frequency": 60, "ac_frequency": 60,
"energy": 8.91, "energy": 8.91,
"current": 0.01, "current": 0.01,
"power": 0.2, "power": 0.2,
"power_factor": 0.22, "power_factor": 0.11,
"linkquality": 94, "linkquality": 94,
"update": { "update": {
"state": "idle", "state": "idle",
@@ -143,7 +143,7 @@
"current": 0.02, "current": 0.02,
"ac_frequency": 60, "ac_frequency": 60,
"power": 0.4, "power": 0.4,
"power_factor": 0.18, "power_factor": 0.14,
"update": { "update": {
"state": "idle", "state": "idle",
"installed_version": 268513381, "installed_version": 268513381,
@@ -172,7 +172,7 @@
"0xffffb40e060893d8": { "0xffffb40e060893d8": {
"state": "ON", "state": "ON",
"led_brightness": 100, "led_brightness": 100,
"voltage": 122.9, "voltage": 123.4,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"energy": 3.72, "energy": 3.72,
@@ -192,7 +192,7 @@
}, },
"0xa4c1380d0679ffff": { "0xa4c1380d0679ffff": {
"battery": 100, "battery": 100,
"temperature": 26.9, "temperature": 27,
"temperature_units": "celsius", "temperature_units": "celsius",
"temperature_calibration": 0, "temperature_calibration": 0,
"update": { "update": {
@@ -245,7 +245,7 @@
}, },
"0xb40e060fffe717c5": { "0xb40e060fffe717c5": {
"battery": 100, "battery": 100,
"occupancy": true, "occupancy": false,
"tamper": false, "tamper": false,
"battery_low": false, "battery_low": false,
"linkquality": 94, "linkquality": 94,