.ha_mcp/logs/mcp_usage.jsonl, .storage/lovelace.printer_stats
This commit is contained in:
@@ -722,3 +722,8 @@
|
|||||||
{"timestamp": "2026-08-07T13:58:27.439259+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-progress", "mode": null, "query": null}, "execution_time_ms": 1.8253326416015625, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"RESOURCE_NOT_FOUND\",\n \"message\": \"Dashboard view path 'print-progress' is not found.\",\n \"suggestion\": \"Use a view_path returned by ha_config_get_dashboard\"\n },\n \"dashboard_url_path\": \"printer-stats\",\n \"view_path\": \"print-progress\",\n \"available_view_paths\": [\n \"print\",\n \"history\"\n ]\n}", "response_size_bytes": null, "user_context": null}
|
{"timestamp": "2026-08-07T13:58:27.439259+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-progress", "mode": null, "query": null}, "execution_time_ms": 1.8253326416015625, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"RESOURCE_NOT_FOUND\",\n \"message\": \"Dashboard view path 'print-progress' is not found.\",\n \"suggestion\": \"Use a view_path returned by ha_config_get_dashboard\"\n },\n \"dashboard_url_path\": \"printer-stats\",\n \"view_path\": \"print-progress\",\n \"available_view_paths\": [\n \"print\",\n \"history\"\n ]\n}", "response_size_bytes": null, "user_context": null}
|
||||||
{"timestamp": "2026-08-07T13:58:30.063179+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": 2.002716064453125, "success": true, "error_message": null, "response_size_bytes": 6056, "user_context": null}
|
{"timestamp": "2026-08-07T13:58:30.063179+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": 2.002716064453125, "success": true, "error_message": null, "response_size_bytes": 6056, "user_context": null}
|
||||||
{"timestamp": "2026-08-07T13:58:41.133551+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": "history", "mode": null, "query": null}, "execution_time_ms": 2.062559127807617, "success": true, "error_message": null, "response_size_bytes": 3845, "user_context": null}
|
{"timestamp": "2026-08-07T13:58:41.133551+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": "history", "mode": null, "query": null}, "execution_time_ms": 2.062559127807617, "success": true, "error_message": null, "response_size_bytes": 3845, "user_context": null}
|
||||||
|
{"timestamp": "2026-08-07T13:59:38.397051+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config['views'][0]['sections'][1]['cards'][2]['entity'] = 'sensor.octoprint_elapsed'; config['views'][0]['sections'][1]['cards'][3]['entity'] = 'sensor.octoprint_time_left'; config['views'][0]['sections'][1]['cards'][5]['entity'] = 'sensor.octoprint_current_z_2'; config['views'][1]['sections'][1]['cards'][2]['entities'][0]['entity'] = 'sensor.octoprint_elapsed'; config['views'][1]['sections'][1]['cards'][2]['entities'][1]['entity'] = 'sensor.octoprint_time_left'; config['views'][1]['sections'][1]['cards'][3]['entities'][0]['entity'] = 'sensor.octoprint_current_z_2'", "config_hash": "d1233c5e27500993", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 9.004354476928711, "success": true, "error_message": null, "response_size_bytes": 1156, "user_context": null}
|
||||||
|
{"timestamp": "2026-08-07T13:59:42.580719+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "printer-stats", "list_only": false, "force_reload": false, "entity_id": "sensor.octoprint_elapsed*", "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": null, "query": null}, "execution_time_ms": 2.145528793334961, "success": true, "error_message": null, "response_size_bytes": 702, "user_context": null}
|
||||||
|
{"timestamp": "2026-08-07T13:59:42.672288+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "printer-stats", "list_only": false, "force_reload": false, "entity_id": "sensor.octoprint_current_z_2", "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": null, "query": null}, "execution_time_ms": 3.1244754791259766, "success": true, "error_message": null, "response_size_bytes": 705, "user_context": null}
|
||||||
|
{"timestamp": "2026-08-07T13:59:47.561769+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "printer-stats", "list_only": false, "force_reload": false, "entity_id": "sensor.octoprint_print_time*", "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": null, "query": null}, "execution_time_ms": 1.9838809967041016, "success": true, "error_message": null, "response_size_bytes": 403, "user_context": null}
|
||||||
|
{"timestamp": "2026-08-07T13:59:47.815671+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "printer-stats", "list_only": false, "force_reload": false, "entity_id": "sensor.octoprint_current_z", "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": null, "query": null}, "execution_time_ms": 3.7653446197509766, "success": true, "error_message": null, "response_size_bytes": 401, "user_context": null}
|
||||||
|
|||||||
@@ -93,7 +93,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "tile",
|
"type": "tile",
|
||||||
"entity": "sensor.octoprint_print_time",
|
"entity": "sensor.octoprint_elapsed",
|
||||||
"name": "Elapsed",
|
"name": "Elapsed",
|
||||||
"icon": "mdi:clock-start",
|
"icon": "mdi:clock-start",
|
||||||
"grid_options": {
|
"grid_options": {
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "tile",
|
"type": "tile",
|
||||||
"entity": "sensor.octoprint_print_time_left",
|
"entity": "sensor.octoprint_time_left",
|
||||||
"name": "Remaining",
|
"name": "Remaining",
|
||||||
"icon": "mdi:clock-end",
|
"icon": "mdi:clock-end",
|
||||||
"grid_options": {
|
"grid_options": {
|
||||||
@@ -120,7 +120,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "tile",
|
"type": "tile",
|
||||||
"entity": "sensor.octoprint_current_z",
|
"entity": "sensor.octoprint_current_z_2",
|
||||||
"name": "Current Z",
|
"name": "Current Z",
|
||||||
"icon": "mdi:axis-z-arrow",
|
"icon": "mdi:axis-z-arrow",
|
||||||
"grid_options": {
|
"grid_options": {
|
||||||
@@ -461,12 +461,12 @@
|
|||||||
"show_names": true,
|
"show_names": true,
|
||||||
"entities": [
|
"entities": [
|
||||||
{
|
{
|
||||||
"entity": "sensor.octoprint_print_time",
|
"entity": "sensor.octoprint_elapsed",
|
||||||
"name": "Elapsed",
|
"name": "Elapsed",
|
||||||
"color": "#26c6da"
|
"color": "#26c6da"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"entity": "sensor.octoprint_print_time_left",
|
"entity": "sensor.octoprint_time_left",
|
||||||
"name": "Remaining",
|
"name": "Remaining",
|
||||||
"color": "#ffa726"
|
"color": "#ffa726"
|
||||||
}
|
}
|
||||||
@@ -482,7 +482,7 @@
|
|||||||
"show_names": true,
|
"show_names": true,
|
||||||
"entities": [
|
"entities": [
|
||||||
{
|
{
|
||||||
"entity": "sensor.octoprint_current_z",
|
"entity": "sensor.octoprint_current_z_2",
|
||||||
"name": "Current Z",
|
"name": "Current Z",
|
||||||
"color": "#ab47bc"
|
"color": "#ab47bc"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user