.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json
This commit is contained in:
@@ -2491,3 +2491,5 @@
|
||||
{"timestamp": "2026-08-26T07:01:47.147634+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "update.3d_printer_scroll_wheel_firmware", "fields": ["state", "attributes"], "attribute_keys": null}, "execution_time_ms": 203.23753356933594, "success": true, "error_message": null, "response_size_bytes": 723, "user_context": null}
|
||||
{"timestamp": "2026-08-26T13:11:20.717884+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "ender5-printer", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": "printer", "mode": null, "query": null}, "execution_time_ms": 34.42955017089844, "success": true, "error_message": null, "response_size_bytes": 15131, "user_context": null}
|
||||
{"timestamp": "2026-08-26T13:11:33.685917+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "printer-stats", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": "print", "mode": null, "query": null}, "execution_time_ms": 7.941246032714844, "success": true, "error_message": null, "response_size_bytes": 10363, "user_context": null}
|
||||
{"timestamp": "2026-08-26T13:12:19.028681+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "ender5-printer", "config": null, "python_transform": "config[\"views\"][0][\"sections\"][0][\"cards\"][3][\"cards\"][0] = {\"type\": \"custom:webrtc-camera\", \"entity\": \"camera.endercamera_duckdns_org\", \"show_controls\": true, \"fullscreen\": true}; config[\"views\"][0][\"sections\"][0][\"cards\"][3][\"cards\"][1] = {\"type\": \"custom:webrtc-camera\", \"entity\": \"camera.endercamera2_duckdns_org\", \"show_controls\": true, \"fullscreen\": true}", "config_hash": "1ba434da0935c2e0", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 3.9942264556884766, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"Expression raised at runtime: NameError: name 'true' is not defined\",\n \"suggestion\": \"Verify referenced keys/indices exist in the input\",\n \"suggestions\": [\n \"Verify referenced keys/indices exist in the input\",\n \"Check that types match (e.g. dict vs list operations)\",\n \"Use .get(key, default) to handle missing keys\",\n \"Expression: config[\\\"views\\\"][0][\\\"sections\\\"][0][\\\"cards\\\"][3][\\\"cards\\\"][0] = {\\\"type\\\": \\\"custom:webrtc-camera\\\", \\\"entity...\",\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\": \"python_transform\",\n \"url_path\": \"ender5-printer\"\n}", "response_size_bytes": null, "user_context": null}
|
||||
{"timestamp": "2026-08-26T13:12:20.915718+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config[\"views\"][0][\"sections\"][0][\"cards\"][1] = {\"type\": \"custom:webrtc-camera\", \"entity\": \"camera.endercamera_duckdns_org\", \"show_controls\": true, \"fullscreen\": true}; config[\"views\"][0][\"sections\"][0][\"cards\"][2] = {\"type\": \"custom:webrtc-camera\", \"entity\": \"camera.endercamera2_duckdns_org\", \"show_controls\": true, \"fullscreen\": true}", "config_hash": "30e2b3eb76e89178", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 2.712249755859375, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"Expression raised at runtime: NameError: name 'true' is not defined\",\n \"suggestion\": \"Verify referenced keys/indices exist in the input\",\n \"suggestions\": [\n \"Verify referenced keys/indices exist in the input\",\n \"Check that types match (e.g. dict vs list operations)\",\n \"Use .get(key, default) to handle missing keys\",\n \"Expression: config[\\\"views\\\"][0][\\\"sections\\\"][0][\\\"cards\\\"][1] = {\\\"type\\\": \\\"custom:webrtc-camera\\\", \\\"entity\\\": \\\"camera.e...\",\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\": \"python_transform\",\n \"url_path\": \"printer-stats\"\n}", "response_size_bytes": null, "user_context": null}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 121.6,
|
||||
"voltage": 121.5,
|
||||
"countdown_to_turn_on": 0,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.11,
|
||||
@@ -27,8 +27,8 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"power": 2.1,
|
||||
"current": 0.1,
|
||||
"power": 1.9,
|
||||
"current": 0.09,
|
||||
"energy": 32.99,
|
||||
"power_factor": 0.18,
|
||||
"update": {
|
||||
@@ -78,7 +78,7 @@
|
||||
"state": "ON",
|
||||
"ac_frequency": 60,
|
||||
"energy": 135.29,
|
||||
"power": 98.5,
|
||||
"power": 99.3,
|
||||
"current": 0.89,
|
||||
"power_factor": 0.95,
|
||||
"update": {
|
||||
@@ -95,13 +95,13 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 121.1,
|
||||
"voltage": 121.6,
|
||||
"energy": 64.52,
|
||||
"state": "ON",
|
||||
"power": 72.2,
|
||||
"current": 0.73,
|
||||
"power": 105.5,
|
||||
"current": 1.19,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.78,
|
||||
"power_factor": 0.77,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
|
||||
Reference in New Issue
Block a user