.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json

This commit is contained in:
Home Assistant Version Control
2026-10-10 06:22:00 +00:00
parent 0e1ecdedc0
commit ccc09a05ab
2 changed files with 12 additions and 7 deletions
+5
View File
@@ -4272,3 +4272,8 @@
{"timestamp": "2026-10-10T06:16:58.964355+00:00", "tool_name": "ha_search", "parameters": {"query": "atc_3d_temperature", "domain_filter": null, "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": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 176.8505573272705, "success": true, "error_message": null, "response_size_bytes": 506, "user_context": null}
{"timestamp": "2026-10-10T06:17:25.283728+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["camera.sparkx_moonraker_back", "camera.sparkx_moonraker_bed", "camera.sparkx_moonraker_thumbnail", "number.sparkx_moonraker_output_pin_fan0", "sensor.sparkx_moonraker_hotend_fan", "sensor.sparkx_moonraker_mcu_temp"], "fields": ["entity_id", "state", "attributes"], "attribute_keys": ["friendly_name", "access_token", "entity_picture", "unit_of_measurement", "device_class"]}, "execution_time_ms": 13.564825057983398, "success": true, "error_message": null, "response_size_bytes": 2121, "user_context": null}
{"timestamp": "2026-10-10T06:18:30.910601+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config['views'][2]['sections'] = [\n {'type': 'grid', 'cards': [\n {'type': 'custom:mushroom-title-card', 'title': \"Moonraker – {{ states('sensor.sparkx_moonraker_current_display_message') }}\", 'subtitle': \"{{ states('sensor.sparkx_moonraker_filename') }}\", 'alignment': 'center', 'title_tap_action': {'action': 'url', 'url_path': 'http://moonraker.local/'}},\n {'type': 'tile', 'entity': 'sensor.sparkx_moonraker_current_print_state', 'name': 'Status', 'grid_options': {'columns': 4}},\n {'type': 'tile', 'entity': 'sensor.sparkx_moonraker_print_duration', 'name': 'Elapsed', 'grid_options': {'columns': 4}},\n {'type': 'tile', 'entity': 'sensor.sparkx_moonraker_print_eta', 'name': 'Completion', 'grid_options': {'columns': 4}},\n {'type': 'tile', 'entity': 'sensor.sparkx_moonraker_progress', 'name': 'Print Progress', 'icon': 'mdi:clock-end', 'features': [{'type': 'bar-gauge', 'min': 0, 'max': 100}], 'grid_options': {'columns': 'full'}}\n ]},\n {'type': 'grid', 'cards': [\n {'type': 'heading', 'heading': 'Controls', 'icon': 'mdi:gesture-tap-button'},\n {'type': 'grid', 'columns': 4, 'square': False, 'cards': [\n {'type': 'custom:button-card', 'entity': 'button.sparkx_moonraker_pause_print', 'color_type': 'icon', 'tap_action': {'action': 'toggle'}, 'name': 'Pause'},\n {'type': 'custom:button-card', 'entity': 'button.sparkx_moonraker_resume_print', 'color_type': 'icon', 'tap_action': {'action': 'toggle'}, 'name': 'Resume'},\n {'type': 'custom:button-card', 'entity': 'button.sparkx_moonraker_cancel_print', 'color_type': 'icon', 'tap_action': {'action': 'toggle'}, 'name': 'Cancel', 'lock': {'enabled': False}, 'confirmation': {'text': 'This will CANCEL the print. Are you sure?'}},\n {'type': 'custom:button-card', 'entity': 'button.sparkx_moonraker_emergency_stop', 'color_type': 'icon', 'color': 'red', 'tap_action': {'action': 'toggle'}, 'name': 'Emergency', 'lock': {'enabled': False}, 'confirmation': {'text': 'This will REBOOT the printer. Are you sure?'}}\n ], 'grid_options': {'columns': 'full'}}\n ]},\n {'type': 'grid', 'cards': [\n {'type': 'heading', 'heading': 'Printer Temperatures', 'icon': 'mdi:thermometer'},\n {'type': 'custom:apexcharts-card', 'graph_span': '1h', 'header': {'show': True, 'title': 'Printer Temperatures', 'show_states': True, 'colorize_states': True}, 'apex_config': {'chart': {'height': 200, 'legend': {'show': False}}, 'grid': {'xaxis': {'lines': {'show': True}, 'borderColor': '#555'}}, 'yaxis': [{'opposite': True, 'decimals': 0, 'tickAmount': 2}]}, 'all_series_config': {'stroke_width': 2, 'float_precision': 0, 'show': {'name_in_header': True}}, 'series': [\n {'entity': 'sensor.sparkx_moonraker_extruder_temperature', 'name': 'Hotend'},\n {'entity': 'sensor.sparkx_moonraker_bed_temperature', 'name': 'Bed'},\n {'entity': 'sensor.sparkx_moonraker_mcu_temp', 'name': 'MCU'}\n ], 'grid_options': {'columns': 'full'}}\n ]},\n {'type': 'grid', 'cards': [\n {'type': 'heading', 'heading': 'Fan Speeds', 'icon': 'mdi:fan'},\n {'type': 'custom:apexcharts-card', 'graph_span': '1h', 'header': {'show': True, 'title': 'Fan Speeds', 'show_states': True, 'colorize_states': True}, 'apex_config': {'chart': {'height': 200, 'legend': {'show': False}}, 'grid': {'xaxis': {'lines': {'show': True}, 'borderColor': '#555'}}, 'yaxis': [{'opposite': True, 'decimals': 0, 'tickAmount': 2}]}, 'all_series_config': {'stroke_width': 2, 'show': {'name_in_header': True}}, 'series': [\n {'entity': 'sensor.sparkx_moonraker_hotend_fan', 'name': 'Hotend'}\n ], 'grid_options': {'columns': 'full'}}\n ]},\n {'type': 'grid', 'cards': [\n {'type': 'heading', 'heading': 'Camera', 'icon': 'mdi:camera'},\n {'type': 'conditional', 'conditions': [{'entity': 'sensor.sparkx_moonraker_current_print_state', 'state_not': 'unavailable'}], 'card': {'type': 'picture-entity', 'entity': 'camera.sparkx_moonraker_back', 'camera_view': 'live', 'show_name': False, 'show_state': False, 'aspect_ratio': '4x3'}, 'grid_options': {'columns': 6}},\n {'type': 'conditional', 'conditions': [{'entity': 'sensor.sparkx_moonraker_current_print_state', 'state_not': 'unavailable'}], 'card': {'type': 'picture-entity', 'entity': 'camera.sparkx_moonraker_thumbnail', 'camera_view': 'auto', 'show_name': False, 'show_state': False}, 'grid_options': {'columns': 6}}\n ]}\n]", "config_hash": "968e5b5ada3420d2", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null, "patch": null}, "execution_time_ms": 142.09318161010742, "success": true, "error_message": null, "response_size_bytes": 5638, "user_context": null}
{"timestamp": "2026-10-10T06:21:52.673447+00:00", "tool_name": "ha_search", "parameters": {"query": "spool", "domain_filter": null, "area_filter": null, "search_types": null, "limit": 30, "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": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 241.40024185180664, "success": true, "error_message": null, "response_size_bytes": 7598, "user_context": null}
{"timestamp": "2026-10-10T06:21:52.674725+00:00", "tool_name": "ha_search", "parameters": {"query": "notify", "domain_filter": "notify", "area_filter": null, "search_types": null, "limit": 20, "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": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 223.2670783996582, "success": true, "error_message": null, "response_size_bytes": 1549, "user_context": null}
{"timestamp": "2026-10-10T06:21:52.768940+00:00", "tool_name": "ha_get_device", "parameters": {"device_id": null, "entity_id": "sensor.sparkx_moonraker_printer_state", "integration": null, "area_id": null, "manufacturer": null, "limit": 50, "offset": 0, "detail_level": "summary"}, "execution_time_ms": 324.3062496185303, "success": true, "error_message": null, "response_size_bytes": 75044, "user_context": null}
{"timestamp": "2026-10-10T06:21:52.839466+00:00", "tool_name": "ha_get_hacs_info", "parameters": {"action": "search", "query": "state-switch", "category": "lovelace", "installed_only": false, "max_results": 10, "offset": 0, "repository_id": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 393.11981201171875, "success": true, "error_message": null, "response_size_bytes": 1226, "user_context": null}
{"timestamp": "2026-10-10T06:21:52.840871+00:00", "tool_name": "ha_get_hacs_info", "parameters": {"action": "search", "query": "bar-card", "category": "lovelace", "installed_only": false, "max_results": 10, "offset": 0, "repository_id": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 390.5625343322754, "success": true, "error_message": null, "response_size_bytes": 3018, "user_context": null}
+7 -7
View File
@@ -45,7 +45,7 @@
"state": "ON",
"led_brightness": 100,
"countdown_to_turn_off": 0,
"voltage": 120.3,
"voltage": 120.8,
"countdown_to_turn_on": 0,
"energy": 105.03,
"power_factor": 0.3,
@@ -77,8 +77,8 @@
"voltage": 119.4,
"state": "ON",
"ac_frequency": 60,
"energy": 213.16,
"power": 108.1,
"energy": 213.17,
"power": 106.3,
"current": 1.13,
"power_factor": 0.95,
"update": {
@@ -98,8 +98,8 @@
"voltage": 121.2,
"energy": 101.22,
"state": "ON",
"power": 24.2,
"current": 0.24,
"power": 10.8,
"current": 0.21,
"ac_frequency": 60,
"power_factor": 0.54,
"update": {
@@ -119,7 +119,7 @@
"energy": 14.61,
"current": 0.02,
"power": 0.1,
"power_factor": 0.11,
"power_factor": 0.2,
"linkquality": 116,
"update": {
"state": "idle",
@@ -136,7 +136,7 @@
"0xffffb40e0608864e": {
"led_brightness": 100,
"countdown_to_turn_off": 0,
"voltage": 121.2,
"voltage": 120.7,
"energy": 35.63,
"countdown_to_turn_on": 0,
"state": "ON",