.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json
This commit is contained in:
@@ -4120,3 +4120,5 @@
|
||||
{"timestamp": "2026-10-08T22:44:24.327704+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "sparkx-i7", "config": null, "python_transform": "config['views'][3]['sections'][0]['cards'][1]['picture'] = '''{% set c = states('sensor.sparkx_i7_cfs_box_1_slot_1_color') | replace('#','') | lower %}{% set svg = '<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"96\" height=\"96\"><rect width=\"96\" height=\"96\" rx=\"20\" fill=\"#' ~ c ~ '\" stroke=\"rgba(127,127,127,0.6)\" stroke-width=\"4\"/></svg>' %}{{ 'data:image/svg+xml;base64,' ~ svg | base64_encode if c | length == 6 else '' }}'''; config['views'][3]['sections'][0]['cards'][2]['picture'] = '''{% set c = states('sensor.sparkx_i7_cfs_box_1_slot_2_color') | replace('#','') | lower %}{% set svg = '<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"96\" height=\"96\"><rect width=\"96\" height=\"96\" rx=\"20\" fill=\"#' ~ c ~ '\" stroke=\"rgba(127,127,127,0.6)\" stroke-width=\"4\"/></svg>' %}{{ 'data:image/svg+xml;base64,' ~ svg | base64_encode if c | length == 6 else '' }}'''; config['views'][3]['sections'][0]['cards'][3]['picture'] = '''{% set c = states('sensor.sparkx_i7_cfs_box_1_slot_3_color') | replace('#','') | lower %}{% set svg = '<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"96\" height=\"96\"><rect width=\"96\" height=\"96\" rx=\"20\" fill=\"#' ~ c ~ '\" stroke=\"rgba(127,127,127,0.6)\" stroke-width=\"4\"/></svg>' %}{{ 'data:image/svg+xml;base64,' ~ svg | base64_encode if c | length == 6 else '' }}'''; config['views'][3]['sections'][0]['cards'][4]['picture'] = '''{% set c = states('sensor.sparkx_i7_cfs_box_1_slot_4_color') | replace('#','') | lower %}{% set svg = '<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"96\" height=\"96\"><rect width=\"96\" height=\"96\" rx=\"20\" fill=\"#' ~ c ~ '\" stroke=\"rgba(127,127,127,0.6)\" stroke-width=\"4\"/></svg>' %}{{ 'data:image/svg+xml;base64,' ~ svg | base64_encode if c | length == 6 else '' }}'''", "config_hash": "873f279812b61846", "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": 22.7358341217041, "success": true, "error_message": null, "response_size_bytes": 2659, "user_context": null}
|
||||
{"timestamp": "2026-10-08T22:44:28.576333+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "sparkx-i7", "list_only": false, "force_reload": true, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": "spoolman", "mode": null, "query": null}, "execution_time_ms": 27.362585067749023, "success": true, "error_message": null, "response_size_bytes": 32156, "user_context": null}
|
||||
{"timestamp": "2026-10-08T22:45:59.986904+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "sparkx-i7", "list_only": false, "force_reload": false, "entity_id": "sensor.sparkx_i7_cfs_box_1_slot_*", "card_type": null, "heading": null, "include_config": true, "include_screenshot": false, "view_path": null, "mode": null, "query": null}, "execution_time_ms": 21.848440170288086, "success": true, "error_message": null, "response_size_bytes": 26053, "user_context": null}
|
||||
{"timestamp": "2026-10-08T22:47:24.519833+00:00", "tool_name": "ha_get_app", "parameters": {"source": "installed", "slug": "2c829f0e_spoolman", "include_stats": false, "repository": null, "query": null}, "execution_time_ms": 5.424261093139648, "success": true, "error_message": null, "response_size_bytes": 6996, "user_context": null}
|
||||
{"timestamp": "2026-10-08T22:47:24.543911+00:00", "tool_name": "ha_get_app", "parameters": {"source": "available", "slug": null, "include_stats": false, "repository": null, "query": "spoolman"}, "execution_time_ms": 29.00981903076172, "success": true, "error_message": null, "response_size_bytes": 4210, "user_context": null}
|
||||
|
||||
+14
-14
@@ -27,7 +27,7 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"power": 2,
|
||||
"power": 1.9,
|
||||
"current": 0.09,
|
||||
"energy": 54.08,
|
||||
"power_factor": 0.19,
|
||||
@@ -45,10 +45,10 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 118,
|
||||
"voltage": 117.5,
|
||||
"countdown_to_turn_on": 0,
|
||||
"energy": 103.83,
|
||||
"power_factor": 0.2,
|
||||
"energy": 103.84,
|
||||
"power_factor": 0.9,
|
||||
"ac_frequency": 60,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -58,8 +58,8 @@
|
||||
"latest_release_notes": null
|
||||
},
|
||||
"linkquality": 145,
|
||||
"power": 82.8,
|
||||
"current": 0.82,
|
||||
"power": 83.6,
|
||||
"current": 0.88,
|
||||
"power_on_behavior": "on"
|
||||
},
|
||||
"0xb40e060fffe031e3": {
|
||||
@@ -77,8 +77,8 @@
|
||||
"voltage": 116.4,
|
||||
"state": "ON",
|
||||
"ac_frequency": 60,
|
||||
"energy": 210.89,
|
||||
"power": 102.6,
|
||||
"energy": 210.9,
|
||||
"power": 101.2,
|
||||
"current": 0.05,
|
||||
"power_factor": 0.4,
|
||||
"update": {
|
||||
@@ -98,10 +98,10 @@
|
||||
"voltage": 118.5,
|
||||
"energy": 100.75,
|
||||
"state": "ON",
|
||||
"power": 21.4,
|
||||
"current": 0.33,
|
||||
"power": 17.1,
|
||||
"current": 0.28,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.51,
|
||||
"power_factor": 0.53,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -117,9 +117,9 @@
|
||||
"voltage": 118.2,
|
||||
"ac_frequency": 60,
|
||||
"energy": 14.23,
|
||||
"current": 0.02,
|
||||
"current": 0.01,
|
||||
"power": 0.1,
|
||||
"power_factor": 0.22,
|
||||
"power_factor": 0.11,
|
||||
"linkquality": 116,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -224,7 +224,7 @@
|
||||
},
|
||||
"0xb40e060fffe717c5": {
|
||||
"battery": 100,
|
||||
"occupancy": false,
|
||||
"occupancy": true,
|
||||
"tamper": false,
|
||||
"battery_low": false,
|
||||
"linkquality": 145,
|
||||
|
||||
Reference in New Issue
Block a user