.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json
This commit is contained in:
@@ -4567,3 +4567,5 @@
|
||||
{"timestamp": "2026-10-15T13:23:54.686981+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "1791477238762", "python_transform": "_repl = [(\"matching the previous slot color hex\", \"matching the previous slot's CFS Lite location\"), (\"Spoolman: no spool for slot color\", \"Spoolman: no spool for the latched slot\"), (\"no Spoolman spool in the CFS Lite location with remaining weight matches that color. Register the new roll in Spoolman with location CFS Lite, then adjust manually if needed.\", \"no Spoolman spool with remaining weight is in that slot's CFS Lite location. Register the new roll in Spoolman in that location, then adjust manually if needed.\")]\nstack = [config]\nfor _ in range(20000):\n if not stack:\n break\n node = stack.pop()\n if isinstance(node, dict):\n for k in list(node.keys()):\n v = node[k]\n if isinstance(v, str):\n for a, b in _repl:\n if a in v:\n v = v.replace(a, b)\n node[k] = v\n elif isinstance(v, (dict, list)):\n stack.append(v)\n elif isinstance(node, list):\n for i in range(len(node)):\n v = node[i]\n if isinstance(v, str):\n for a, b in _repl:\n if a in v:\n v = v.replace(a, b)\n node[i] = v\n elif isinstance(v, (dict, list)):\n stack.append(v)", "config_hash": "08b02cf1d51b4a70", "take_control_of_blueprint": false, "category": null, "wait": true, "enabled": null, "run_actions": false, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 1540.0571823120117, "success": true, "error_message": null, "response_size_bytes": 9229, "user_context": null}
|
||||
{"timestamp": "2026-10-15T13:23:54.831977+00:00", "tool_name": "ha_config_set_script", "parameters": {"script_id": "spoolman_set_spool_remaining", "config": null, "python_transform": "_repl = [(\"CFS slot number 1-4 - resolves the spool by the slot color hex\", \"CFS slot number 1-4 - resolves the spool by the slot's CFS Lite location\"), (\"register a spool with that color hex and location in Spoolman, then try again.\", \"register a spool with that CFS Lite location in Spoolman, then try again.\"), (\"Pass slot (1-4) to resolve the spool by the CFS slot color hex in the CFS Lite location\", \"Pass slot (1-4) to resolve the spool by the CFS slot location in the CFS Lite\")]\nstack = [config]\nfor _ in range(20000):\n if not stack:\n break\n node = stack.pop()\n if isinstance(node, dict):\n for k in list(node.keys()):\n v = node[k]\n if isinstance(v, str):\n for a, b in _repl:\n if a in v:\n v = v.replace(a, b)\n node[k] = v\n elif isinstance(v, (dict, list)):\n stack.append(v)\n elif isinstance(node, list):\n for i in range(len(node)):\n v = node[i]\n if isinstance(v, str):\n for a, b in _repl:\n if a in v:\n v = v.replace(a, b)\n node[i] = v\n elif isinstance(v, (dict, list)):\n stack.append(v)", "config_hash": "47a9069453dcf38d", "take_control_of_blueprint": false, "category": null, "wait": true, "run": null, "variables": null, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 1638.6640071868896, "success": true, "error_message": null, "response_size_bytes": 7396, "user_context": null}
|
||||
{"timestamp": "2026-10-15T13:23:55.041771+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "1791477238799", "python_transform": "_repl = [(\"A single-colour job whose colour is in a loaded slot is checked exactly against that slot's spool; otherwise the\", \"A single-colour job is checked exactly against the spool in the print's active CFS slot; otherwise the\"), (\"No exact colour match for the print colour #{{ gcol | upper }} in a loaded CFS slot, so the exact spool cannot be identified.\", \"No active CFS slot reported for the print colour #{{ gcol | upper }}, so the exact spool cannot be identified.\")]\nstack = [config]\nfor _ in range(20000):\n if not stack:\n break\n node = stack.pop()\n if isinstance(node, dict):\n for k in list(node.keys()):\n v = node[k]\n if isinstance(v, str):\n for a, b in _repl:\n if a in v:\n v = v.replace(a, b)\n node[k] = v\n elif isinstance(v, (dict, list)):\n stack.append(v)\n elif isinstance(node, list):\n for i in range(len(node)):\n v = node[i]\n if isinstance(v, str):\n for a, b in _repl:\n if a in v:\n v = v.replace(a, b)\n node[i] = v\n elif isinstance(v, (dict, list)):\n stack.append(v)", "config_hash": "a2c48f9b809f1fb2", "take_control_of_blueprint": false, "category": null, "wait": true, "enabled": null, "run_actions": false, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 1822.0086097717285, "success": true, "error_message": null, "response_size_bytes": 1582, "user_context": null}
|
||||
{"timestamp": "2026-10-15T13:42:00.498342+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.spoolman_spool_9", "sensor.spoolman_spool_4", "sensor.spoolman_spool_5", "sensor.spoolman_spool_8", "sensor.spoolman_spool_3"], "fields": ["state", "attributes"], "attribute_keys": ["location", "remaining_weight", "filament_name", "filament_weight"]}, "execution_time_ms": 9.351968765258789, "success": true, "error_message": null, "response_size_bytes": 1324, "user_context": null}
|
||||
{"timestamp": "2026-10-15T13:42:00.514396+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["automation.sparkx_i7_low_spool_notification", "automation.sparkx_i7_filament_sufficiency_check_at_print_start"], "fields": ["state"], "attribute_keys": null}, "execution_time_ms": 4.107236862182617, "success": true, "error_message": null, "response_size_bytes": 1120, "user_context": null}
|
||||
|
||||
+21
-21
@@ -4,7 +4,7 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 119.5,
|
||||
"voltage": 120,
|
||||
"countdown_to_turn_on": 0,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.14,
|
||||
@@ -27,8 +27,8 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"power": 1.9,
|
||||
"current": 0.09,
|
||||
"power": 2.1,
|
||||
"current": 0.1,
|
||||
"energy": 57.08,
|
||||
"power_factor": 0.19,
|
||||
"update": {
|
||||
@@ -45,10 +45,10 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 119,
|
||||
"voltage": 119.5,
|
||||
"countdown_to_turn_on": 0,
|
||||
"energy": 109.52,
|
||||
"power_factor": 0.9,
|
||||
"energy": 109.54,
|
||||
"power_factor": 0.2,
|
||||
"ac_frequency": 60,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -58,8 +58,8 @@
|
||||
"latest_release_notes": null
|
||||
},
|
||||
"linkquality": 145,
|
||||
"power": 88.3,
|
||||
"current": 0.82,
|
||||
"power": 0.2,
|
||||
"current": 0.01,
|
||||
"power_on_behavior": "on"
|
||||
},
|
||||
"0xb40e060fffe031e3": {
|
||||
@@ -74,13 +74,13 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 117.8,
|
||||
"voltage": 118.9,
|
||||
"state": "ON",
|
||||
"ac_frequency": 60,
|
||||
"energy": 222.54,
|
||||
"power": 3.1,
|
||||
"current": 0.05,
|
||||
"power_factor": 0.77,
|
||||
"energy": 222.57,
|
||||
"power": 4.3,
|
||||
"current": 0.09,
|
||||
"power_factor": 0.65,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -95,13 +95,13 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 119,
|
||||
"energy": 104.16,
|
||||
"voltage": 119.3,
|
||||
"energy": 104.18,
|
||||
"state": "ON",
|
||||
"power": 81.4,
|
||||
"current": 0.94,
|
||||
"power": 47.5,
|
||||
"current": 0.53,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.77,
|
||||
"power_factor": 0.85,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -114,7 +114,7 @@
|
||||
},
|
||||
"0xffffb40e060895b3": {
|
||||
"state": "ON",
|
||||
"voltage": 118.8,
|
||||
"voltage": 119.7,
|
||||
"ac_frequency": 60,
|
||||
"energy": 15.31,
|
||||
"current": 0.01,
|
||||
@@ -136,14 +136,14 @@
|
||||
"0xffffb40e0608864e": {
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 119.7,
|
||||
"voltage": 120.2,
|
||||
"energy": 37.39,
|
||||
"countdown_to_turn_on": 0,
|
||||
"state": "ON",
|
||||
"current": 0.02,
|
||||
"ac_frequency": 60,
|
||||
"power": 0.3,
|
||||
"power_factor": 0.2,
|
||||
"power_factor": 0.14,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
|
||||
Reference in New Issue
Block a user