.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json
This commit is contained in:
@@ -1790,3 +1790,4 @@
|
||||
{"timestamp": "2026-08-23T05:23:48.728791+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.3d_print_early_layers_snapshot", "python_transform": "payload = {\"title\": \"3D print early check\", \"message\": \"Print passed the first few layers (Z crossed 1 mm).\", \"data\": {\"image\": \"/local/octoprint_snapshot.jpg\"}}; targets = [\"notify.mobile_app_sm_f956w\", \"notify.mobile_app_motorola_one_vision\", \"notify.mobile_app_francos_ipad\", \"notify.mobile_app_sm_t387w\"]; config[\"actions\"] = [{\"action\": \"camera.snapshot\", \"target\": {\"entity_id\": \"camera.endercamera_duckdns_org\"}, \"data\": {\"filename\": \"/config/www/octoprint_snapshot.jpg\"}}, {\"parallel\": [{\"action\": t, \"data\": payload} for t in targets]}]", "config_hash": "f41172500d0587e2", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 287.9049777984619, "success": true, "error_message": null, "response_size_bytes": 899, "user_context": null}
|
||||
{"timestamp": "2026-08-23T05:23:59.738951+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "automation", "service": "trigger", "entity_id": "automation.3d_print_complete_snapshot", "data": null, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 1226.4676094055176, "success": true, "error_message": null, "response_size_bytes": 206, "user_context": null}
|
||||
{"timestamp": "2026-08-23T05:24:09.000927+00:00", "tool_name": "ha_get_automation_traces", "parameters": {"automation_id": "automation.3d_print_complete_snapshot", "run_id": null, "limit": 1, "deduplicate": true, "detailed": false, "sections": "actions", "offset": 0, "order": "newest", "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 18.002748489379883, "success": true, "error_message": null, "response_size_bytes": 447, "user_context": null}
|
||||
{"timestamp": "2026-08-23T05:36:27.331245+00:00", "tool_name": "ha_set_integration", "parameters": {"entry_id": null, "enabled": null, "domain": "telegram_bot", "config": {}, "reconfigure": false, "expected_device_id": null, "expected_unique_id": null, "expected_mac": null, "expected_entity_ids": null, "confirm_token": "[REDACTED]"}, "execution_time_ms": 1059.960126876831, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"SERVICE_CALL_FAILED\",\n \"message\": \"Helper validation failed \\u2014 api_key: required key not provided, platform: required key not provided\",\n \"suggestion\": \"Fix the field(s) listed in 'field_errors' and retry the call.\"\n },\n \"flow_id\": \"01M0PHXH52KPDC15HYPAQNFH8P\",\n \"status_code\": 400,\n \"helper_type\": \"telegram_bot\",\n \"step_id\": \"user\",\n \"submitted_keys\": [\n \"additional_settings\"\n ],\n \"response_body\": {\n \"errors\": {\n \"api_key\": \"required key not provided\",\n \"platform\": \"required key not provided\"\n }\n },\n \"field_errors\": {\n \"api_key\": \"required key not provided\",\n \"platform\": \"required key not provided\"\n },\n \"data_schema\": [\n {\n \"selector\": {\n \"select\": {\n \"options\": [\n \"broadcast\",\n \"polling\",\n \"webhooks\"\n ],\n \"translation_key\": \"platforms\",\n \"custom_value\": false,\n \"sort\": false,\n \"multiple\": false\n }\n },\n \"name\": \"platform\",\n \"required\": true\n },\n {\n \"selector\": {\n \"text\": {\n \"type\": \"password\",\n \"autocomplete\": \"current-password\",\n \"multiple\": false,\n \"multiline\": false\n }\n },\n \"name\": \"api_key\",\n \"required\": true\n },\n {\n \"type\": \"expandable\",\n \"schema\": [\n {\n \"selector\": {\n \"text\": {\n \"type\": \"url\",\n \"multiple\": false,\n \"multiline\": false\n }\n },\n \"name\": \"api_endpoint\",\n \"required\": true,\n \"default\": \"https://api.telegram.org\"\n },\n {\n \"selector\": {\n \"text\": {\n \"type\": \"url\",\n \"multiple\": false,\n \"multiline\": false\n }\n },\n \"name\": \"proxy_url\",\n \"required\": false,\n \"optional\": true\n }\n ],\n \"expanded\": false,\n \"name\": \"additional_settings\",\n \"required\": true\n }\n ]\n}", "response_size_bytes": null, "user_context": null}
|
||||
|
||||
+22
-22
@@ -4,10 +4,10 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 122.4,
|
||||
"voltage": 121.9,
|
||||
"countdown_to_turn_on": 0,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.11,
|
||||
"power_factor": 0.14,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -22,7 +22,7 @@
|
||||
},
|
||||
"0xffffb40e0607af27": {
|
||||
"state": "ON",
|
||||
"voltage": 122.9,
|
||||
"voltage": 122.4,
|
||||
"ac_frequency": 60,
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
@@ -30,7 +30,7 @@
|
||||
"power": 2.4,
|
||||
"current": 0.1,
|
||||
"energy": 32.28,
|
||||
"power_factor": 0.16,
|
||||
"power_factor": 0.22,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -45,10 +45,10 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 122,
|
||||
"voltage": 121.5,
|
||||
"countdown_to_turn_on": 0,
|
||||
"energy": 64.1,
|
||||
"power_factor": 0.2,
|
||||
"power_factor": 0.88,
|
||||
"ac_frequency": 60,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -58,8 +58,8 @@
|
||||
"latest_release_notes": null
|
||||
},
|
||||
"linkquality": 138,
|
||||
"power": 0.2,
|
||||
"current": 0.01,
|
||||
"power": 83.8,
|
||||
"current": 0.82,
|
||||
"power_on_behavior": "on"
|
||||
},
|
||||
"0xb40e060fffe031e3": {
|
||||
@@ -74,13 +74,13 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 121.3,
|
||||
"voltage": 120.6,
|
||||
"state": "ON",
|
||||
"ac_frequency": 60,
|
||||
"energy": 129.91,
|
||||
"power": 0.8,
|
||||
"current": 0.05,
|
||||
"power_factor": 0.35,
|
||||
"energy": 129.93,
|
||||
"power": 99.3,
|
||||
"current": 0.86,
|
||||
"power_factor": 0.94,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -95,13 +95,13 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 122.3,
|
||||
"energy": 61.23,
|
||||
"voltage": 121.7,
|
||||
"energy": 61.24,
|
||||
"state": "ON",
|
||||
"power": 32.5,
|
||||
"current": 0.37,
|
||||
"power": 39.2,
|
||||
"current": 0.43,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.7,
|
||||
"power_factor": 0.73,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -119,7 +119,7 @@
|
||||
"energy": 8.78,
|
||||
"current": 0.01,
|
||||
"power": 0.1,
|
||||
"power_factor": 0.11,
|
||||
"power_factor": 0.22,
|
||||
"linkquality": 109,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -136,7 +136,7 @@
|
||||
"0xffffb40e0608864e": {
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 122.6,
|
||||
"voltage": 122.2,
|
||||
"energy": 20.08,
|
||||
"countdown_to_turn_on": 0,
|
||||
"state": "ON",
|
||||
@@ -172,7 +172,7 @@
|
||||
"0xffffb40e060893d8": {
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"voltage": 122.2,
|
||||
"voltage": 122.1,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"energy": 3.39,
|
||||
@@ -245,7 +245,7 @@
|
||||
},
|
||||
"0xb40e060fffe717c5": {
|
||||
"battery": 100,
|
||||
"occupancy": false,
|
||||
"occupancy": true,
|
||||
"tamper": false,
|
||||
"battery_low": false,
|
||||
"linkquality": 138,
|
||||
|
||||
Reference in New Issue
Block a user