.ha_mcp/logs/mcp_usage.jsonl, .storage/lovelace.printer_stats
This commit is contained in:
@@ -2414,3 +2414,4 @@
|
||||
{"timestamp": "2026-08-26T06:03:17.068016+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "ender5-printer", "config": null, "python_transform": "\ncam_stack = config[\"views\"][0][\"sections\"][0][\"cards\"][4]\nnew_cam_stack = {\n \"type\": \"vertical-stack\",\n \"cards\": [\n {\n \"type\": \"custom:webrtc-camera\",\n \"url\": \"https://endercamera2.duckdns.org/?action=stream\",\n \"mode\": \"mse\",\n \"style\": \"border-radius: 12px 12px 0 0; overflow: hidden;\"\n },\n {\n \"type\": \"custom:mushroom-light-card\",\n \"entity\": \"light.3d_printer_lights\",\n \"name\": \"Lamp\",\n \"icon\": \"mdi:lightbulb\",\n \"show_brightness_control\": True,\n \"layout\": \"horizontal\"\n }\n ]\n}\nconfig[\"views\"][0][\"sections\"][0][\"cards\"].insert(5, new_cam_stack)\n", "config_hash": null, "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 0.16736984252929688, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_INVALID_PARAMETER\",\n \"message\": \"config_hash is required for python_transform\",\n \"suggestion\": \"Call ha_config_get_dashboard() first\",\n \"suggestions\": [\n \"Call ha_config_get_dashboard() first\",\n \"Use the config_hash from that response\",\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-26T06:03:30.392378+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "\ncam1 = config[\"views\"][0][\"sections\"][0][\"cards\"][1]\ncam2 = {\n \"type\": \"custom:webrtc-camera\",\n \"url\": \"https://endercamera2.duckdns.org/?action=stream\",\n \"mode\": \"mse\",\n \"grid_options\": {\"columns\": \"half\"}\n}\ncam1[\"grid_options\"] = {\"columns\": \"half\"}\nconfig[\"views\"][0][\"sections\"][0][\"cards\"].insert(2, cam2)\n", "config_hash": "695f4e12fae6b2d5", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 10.142326354980469, "success": true, "error_message": null, "response_size_bytes": 919, "user_context": null}
|
||||
{"timestamp": "2026-08-26T06:03:32.158433+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "ender5-printer", "config": null, "python_transform": "\nnew_cam_stack = {\n \"type\": \"vertical-stack\",\n \"cards\": [\n {\n \"type\": \"custom:webrtc-camera\",\n \"url\": \"https://endercamera2.duckdns.org/?action=stream\",\n \"mode\": \"mse\",\n \"style\": \"border-radius: 12px 12px 0 0; overflow: hidden;\"\n },\n {\n \"type\": \"custom:mushroom-light-card\",\n \"entity\": \"light.3d_printer_lights\",\n \"name\": \"Lamp\",\n \"icon\": \"mdi:lightbulb\",\n \"show_brightness_control\": True,\n \"layout\": \"horizontal\"\n }\n ]\n}\nconfig[\"views\"][0][\"sections\"][0][\"cards\"].insert(5, new_cam_stack)\n", "config_hash": "5103427cf5b794dc", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 22.165536880493164, "success": true, "error_message": null, "response_size_bytes": 1095, "user_context": null}
|
||||
{"timestamp": "2026-08-26T06:04:07.470785+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "\nconfig[\"views\"][0][\"sections\"][0][\"cards\"][1][\"grid_options\"] = {\"columns\": \"full\"}\nconfig[\"views\"][0][\"sections\"][0][\"cards\"][2][\"grid_options\"] = {\"columns\": \"full\"}\n", "config_hash": "fb5c79efa2250c72", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 13.88859748840332, "success": true, "error_message": null, "response_size_bytes": 757, "user_context": null}
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"url": "octoprint",
|
||||
"mode": "mse",
|
||||
"grid_options": {
|
||||
"columns": "half"
|
||||
"columns": "full"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -32,7 +32,7 @@
|
||||
"url": "https://endercamera2.duckdns.org/?action=stream",
|
||||
"mode": "mse",
|
||||
"grid_options": {
|
||||
"columns": "half"
|
||||
"columns": "full"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user