.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json
This commit is contained in:
@@ -1939,3 +1939,5 @@
|
|||||||
{"timestamp": "2026-08-24T21:27:19.422828+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": null, "mode": null, "query": null}, "execution_time_ms": 6.738901138305664, "success": true, "error_message": null, "response_size_bytes": 17715, "user_context": null}
|
{"timestamp": "2026-08-24T21:27:19.422828+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": null, "mode": null, "query": null}, "execution_time_ms": 6.738901138305664, "success": true, "error_message": null, "response_size_bytes": 17715, "user_context": null}
|
||||||
{"timestamp": "2026-08-24T21:27:45.358919+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "cards = config['views'][0]['sections'][5]['cards']\ngi = [i for i, c in enumerate(cards) if c.get('heading') == 'Grams Usage'][0]\ncards.insert(gi + 1, {'type': 'tile', 'entity': 'sensor.octoprint_last_print_filament_weight', 'name': 'Last Job', 'icon': 'mdi:history', 'grid_options': {'columns': 4}})", "config_hash": "61276a85e3790586", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 21.744251251220703, "success": true, "error_message": null, "response_size_bytes": 886, "user_context": null}
|
{"timestamp": "2026-08-24T21:27:45.358919+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "cards = config['views'][0]['sections'][5]['cards']\ngi = [i for i, c in enumerate(cards) if c.get('heading') == 'Grams Usage'][0]\ncards.insert(gi + 1, {'type': 'tile', 'entity': 'sensor.octoprint_last_print_filament_weight', 'name': 'Last Job', 'icon': 'mdi:history', 'grid_options': {'columns': 4}})", "config_hash": "61276a85e3790586", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 21.744251251220703, "success": true, "error_message": null, "response_size_bytes": 886, "user_context": null}
|
||||||
{"timestamp": "2026-08-24T21:27:57.864951+00:00", "tool_name": "ha_set_entity", "parameters": {"entity_id": "sensor.octoprint_last_print_filament_weight", "area_id": null, "name": null, "icon": "mdi:history", "device_class": null, "options": null, "enabled": null, "hidden": null, "aliases": null, "categories": null, "labels": null, "label_operation": "set", "expose_to": null, "new_entity_id": null, "new_device_name": null}, "execution_time_ms": 4.890680313110352, "success": true, "error_message": null, "response_size_bytes": 549, "user_context": null}
|
{"timestamp": "2026-08-24T21:27:57.864951+00:00", "tool_name": "ha_set_entity", "parameters": {"entity_id": "sensor.octoprint_last_print_filament_weight", "area_id": null, "name": null, "icon": "mdi:history", "device_class": null, "options": null, "enabled": null, "hidden": null, "aliases": null, "categories": null, "labels": null, "label_operation": "set", "expose_to": null, "new_entity_id": null, "new_device_name": null}, "execution_time_ms": 4.890680313110352, "success": true, "error_message": null, "response_size_bytes": 549, "user_context": null}
|
||||||
|
{"timestamp": "2026-08-24T22:24:51.197562+00:00", "tool_name": "ha_get_automation_traces", "parameters": {"automation_id": "automation.3d_printer_running_playroom_light_basement_heat", "run_id": null, "limit": 10, "deduplicate": true, "detailed": false, "sections": null, "offset": 0, "order": "newest", "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 45.60208320617676, "success": true, "error_message": null, "response_size_bytes": 1545, "user_context": null}
|
||||||
|
{"timestamp": "2026-08-24T22:24:53.095842+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["binary_sensor.octoprint_printing", "sensor.octoprint_print_status"], "fields": null, "attribute_keys": null}, "execution_time_ms": 1176.3617992401123, "success": true, "error_message": null, "response_size_bytes": 1452, "user_context": null}
|
||||||
|
|||||||
+15
-15
@@ -22,12 +22,12 @@
|
|||||||
},
|
},
|
||||||
"0xffffb40e0607af27": {
|
"0xffffb40e0607af27": {
|
||||||
"state": "ON",
|
"state": "ON",
|
||||||
"voltage": 121.1,
|
"voltage": 121.7,
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"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.2,
|
"power": 1.9,
|
||||||
"current": 0.1,
|
"current": 0.1,
|
||||||
"energy": 32.61,
|
"energy": 32.61,
|
||||||
"power_factor": 0.17,
|
"power_factor": 0.17,
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"voltage": 121.7,
|
"voltage": 121.7,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"energy": 65.54,
|
"energy": 65.55,
|
||||||
"power_factor": 0.2,
|
"power_factor": 0.2,
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"update": {
|
"update": {
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
"latest_release_notes": null
|
"latest_release_notes": null
|
||||||
},
|
},
|
||||||
"linkquality": 138,
|
"linkquality": 138,
|
||||||
"power": 0.2,
|
"power": 83.2,
|
||||||
"current": 0.01,
|
"current": 0.01,
|
||||||
"power_on_behavior": "on"
|
"power_on_behavior": "on"
|
||||||
},
|
},
|
||||||
@@ -77,10 +77,10 @@
|
|||||||
"voltage": 120.6,
|
"voltage": 120.6,
|
||||||
"state": "ON",
|
"state": "ON",
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"energy": 132.6,
|
"energy": 132.61,
|
||||||
"power": 98.5,
|
"power": 0.8,
|
||||||
"current": 0.96,
|
"current": 0.05,
|
||||||
"power_factor": 0.94,
|
"power_factor": 0.36,
|
||||||
"update": {
|
"update": {
|
||||||
"state": "idle",
|
"state": "idle",
|
||||||
"installed_version": 268513381,
|
"installed_version": 268513381,
|
||||||
@@ -96,12 +96,12 @@
|
|||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"voltage": 122,
|
"voltage": 122,
|
||||||
"energy": 63.38,
|
"energy": 63.39,
|
||||||
"state": "ON",
|
"state": "ON",
|
||||||
"power": 45.8,
|
"power": 56,
|
||||||
"current": 0.54,
|
"current": 0.67,
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"power_factor": 0.77,
|
"power_factor": 0.71,
|
||||||
"update": {
|
"update": {
|
||||||
"state": "idle",
|
"state": "idle",
|
||||||
"installed_version": 268513381,
|
"installed_version": 268513381,
|
||||||
@@ -119,7 +119,7 @@
|
|||||||
"energy": 8.79,
|
"energy": 8.79,
|
||||||
"current": 0.01,
|
"current": 0.01,
|
||||||
"power": 0,
|
"power": 0,
|
||||||
"power_factor": 0.22,
|
"power_factor": 0.2,
|
||||||
"linkquality": 109,
|
"linkquality": 109,
|
||||||
"update": {
|
"update": {
|
||||||
"state": "idle",
|
"state": "idle",
|
||||||
@@ -172,7 +172,7 @@
|
|||||||
"0xffffb40e060893d8": {
|
"0xffffb40e060893d8": {
|
||||||
"state": "ON",
|
"state": "ON",
|
||||||
"led_brightness": 100,
|
"led_brightness": 100,
|
||||||
"voltage": 121.8,
|
"voltage": 122,
|
||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"energy": 3.69,
|
"energy": 3.69,
|
||||||
@@ -187,7 +187,7 @@
|
|||||||
"latest_source": "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/ThirdReality/SmartPlug_Zigbee_PROD_OTA_V101_1.01.01.ota",
|
"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
|
"latest_release_notes": null
|
||||||
},
|
},
|
||||||
"power_factor": 0.86,
|
"power_factor": 0.85,
|
||||||
"power": 9.6
|
"power": 9.6
|
||||||
},
|
},
|
||||||
"0xa4c1380d0679ffff": {
|
"0xa4c1380d0679ffff": {
|
||||||
|
|||||||
Reference in New Issue
Block a user