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

This commit is contained in:
Home Assistant Version Control
2026-08-18 15:52:21 +00:00
parent 11a1655d8b
commit eca09e1ce4
2 changed files with 28 additions and 26 deletions
+2
View File
@@ -1700,3 +1700,5 @@
{"timestamp": "2026-08-18T14:26:10.912464+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "\n# Temperatures section is views[0].sections[2]\nsection = config['views'][0]['sections'][2]\n\n# Find and update the nozzle chart\nfor card in section['cards']:\n if card.get('title') == 'Nozzle Temperature' and card.get('type') == 'history-graph':\n for entity in card.get('entities', []):\n if entity.get('name') == 'Target':\n entity['color'] = '#4caf50' # Green\n\n# Find and update the bed chart\nfor card in section['cards']:\n if card.get('title') == 'Bed Temperature' and card.get('type') == 'history-graph':\n for entity in card.get('entities', []):\n if entity.get('name') == 'Target':\n entity['color'] = '#4caf50' # Green\n", "config_hash": "e54892f851f38fac", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": true, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 25.226831436157227, "success": true, "error_message": null, "response_size_bytes": 30779, "user_context": null}
{"timestamp": "2026-08-18T15:11:01.809214+00:00", "tool_name": "ha_get_history", "parameters": {"entity_ids": ["sensor.octoprint_tool_0_temperature", "sensor.octoprint_tool_0_target"], "source": "history", "start_time": "1.5h", "end_time": null, "minimal_response": true, "significant_changes_only": true, "limit": null, "offset": null, "period": "day", "statistic_types": null, "order": "desc", "fields": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 0.5362033843994141, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_INVALID_PARAMETER\",\n \"message\": \"Invalid time format: 1.5h. Use ISO format or relative (e.g., '24h', '7d', '2w', '1m')\",\n \"suggestion\": \"Use ISO format: '2025-01-25T00:00:00Z'\",\n \"suggestions\": [\n \"Use ISO format: '2025-01-25T00:00:00Z'\",\n \"Use relative format: '24h', '7d', '2w', '1m'\"\n ]\n },\n \"parameter\": \"start_time\"\n}", "response_size_bytes": null, "user_context": null}
{"timestamp": "2026-08-18T15:11:08.543844+00:00", "tool_name": "ha_get_history", "parameters": {"entity_ids": ["sensor.octoprint_tool_0_temperature", "sensor.octoprint_tool_0_target", "sensor.octoprint_bed_temperature", "sensor.octoprint_bed_target"], "source": "history", "start_time": "1h", "end_time": null, "minimal_response": true, "significant_changes_only": true, "limit": null, "offset": null, "period": "day", "statistic_types": null, "order": "desc", "fields": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 180.29522895812988, "success": true, "error_message": null, "response_size_bytes": 25551, "user_context": null}
{"timestamp": "2026-08-18T15:52:14.441984+00:00", "tool_name": "ha_get_history", "parameters": {"entity_ids": ["sensor.octoprint_tool_0_temperature", "sensor.octoprint_tool_0_target", "sensor.octoprint_bed_temperature", "sensor.octoprint_bed_target"], "source": "history", "start_time": "1h", "end_time": null, "minimal_response": true, "significant_changes_only": true, "limit": null, "offset": null, "period": "day", "statistic_types": null, "order": "desc", "fields": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 33.17141532897949, "success": true, "error_message": null, "response_size_bytes": 21033, "user_context": null}
{"timestamp": "2026-08-18T15:52:14.568017+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "binary_sensor.octoprint_printing", "fields": null, "attribute_keys": null}, "execution_time_ms": 4.783391952514648, "success": true, "error_message": null, "response_size_bytes": 712, "user_context": null}
+26 -26
View File
@@ -7,7 +7,7 @@
"voltage": 121,
"countdown_to_turn_on": 0,
"ac_frequency": 60,
"power_factor": 0.11,
"power_factor": 0.14,
"update": {
"state": "idle",
"installed_version": 268513381,
@@ -22,15 +22,15 @@
},
"0xffffb40e0607af27": {
"state": "ON",
"voltage": 120.1,
"voltage": 119.1,
"ac_frequency": 60,
"led_brightness": 100,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"power": 2.6,
"power": 2.3,
"current": 0.12,
"energy": 29.92,
"power_factor": 0.15,
"energy": 29.97,
"power_factor": 0.17,
"update": {
"state": "idle",
"installed_version": 268513381,
@@ -47,7 +47,7 @@
"countdown_to_turn_off": 0,
"voltage": 120.5,
"countdown_to_turn_on": 0,
"energy": 60.13,
"energy": 60.18,
"power_factor": 0.87,
"ac_frequency": 60,
"update": {
@@ -58,13 +58,13 @@
"latest_release_notes": null
},
"linkquality": 134,
"power": 82.8,
"power": 82.6,
"current": 0.79,
"power_on_behavior": "on"
},
"0xb40e060fffe031e3": {
"battery": 100,
"contact": false,
"contact": true,
"tamper": false,
"battery_low": false,
"linkquality": 134,
@@ -74,12 +74,12 @@
"led_brightness": 100,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"voltage": 120.1,
"voltage": 121.9,
"state": "ON",
"ac_frequency": 60,
"energy": 122.41,
"power": 97.1,
"current": 0.9,
"energy": 122.46,
"power": 102.6,
"current": 0.87,
"power_factor": 0.94,
"update": {
"state": "idle",
@@ -95,13 +95,13 @@
"led_brightness": 100,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"voltage": 119.7,
"energy": 55.92,
"voltage": 120.2,
"energy": 55.98,
"state": "ON",
"power": 90.3,
"current": 0.96,
"power": 91.2,
"current": 0.9,
"ac_frequency": 60,
"power_factor": 0.79,
"power_factor": 0.8,
"update": {
"state": "idle",
"installed_version": 268513381,
@@ -114,12 +114,12 @@
},
"0xffffb40e060895b3": {
"state": "ON",
"voltage": 121.3,
"voltage": 121,
"ac_frequency": 60,
"energy": 8.28,
"current": 0.02,
"power": 1.1,
"power_factor": 0.11,
"current": 0.01,
"power": 0.2,
"power_factor": 0.22,
"linkquality": 123,
"update": {
"state": "idle",
@@ -136,14 +136,14 @@
"0xffffb40e0608864e": {
"led_brightness": 100,
"countdown_to_turn_off": 0,
"voltage": 121.7,
"voltage": 121.2,
"energy": 18.71,
"countdown_to_turn_on": 0,
"state": "ON",
"current": 0.02,
"ac_frequency": 60,
"power": 0.4,
"power_factor": 0.14,
"power_factor": 0.15,
"update": {
"state": "idle",
"installed_version": 268513381,
@@ -187,8 +187,8 @@
"latest_source": "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/ThirdReality/SmartPlug_Zigbee_PROD_OTA_V101_1.01.01.ota",
"latest_release_notes": null
},
"power_factor": 0.13,
"power": 0.8
"power_factor": 0.06,
"power": 0.6
},
"0xa4c1380d0679ffff": {
"battery": 100,
@@ -245,7 +245,7 @@
},
"0xb40e060fffe717c5": {
"battery": 100,
"occupancy": true,
"occupancy": false,
"tamper": false,
"battery_low": false,
"linkquality": 72,