.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json
This commit is contained in:
@@ -3728,3 +3728,4 @@
|
||||
{"timestamp": "2026-09-24T02:07:40.329077+00:00", "tool_name": "ha_search", "parameters": {"query": "sparkx weight", "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": ["entity_id", "friendly_name", "state", "unit_of_measurement"], "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 203.54175567626953, "success": true, "error_message": null, "response_size_bytes": 866, "user_context": null}
|
||||
{"timestamp": "2026-09-24T02:07:41.343724+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "sensor.sparkx_i7_used_material_length", "fields": ["entity_id", "state", "attributes"], "attribute_keys": null}, "execution_time_ms": 3.9353370666503906, "success": true, "error_message": null, "response_size_bytes": 600, "user_context": null}
|
||||
{"timestamp": "2026-09-24T02:22:36.975224+00:00", "tool_name": "ha_config_set_helper", "parameters": {"helper_type": "utility_meter", "name": null, "helper_id": "sparkx_i7_filament_weight_weekly", "entry_id": null, "subentry_type": null, "subentry_id": null, "show_advanced_options": false, "icon": null, "area_id": null, "labels": null, "min_value": null, "max_value": null, "step": null, "unit_of_measurement": null, "options": null, "initial": null, "mode": null, "has_date": null, "has_time": null, "restore": null, "duration": null, "monday": null, "tuesday": null, "wednesday": null, "thursday": null, "friday": null, "saturday": null, "sunday": null, "latitude": null, "longitude": null, "radius": null, "passive": null, "user_id": null, "device_trackers": null, "picture": null, "tag_id": null, "description": null, "category": null, "config": {"name": "SparkX i7 Filament Weight Weekly", "source": "sensor.sparkx_i7_filament_weight_estimated", "cycle": "weekly"}, "wait": true, "action": null, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 30.170679092407227, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"RESOURCE_NOT_FOUND\",\n \"message\": \"Config entry not found: sparkx_i7_filament_weight_weekly\",\n \"suggestion\": \"Check Home Assistant connection\",\n \"suggestions\": [\n \"Check Home Assistant connection\",\n \"Verify helper_id exists for update operations\",\n \"Ensure required parameters are provided for the helper type\",\n \"For Home Assistant best-practice guidance, call ha_get_skill_guide(skill='home-assistant-best-practices') and consult the relevant reference file before retrying.\"\n ]\n },\n \"action\": \"update\",\n \"helper_type\": \"utility_meter\"\n}", "response_size_bytes": null, "user_context": null}
|
||||
{"timestamp": "2026-09-24T02:27:05.530340+00:00", "tool_name": "ha_config_set_helper", "parameters": {"helper_type": "utility_meter", "name": null, "helper_id": null, "entry_id": null, "subentry_type": null, "subentry_id": null, "show_advanced_options": false, "icon": null, "area_id": null, "labels": null, "min_value": null, "max_value": null, "step": null, "unit_of_measurement": null, "options": null, "initial": null, "mode": null, "has_date": null, "has_time": null, "restore": null, "duration": null, "monday": null, "tuesday": null, "wednesday": null, "thursday": null, "friday": null, "saturday": null, "sunday": null, "latitude": null, "longitude": null, "radius": null, "passive": null, "user_id": null, "device_trackers": null, "picture": null, "tag_id": null, "description": null, "category": null, "config": {"name": "SparkX i7 Filament Weight Weekly", "source": "sensor.sparkx_i7_filament_weight_estimated", "cycle": "weekly", "offset": {"days": 1}}, "wait": true, "action": null, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 240.62633514404297, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"SERVICE_CALL_FAILED\",\n \"message\": \"Helper validation failed \\u2014 offset: expected float\",\n \"suggestion\": \"Fix the field(s) listed in 'field_errors' and retry the call.\",\n \"suggestions\": [\n \"Fix the field(s) listed in 'field_errors' and retry the call.\",\n \"For Home Assistant best-practice guidance, call ha_get_skill_guide(skill='home-assistant-best-practices') and consult the relevant reference file before retrying.\"\n ]\n },\n \"flow_id\": \"01M38KSTGSD67HZQP89H4BP1KP\",\n \"status_code\": 400,\n \"helper_type\": \"utility_meter\",\n \"step_id\": \"user\",\n \"submitted_keys\": [\n \"cycle\",\n \"name\",\n \"offset\",\n \"source\"\n ],\n \"response_body\": {\n \"errors\": {\n \"offset\": \"expected float\"\n }\n },\n \"field_errors\": {\n \"offset\": \"expected float\"\n },\n \"data_schema\": [\n {\n \"selector\": {\n \"text\": {\n \"multiline\": false,\n \"multiple\": false\n }\n },\n \"name\": \"name\",\n \"required\": true\n },\n {\n \"selector\": {\n \"entity\": {\n \"domain\": [\n \"sensor\"\n ],\n \"multiple\": false,\n \"reorder\": false\n }\n },\n \"name\": \"source\",\n \"required\": true\n },\n {\n \"selector\": {\n \"select\": {\n \"options\": [\n \"none\",\n \"quarter-hourly\",\n \"hourly\",\n \"daily\",\n \"weekly\",\n \"monthly\",\n \"bimonthly\",\n \"quarterly\",\n \"yearly\"\n ],\n \"translation_key\": \"cycle\",\n \"multiple\": false,\n \"custom_value\": false,\n \"sort\": false\n }\n },\n \"name\": \"cycle\",\n \"required\": true\n },\n {\n \"selector\": {\n \"number\": {\n \"min\": 0.0,\n \"max\": 28.0,\n \"mode\": \"box\",\n \"unit_of_measurement\": \"days\",\n \"translation_key\": \"offset\",\n \"step\": 1.0\n }\n },\n \"name\": \"offset\",\n \"required\": true,\n \"default\": 0\n },\n {\n \"selector\": {\n \"select\": {\n \"options\": [],\n \"custom_value\": true,\n \"multiple\": true,\n \"sort\": false\n }\n },\n \"name\": \"tariffs\",\n \"required\": true,\n \"default\": []\n },\n {\n \"selector\": {\n \"boolean\": {}\n },\n \"name\": \"net_consumption\",\n \"required\": true,\n \"default\": false\n },\n {\n \"selector\": {\n \"boolean\": {}\n },\n \"name\": \"delta_values\",\n \"required\": true,\n \"default\": false\n },\n {\n \"selector\": {\n \"boolean\": {}\n },\n \"name\": \"periodically_resetting\",\n \"required\": true,\n \"default\": true\n },\n {\n \"selector\": {\n \"boolean\": {}\n },\n \"name\": \"always_available\",\n \"required\": false,\n \"optional\": true,\n \"default\": false\n }\n ]\n}", "response_size_bytes": null, "user_context": null}
|
||||
|
||||
+12
-12
@@ -45,7 +45,7 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 118.3,
|
||||
"voltage": 118.8,
|
||||
"countdown_to_turn_on": 0,
|
||||
"energy": 90,
|
||||
"power_factor": 0.3,
|
||||
@@ -58,7 +58,7 @@
|
||||
"latest_release_notes": null
|
||||
},
|
||||
"linkquality": 120,
|
||||
"power": 83.5,
|
||||
"power": 81.9,
|
||||
"current": 0.79,
|
||||
"power_on_behavior": "on"
|
||||
},
|
||||
@@ -78,9 +78,9 @@
|
||||
"state": "ON",
|
||||
"ac_frequency": 60,
|
||||
"energy": 183.81,
|
||||
"power": 99.2,
|
||||
"current": 0.89,
|
||||
"power_factor": 0.95,
|
||||
"power": 92.8,
|
||||
"current": 0.84,
|
||||
"power_factor": 0.64,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -95,11 +95,11 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 118,
|
||||
"voltage": 117.5,
|
||||
"energy": 91.18,
|
||||
"state": "ON",
|
||||
"power": 33.3,
|
||||
"current": 0.47,
|
||||
"power": 34.1,
|
||||
"current": 0.44,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.69,
|
||||
"update": {
|
||||
@@ -114,12 +114,12 @@
|
||||
},
|
||||
"0xffffb40e060895b3": {
|
||||
"state": "ON",
|
||||
"voltage": 118.6,
|
||||
"voltage": 119.1,
|
||||
"ac_frequency": 60,
|
||||
"energy": 12.09,
|
||||
"current": 0.01,
|
||||
"power": 0.1,
|
||||
"power_factor": 0.13,
|
||||
"power_factor": 0.11,
|
||||
"linkquality": 87,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -171,7 +171,7 @@
|
||||
},
|
||||
"0xa4c1380d0679ffff": {
|
||||
"battery": 100,
|
||||
"temperature": 26.1,
|
||||
"temperature": 26,
|
||||
"temperature_units": "celsius",
|
||||
"temperature_calibration": 0,
|
||||
"update": {
|
||||
@@ -224,7 +224,7 @@
|
||||
},
|
||||
"0xb40e060fffe717c5": {
|
||||
"battery": 100,
|
||||
"occupancy": true,
|
||||
"occupancy": false,
|
||||
"tamper": false,
|
||||
"battery_low": false,
|
||||
"linkquality": 116,
|
||||
|
||||
Reference in New Issue
Block a user