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

This commit is contained in:
Home Assistant Version Control
2026-10-08 17:07:50 +00:00
parent 6b006080ff
commit dcf5d496b7
2 changed files with 18 additions and 16 deletions
+2
View File
@@ -3982,3 +3982,5 @@
{"timestamp": "2026-10-08T17:00:50.622127+00:00", "tool_name": "ha_search", "parameters": {"query": "sparkx_i7", "domain_filter": "sensor", "area_filter": null, "search_types": null, "limit": 100, "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": 145.4763412475586, "success": true, "error_message": null, "response_size_bytes": 11549, "user_context": null} {"timestamp": "2026-10-08T17:00:50.622127+00:00", "tool_name": "ha_search", "parameters": {"query": "sparkx_i7", "domain_filter": "sensor", "area_filter": null, "search_types": null, "limit": 100, "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": 145.4763412475586, "success": true, "error_message": null, "response_size_bytes": 11549, "user_context": null}
{"timestamp": "2026-10-08T17:00:50.757094+00:00", "tool_name": "ha_search", "parameters": {"query": "consumption", "domain_filter": "sensor", "area_filter": null, "search_types": null, "limit": 20, "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": 271.55256271362305, "success": true, "error_message": null, "response_size_bytes": 1045, "user_context": null} {"timestamp": "2026-10-08T17:00:50.757094+00:00", "tool_name": "ha_search", "parameters": {"query": "consumption", "domain_filter": "sensor", "area_filter": null, "search_types": null, "limit": 20, "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": 271.55256271362305, "success": true, "error_message": null, "response_size_bytes": 1045, "user_context": null}
{"timestamp": "2026-10-08T17:02:41.690604+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.sparkx_i7_used_material_length", "sensor.sparkx_i7_filament_weight_estimated", "input_number.sparkx_i7_filament_g_cm", "sensor.sparkx_i7_filament_consumption", "sensor.sparkx_i7_expected_material_length", "sensor.sparkx_i7_expected_material_weight"], "fields": null, "attribute_keys": null}, "execution_time_ms": 4.27699089050293, "success": true, "error_message": null, "response_size_bytes": 3758, "user_context": null} {"timestamp": "2026-10-08T17:02:41.690604+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.sparkx_i7_used_material_length", "sensor.sparkx_i7_filament_weight_estimated", "input_number.sparkx_i7_filament_g_cm", "sensor.sparkx_i7_filament_consumption", "sensor.sparkx_i7_expected_material_length", "sensor.sparkx_i7_expected_material_weight"], "fields": null, "attribute_keys": null}, "execution_time_ms": 4.27699089050293, "success": true, "error_message": null, "response_size_bytes": 3758, "user_context": null}
{"timestamp": "2026-10-08T17:07:44.011950+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.sparkx_i7_deduct_spool_weight_on_print_complete"}, "execution_time_ms": 689.180850982666, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"RESOURCE_NOT_FOUND\",\n \"message\": \"Automation not found: automation.sparkx_i7_deduct_spool_weight_on_print_complete\",\n \"suggestion\": \"Use ha_search(domain_filter='automation') to find existing automations\"\n },\n \"automation_id\": \"automation.sparkx_i7_deduct_spool_weight_on_print_complete\",\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-10-08T17:07:44.239162+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.sparkx_i7_latch_active_print_spool"}, "execution_time_ms": 917.2811508178711, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"RESOURCE_NOT_FOUND\",\n \"message\": \"Automation not found: automation.sparkx_i7_latch_active_print_spool\",\n \"suggestion\": \"Use ha_search(domain_filter='automation') to find existing automations\"\n },\n \"automation_id\": \"automation.sparkx_i7_latch_active_print_spool\",\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}
+16 -16
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": 119, "voltage": 119.5,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"ac_frequency": 60, "ac_frequency": 60,
"power_factor": 0.11, "power_factor": 0.11,
@@ -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": 118.6, "voltage": 118.8,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"energy": 103.64, "energy": 103.65,
"power_factor": 0.2, "power_factor": 0.9,
"ac_frequency": 60, "ac_frequency": 60,
"update": { "update": {
"state": "idle", "state": "idle",
@@ -58,8 +58,8 @@
"latest_release_notes": null "latest_release_notes": null
}, },
"linkquality": 145, "linkquality": 145,
"power": 0.5, "power": 84.6,
"current": 0.04, "current": 0.81,
"power_on_behavior": "on" "power_on_behavior": "on"
}, },
"0xb40e060fffe031e3": { "0xb40e060fffe031e3": {
@@ -74,12 +74,12 @@
"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": 117.6, "voltage": 117.9,
"state": "ON", "state": "ON",
"ac_frequency": 60, "ac_frequency": 60,
"energy": 210.36, "energy": 210.37,
"power": 100.8, "power": 96,
"current": 0.93, "current": 0.88,
"power_factor": 0.94, "power_factor": 0.94,
"update": { "update": {
"state": "idle", "state": "idle",
@@ -95,10 +95,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,
"voltage": 118.8, "voltage": 119.3,
"energy": 100.68, "energy": 100.68,
"state": "ON", "state": "ON",
"power": 10.4, "power": 12.8,
"current": 0.32, "current": 0.32,
"ac_frequency": 60, "ac_frequency": 60,
"power_factor": 0.5, "power_factor": 0.5,
@@ -114,12 +114,12 @@
}, },
"0xffffb40e060895b3": { "0xffffb40e060895b3": {
"state": "ON", "state": "ON",
"voltage": 118.9, "voltage": 119.4,
"ac_frequency": 60, "ac_frequency": 60,
"energy": 14.2, "energy": 14.2,
"current": 0.01, "current": 0.01,
"power": 0.2, "power": 0.2,
"power_factor": 0.11, "power_factor": 0.22,
"linkquality": 116, "linkquality": 116,
"update": { "update": {
"state": "idle", "state": "idle",
@@ -142,7 +142,7 @@
"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.15, "power_factor": 0.15,
"update": { "update": {
"state": "idle", "state": "idle",
@@ -171,7 +171,7 @@
}, },
"0xa4c1380d0679ffff": { "0xa4c1380d0679ffff": {
"battery": 100, "battery": 100,
"temperature": 23.1, "temperature": 23,
"temperature_units": "celsius", "temperature_units": "celsius",
"temperature_calibration": 0, "temperature_calibration": 0,
"update": { "update": {