.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json
This commit is contained in:
@@ -1897,3 +1897,4 @@
|
|||||||
{"timestamp": "2026-08-24T16:35:11.123052+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.3d_printer_running_playroom_light_basement_heat"}, "execution_time_ms": 99.14183616638184, "success": true, "error_message": null, "response_size_bytes": 1678, "user_context": null}
|
{"timestamp": "2026-08-24T16:35:11.123052+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.3d_printer_running_playroom_light_basement_heat"}, "execution_time_ms": 99.14183616638184, "success": true, "error_message": null, "response_size_bytes": 1678, "user_context": null}
|
||||||
{"timestamp": "2026-08-24T16:37:56.597791+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.3d_printer_running_playroom_light_basement_heat", "python_transform": "for b in config['actions'][0]['choose']:\n if b['conditions'][0].get('id') == 'printer_stopped':\n lamp_seq = b['sequence']\n b['sequence'] = [{'parallel': [\n {'sequence': lamp_seq},\n {'sequence': [\n {'delay': {'hours': 1}},\n {'action': 'switch.turn_off', 'target': {'entity_id': 'switch.filter'}}\n ]}\n ]}]\nconfig['description'] = 'When the 3D printer running helper turns on (print started), set the 3D printer lights to bright white, turn on the bedroom lamp, set the basement to 22 degrees C, and turn on the filter. When it turns off (print ended), set the 3D printer lights to light blue at 25%, turn off the bedroom lamp after 10 minutes, and turn off the filter after 1 hour.'", "config_hash": "f3bc8f346ca90ec2", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 1400.2737998962402, "success": true, "error_message": null, "response_size_bytes": 1165, "user_context": null}
|
{"timestamp": "2026-08-24T16:37:56.597791+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.3d_printer_running_playroom_light_basement_heat", "python_transform": "for b in config['actions'][0]['choose']:\n if b['conditions'][0].get('id') == 'printer_stopped':\n lamp_seq = b['sequence']\n b['sequence'] = [{'parallel': [\n {'sequence': lamp_seq},\n {'sequence': [\n {'delay': {'hours': 1}},\n {'action': 'switch.turn_off', 'target': {'entity_id': 'switch.filter'}}\n ]}\n ]}]\nconfig['description'] = 'When the 3D printer running helper turns on (print started), set the 3D printer lights to bright white, turn on the bedroom lamp, set the basement to 22 degrees C, and turn on the filter. When it turns off (print ended), set the 3D printer lights to light blue at 25%, turn off the bedroom lamp after 10 minutes, and turn off the filter after 1 hour.'", "config_hash": "f3bc8f346ca90ec2", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 1400.2737998962402, "success": true, "error_message": null, "response_size_bytes": 1165, "user_context": null}
|
||||||
{"timestamp": "2026-08-24T16:38:05.860943+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.3d_printer_running_playroom_light_basement_heat"}, "execution_time_ms": 221.57645225524902, "success": true, "error_message": null, "response_size_bytes": 1879, "user_context": null}
|
{"timestamp": "2026-08-24T16:38:05.860943+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.3d_printer_running_playroom_light_basement_heat"}, "execution_time_ms": 221.57645225524902, "success": true, "error_message": null, "response_size_bytes": 1879, "user_context": null}
|
||||||
|
{"timestamp": "2026-08-24T17:11:58.652618+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": null, "list_only": true, "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": 2.6175975799560547, "success": true, "error_message": null, "response_size_bytes": 1871, "user_context": null}
|
||||||
|
|||||||
+19
-19
@@ -4,7 +4,7 @@
|
|||||||
"state": "ON",
|
"state": "ON",
|
||||||
"led_brightness": 100,
|
"led_brightness": 100,
|
||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"voltage": 122.1,
|
"voltage": 121.9,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"power_factor": 0.14,
|
"power_factor": 0.14,
|
||||||
@@ -45,10 +45,10 @@
|
|||||||
"state": "ON",
|
"state": "ON",
|
||||||
"led_brightness": 100,
|
"led_brightness": 100,
|
||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"voltage": 121.7,
|
"voltage": 121.5,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"energy": 65.35,
|
"energy": 65.37,
|
||||||
"power_factor": 0.2,
|
"power_factor": 0.87,
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"update": {
|
"update": {
|
||||||
"state": "idle",
|
"state": "idle",
|
||||||
@@ -58,8 +58,8 @@
|
|||||||
"latest_release_notes": null
|
"latest_release_notes": null
|
||||||
},
|
},
|
||||||
"linkquality": 138,
|
"linkquality": 138,
|
||||||
"power": 0.8,
|
"power": 84.3,
|
||||||
"current": 0.01,
|
"current": 0.83,
|
||||||
"power_on_behavior": "on"
|
"power_on_behavior": "on"
|
||||||
},
|
},
|
||||||
"0xb40e060fffe031e3": {
|
"0xb40e060fffe031e3": {
|
||||||
@@ -74,13 +74,13 @@
|
|||||||
"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,
|
||||||
"voltage": 120.7,
|
"voltage": 121.2,
|
||||||
"state": "ON",
|
"state": "ON",
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"energy": 132.18,
|
"energy": 132.19,
|
||||||
"power": 95.1,
|
"power": 0.7,
|
||||||
"current": 0.86,
|
"current": 0.05,
|
||||||
"power_factor": 0.94,
|
"power_factor": 0.41,
|
||||||
"update": {
|
"update": {
|
||||||
"state": "idle",
|
"state": "idle",
|
||||||
"installed_version": 268513381,
|
"installed_version": 268513381,
|
||||||
@@ -95,11 +95,11 @@
|
|||||||
"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,
|
||||||
"voltage": 121.5,
|
"voltage": 120.8,
|
||||||
"energy": 63.03,
|
"energy": 63.04,
|
||||||
"state": "ON",
|
"state": "ON",
|
||||||
"power": 85.4,
|
"power": 97.6,
|
||||||
"current": 0.9,
|
"current": 0.92,
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"power_factor": 0.73,
|
"power_factor": 0.73,
|
||||||
"update": {
|
"update": {
|
||||||
@@ -114,7 +114,7 @@
|
|||||||
},
|
},
|
||||||
"0xffffb40e060895b3": {
|
"0xffffb40e060895b3": {
|
||||||
"state": "ON",
|
"state": "ON",
|
||||||
"voltage": 122,
|
"voltage": 121.5,
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"energy": 8.78,
|
"energy": 8.78,
|
||||||
"current": 0.01,
|
"current": 0.01,
|
||||||
@@ -172,7 +172,7 @@
|
|||||||
"0xffffb40e060893d8": {
|
"0xffffb40e060893d8": {
|
||||||
"state": "ON",
|
"state": "ON",
|
||||||
"led_brightness": 100,
|
"led_brightness": 100,
|
||||||
"voltage": 122.1,
|
"voltage": 121.7,
|
||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"energy": 3.64,
|
"energy": 3.64,
|
||||||
@@ -188,11 +188,11 @@
|
|||||||
"latest_release_notes": null
|
"latest_release_notes": null
|
||||||
},
|
},
|
||||||
"power_factor": 0.84,
|
"power_factor": 0.84,
|
||||||
"power": 9.6
|
"power": 9.5
|
||||||
},
|
},
|
||||||
"0xa4c1380d0679ffff": {
|
"0xa4c1380d0679ffff": {
|
||||||
"battery": 100,
|
"battery": 100,
|
||||||
"temperature": 27.4,
|
"temperature": 27.3,
|
||||||
"temperature_units": "celsius",
|
"temperature_units": "celsius",
|
||||||
"temperature_calibration": 0,
|
"temperature_calibration": 0,
|
||||||
"update": {
|
"update": {
|
||||||
|
|||||||
Reference in New Issue
Block a user