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

This commit is contained in:
Home Assistant Version Control committed 2026-10-10 07:10:17 +00:00
1 parent 1fd82d4b5e
commit 82f8d93f37
2 files changed
+13 -12

No files matched your search

+1
View File
@@ -4340,3 +4340,4 @@
{"timestamp": "2026-10-10T07:02:52.632073+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config['views'][2]['sections'].extend([\n {\n \"type\": \"grid\",\n \"cards\": [\n {\n \"type\": \"custom:mushroom-title-card\",\n \"title\": \"BeHappy2021 Dashboard\",\n \"subtitle\": \"{{ states('sensor.sparkx_moonraker_current_print_state') }}\",\n \"alignment\": \"center\",\n \"title_tap_action\": {\"action\": \"url\", \"url_path\": \"http://moonraker.local/\"}\n }\n ]\n },\n {\n \"type\": \"grid\",\n \"title\": \"3D Printer\",\n \"cards\": [\n {\n \"type\": \"custom:state-switch\",\n \"entity\": \"sensor.sparkx_moonraker_current_print_state\",\n \"transition\": \"flip-x\",\n \"states\": {\n \"unavailable\": {\n \"type\": \"vertical-stack\",\n \"cards\": [\n {\"type\": \"custom:mushroom-entity-card\", \"entity\": \"input_text.job_filament\", \"name\": \"Filament used in last job\", \"layout\": \"vertical\", \"tap_action\": {\"action\": \"none\"}, \"hold_action\": {\"action\": \"none\"}, \"double_tap_action\": {\"action\": \"none\"}},\n {\"type\": \"custom:mushroom-entity-card\", \"entity\": \"input_text.total_filament\", \"name\": \"Total Filament Used\", \"layout\": \"vertical\", \"tap_action\": {\"action\": \"none\"}, \"hold_action\": {\"action\": \"none\"}, \"double_tap_action\": {\"action\": \"none\"}},\n {\"type\": \"custom:mushroom-entity-card\", \"entity\": \"input_text.total_jobs\", \"name\": \"Total Jobs\", \"layout\": \"vertical\", \"tap_action\": {\"action\": \"none\"}, \"hold_action\": {\"action\": \"none\"}, \"double_tap_action\": {\"action\": \"none\"}},\n {\"type\": \"custom:mushroom-entity-card\", \"entity\": \"input_text.total_time\", \"name\": \"Total Time\", \"layout\": \"vertical\", \"tap_action\": {\"action\": \"none\"}, \"hold_action\": {\"action\": \"none\"}, \"double_tap_action\": {\"action\": \"none\"}}\n ]\n },\n \"standby\": {\n \"type\": \"custom:mushroom-template-card\",\n \"primary\": \"Printer is standing by\",\n \"layout\": \"vertical\",\n \"tap_action\": {\"action\": \"url\", \"url_path\": \"http://moonraker.local/\"},\n \"hold_action\": {\"action\": \"none\"},\n \"double_tap_action\": {\"action\": \"none\"},\n \"icon_color\": \"yellow\",\n \"icon\": \"mdi:printer-3d\"\n },\n \"printing\": {\n \"type\": \"vertical-stack\",\n \"cards\": [\n {\n \"type\": \"custom:mushroom-template-card\",\n \"secondary\": \"Current filename - {{ states('sensor.sparkx_moonraker_filename') }}\",\n \"fill_container\": True,\n \"multiline_secondary\": True,\n \"layout\": \"vertical\",\n \"tap_action\": {\"action\": \"url\", \"url_path\": \"http://moonraker.local/\"},\n \"hold_action\": {\"action\": \"none\"},\n \"double_tap_action\": {\"action\": \"none\"},\n \"icon_color\": \"green\",\n \"icon\": \"mdi:printer-3d\"\n },\n {\n \"type\": \"horizontal-stack\",\n \"cards\": [\n {\"type\": \"custom:mushroom-entity-card\", \"entity\": \"sensor.sparkx_moonraker_current_print_state\", \"name\": \"Status\", \"layout\": \"vertical\", \"tap_action\": {\"action\": \"none\"}, \"hold_action\": {\"action\": \"none\"}, \"double_tap_action\": {\"action\": \"none\"}},\n {\"type\": \"custom:mushroom-entity-card\", \"entity\": \"sensor.sparkx_moonraker_print_duration\", \"name\": \"Elapsed\", \"layout\": \"vertical\", \"tap_action\": {\"action\": \"none\"}, \"hold_action\": {\"action\": \"none\"}, \"double_tap_action\": {\"action\": \"none\"}},\n {\"type\": \"custom:mushroom-entity-card\", \"entity\": \"sensor.sparkx_moonraker_print_eta\", \"name\": \"Completion\", \"layout\": \"vertical\", \"tap_action\": {\"action\": \"none\"}, \"hold_action\": {\"action\": \"none\"}, \"double_tap_action\": {\"action\": \"none\"}},\n {\"type\": \"custom:mushroom-entity-card\", \"entity\": \"binary_sensor.sparkx_moonraker_filament_sensor\", \"name\": \"Filament\", \"layout\": \"vertical\", \"tap_action\": {\"action\": \"none\"}, \"hold_action\": {\"action\": \"none\"}, \"double_tap_action\": {\"action\": \"none\"}}\n ]\n }\n ]\n },\n \"complete\": {\n \"type\": \"custom:mushroom-template-card\",\n \"primary\": \"Printing has finished\",\n \"layout\": \"vertical\",\n \"fill_container\": True,\n \"tap_action\": {\"action\": \"url\", \"uLine truncated {"timestamp": "2026-10-10T07:02:52.632073+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config['views'][2]['sections'].extend([\n {\n \"type\": \"grid\",\n \"cards\": [\n {\n \"type\": \"custom:mushroom-title-card\",\n \"title\": \"BeHappy2021 Dashboard\",\n \"subtitle\": \"{{ states('sensor.sparkx_moonraker_current_print_state') }}\",\n \"alignment\": \"center\",\n \"title_tap_action\": {\"action\": \"url\", \"url_path\": \"http://moonraker.local/\"}\n }\n ]\n },\n {\n \"type\": \"grid\",\n \"title\": \"3D Printer\",\n \"cards\": [\n {\n \"type\": \"custom:state-switch\",\n \"entity\": \"sensor.sparkx_moonraker_current_print_state\",\n \"transition\": \"flip-x\",\n \"states\": {\n \"unavailable\": {\n \"type\": \"vertical-stack\",\n \"cards\": [\n {\"type\": \"custom:mushroom-entity-card\", \"entity\": \"input_text.job_filament\", \"name\": \"Filament used in last job\", \"layout\": \"vertical\", \"tap_action\": {\"action\": \"none\"}, \"hold_action\": {\"action\": \"none\"}, \"double_tap_action\": {\"action\": \"none\"}},\n {\"type\": \"custom:mushroom-entity-card\", \"entity\": \"input_text.total_filament\", \"name\": \"Total Filament Used\", \"layout\": \"vertical\", \"tap_action\": {\"action\": \"none\"}, \"hold_action\": {\"action\": \"none\"}, \"double_tap_action\": {\"action\": \"none\"}},\n {\"type\": \"custom:mushroom-entity-card\", \"entity\": \"input_text.total_jobs\", \"name\": \"Total Jobs\", \"layout\": \"vertical\", \"tap_action\": {\"action\": \"none\"}, \"hold_action\": {\"action\": \"none\"}, \"double_tap_action\": {\"action\": \"none\"}},\n {\"type\": \"custom:mushroom-entity-card\", \"entity\": \"input_text.total_time\", \"name\": \"Total Time\", \"layout\": \"vertical\", \"tap_action\": {\"action\": \"none\"}, \"hold_action\": {\"action\": \"none\"}, \"double_tap_action\": {\"action\": \"none\"}}\n ]\n },\n \"standby\": {\n \"type\": \"custom:mushroom-template-card\",\n \"primary\": \"Printer is standing by\",\n \"layout\": \"vertical\",\n \"tap_action\": {\"action\": \"url\", \"url_path\": \"http://moonraker.local/\"},\n \"hold_action\": {\"action\": \"none\"},\n \"double_tap_action\": {\"action\": \"none\"},\n \"icon_color\": \"yellow\",\n \"icon\": \"mdi:printer-3d\"\n },\n \"printing\": {\n \"type\": \"vertical-stack\",\n \"cards\": [\n {\n \"type\": \"custom:mushroom-template-card\",\n \"secondary\": \"Current filename - {{ states('sensor.sparkx_moonraker_filename') }}\",\n \"fill_container\": True,\n \"multiline_secondary\": True,\n \"layout\": \"vertical\",\n \"tap_action\": {\"action\": \"url\", \"url_path\": \"http://moonraker.local/\"},\n \"hold_action\": {\"action\": \"none\"},\n \"double_tap_action\": {\"action\": \"none\"},\n \"icon_color\": \"green\",\n \"icon\": \"mdi:printer-3d\"\n },\n {\n \"type\": \"horizontal-stack\",\n \"cards\": [\n {\"type\": \"custom:mushroom-entity-card\", \"entity\": \"sensor.sparkx_moonraker_current_print_state\", \"name\": \"Status\", \"layout\": \"vertical\", \"tap_action\": {\"action\": \"none\"}, \"hold_action\": {\"action\": \"none\"}, \"double_tap_action\": {\"action\": \"none\"}},\n {\"type\": \"custom:mushroom-entity-card\", \"entity\": \"sensor.sparkx_moonraker_print_duration\", \"name\": \"Elapsed\", \"layout\": \"vertical\", \"tap_action\": {\"action\": \"none\"}, \"hold_action\": {\"action\": \"none\"}, \"double_tap_action\": {\"action\": \"none\"}},\n {\"type\": \"custom:mushroom-entity-card\", \"entity\": \"sensor.sparkx_moonraker_print_eta\", \"name\": \"Completion\", \"layout\": \"vertical\", \"tap_action\": {\"action\": \"none\"}, \"hold_action\": {\"action\": \"none\"}, \"double_tap_action\": {\"action\": \"none\"}},\n {\"type\": \"custom:mushroom-entity-card\", \"entity\": \"binary_sensor.sparkx_moonraker_filament_sensor\", \"name\": \"Filament\", \"layout\": \"vertical\", \"tap_action\": {\"action\": \"none\"}, \"hold_action\": {\"action\": \"none\"}, \"double_tap_action\": {\"action\": \"none\"}}\n ]\n }\n ]\n },\n \"complete\": {\n \"type\": \"custom:mushroom-template-card\",\n \"primary\": \"Printing has finished\",\n \"layout\": \"vertical\",\n \"fill_container\": True,\n \"tap_action\": {\"action\": \"url\", \"uLine truncated
{"timestamp": "2026-10-10T07:04:18.034674+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": "test", "mode": null, "query": null}, "execution_time_ms": 23.795604705810547, "success": true, "error_message": null, "response_size_bytes": 13879, "user_context": null} {"timestamp": "2026-10-10T07:04:18.034674+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": "test", "mode": null, "query": null}, "execution_time_ms": 23.795604705810547, "success": true, "error_message": null, "response_size_bytes": 13879, "user_context": null}
{"timestamp": "2026-10-10T07:04:35.855579+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.active_spool", "input_text.job_filament", "input_text.total_filament", "input_text.total_jobs", "input_text.total_time", "number.sparkx_moonraker_extruder_target", "number.sparkx_moonraker_bed_target", "sensor.sparkx_moonraker_current_print_state"], "fields": ["state"], "attribute_keys": null}, "execution_time_ms": 1.8167495727539062, "success": true, "error_message": null, "response_size_bytes": 825, "user_context": null} {"timestamp": "2026-10-10T07:04:35.855579+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.active_spool", "input_text.job_filament", "input_text.total_filament", "input_text.total_jobs", "input_text.total_time", "number.sparkx_moonraker_extruder_target", "number.sparkx_moonraker_bed_target", "sensor.sparkx_moonraker_current_print_state"], "fields": ["state"], "attribute_keys": null}, "execution_time_ms": 1.8167495727539062, "success": true, "error_message": null, "response_size_bytes": 825, "user_context": null}
{"timestamp": "2026-10-10T07:10:10.256815+00:00", "tool_name": "ha_search", "parameters": {"query": "sparkx_moonraker", "domain_filter": null, "area_filter": null, "search_types": null, "limit": 100, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": ["entity_id", "friendly_name"], "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 485.3088855743408, "success": true, "error_message": null, "response_size_bytes": 8166, "user_context": null}
+12 -12
View File
@@ -7,7 +7,7 @@
"voltage": 122, "voltage": 122,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"ac_frequency": 60, "ac_frequency": 60,
"power_factor": 0.13, "power_factor": 0.14,
"update": { "update": {
"state": "idle", "state": "idle",
"installed_version": 268513381, "installed_version": 268513381,
@@ -27,7 +27,7 @@
"led_brightness": 100, "led_brightness": 100,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"power": 2, "power": 1.9,
"current": 0.1, "current": 0.1,
"energy": 54.37, "energy": 54.37,
"power_factor": 0.16, "power_factor": 0.16,
@@ -58,8 +58,8 @@
"latest_release_notes": null "latest_release_notes": null
}, },
"linkquality": 145, "linkquality": 145,
"power": 0.5, "power": 97,
"current": 0.05, "current": 1,
"power_on_behavior": "on" "power_on_behavior": "on"
}, },
"0xb40e060fffe031e3": { "0xb40e060fffe031e3": {
@@ -78,7 +78,7 @@
"state": "ON", "state": "ON",
"ac_frequency": 60, "ac_frequency": 60,
"energy": 213.25, "energy": 213.25,
"power": 100, "power": 98.1,
"current": 0.92, "current": 0.92,
"power_factor": 0.94, "power_factor": 0.94,
"update": { "update": {
@@ -98,8 +98,8 @@
"voltage": 121, "voltage": 121,
"energy": 101.23, "energy": 101.23,
"state": "ON", "state": "ON",
"power": 15, "power": 10.4,
"current": 0.24, "current": 0.18,
"ac_frequency": 60, "ac_frequency": 60,
"power_factor": 0.51, "power_factor": 0.51,
"update": { "update": {
@@ -117,9 +117,9 @@
"voltage": 121.2, "voltage": 121.2,
"ac_frequency": 60, "ac_frequency": 60,
"energy": 14.61, "energy": 14.61,
"current": 0.02, "current": 0.01,
"power": 0.1, "power": 0.2,
"power_factor": 0.11, "power_factor": 0.22,
"linkquality": 116, "linkquality": 116,
"update": { "update": {
"state": "idle", "state": "idle",
@@ -136,7 +136,7 @@
"0xffffb40e0608864e": { "0xffffb40e0608864e": {
"led_brightness": 100, "led_brightness": 100,
"countdown_to_turn_off": 0, "countdown_to_turn_off": 0,
"voltage": 121.2, "voltage": 121.7,
"energy": 35.75, "energy": 35.75,
"countdown_to_turn_on": 0, "countdown_to_turn_on": 0,
"state": "ON", "state": "ON",
@@ -224,7 +224,7 @@
}, },
"0xb40e060fffe717c5": { "0xb40e060fffe717c5": {
"battery": 100, "battery": 100,
"occupancy": false, "occupancy": true,
"tamper": false, "tamper": false,
"battery_low": false, "battery_low": false,
"linkquality": 145, "linkquality": 145,