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

This commit is contained in:
Home Assistant Version Control
2026-09-01 20:44:05 +00:00
parent 9516dae7d8
commit 250d9201f1
2 changed files with 15 additions and 13 deletions
+2
View File
@@ -3523,3 +3523,5 @@
{"timestamp": "2026-09-01T19:23:25.521856+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": {"actions": [{"action": "shell_command.cleanup_blink_snapshots"}, {"choose": [{"conditions": ["[REDACTED]"], "sequence": ["[REDACTED]", "[REDACTED]", "[REDACTED]", "[REDACTED]", "[REDACTED]", "[REDACTED]", "[REDACTED]", "[REDACTED]", "[REDACTED]"]}, {"conditions": ["[REDACTED]"], "sequence": ["[REDACTED]", "[REDACTED]", "[REDACTED]", "[REDACTED]", "[REDACTED]", "[REDACTED]", "[REDACTED]", "[REDACTED]", "[REDACTED]"]}, {"conditions": ["[REDACTED]"], "sequence": ["[REDACTED]", "[REDACTED]", "[REDACTED]", "[REDACTED]", "[REDACTED]", "[REDACTED]", "[REDACTED]", "[REDACTED]", "[REDACTED]"]}], "default": [{"delay": {"seconds": "[REDACTED]"}}]}, {"delay": {"seconds": 2}}, {"action": "ai_task.generate_data", "continue_on_error": true, "response_variable": "ai_profile", "data": {"attachments": [{"media_content_id": "[REDACTED]", "media_content_type": "[REDACTED]"}], "entity_id": "ai_task.ollama_ai_task_video", "instructions": "Describe what you see in this image in brief, but make it a very funny. Focus on any people, objects, animals or activities.", "task_name": "Blink Camera Analysis"}}, {"action": "notify.notify", "continue_on_error": true, "data": {"message": "{{ ai_profile.data if ai_profile is defined and 'data' in ai_profile else 'Motion detected, but the AI Task integration failed to return a response.' }}", "title": "{{ title }}"}}, {"action": "persistent_notification.create", "data": {"message": "{{ ai_profile.data if ai_profile is defined and 'data' in ai_profile else 'Motion detected, but the AI Task integration failed to return a response.' }}\n![Snapshot](/local/{{ snapshot_filename }})", "notification_id": "{{ notification_id }}", "title": "{{ title }}"}}], "alias": "Blink Shed Motion Notification", "description": "Sends a notification when motion is detected by any Blink camera, capturing a snapshot and analyzing it with AI for the description.", "id": "ai_agent_auto_1784596277269", "max": 10, "mode": "queued", "triggers": [{"entity_id": "binary_sensor.blink_backyard_shed_motion", "id": "shed", "to": "on", "trigger": "state"}, {"entity_id": "binary_sensor.blink_backyard_tree_motion", "id": "tree", "to": "on", "trigger": "state"}, {"entity_id": "binary_sensor.blink_front_motion", "id": "front", "to": "on", "trigger": "state"}]}, "identifier": "automation.blink_shed_motion_notification", "python_transform": null, "config_hash": null, "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 468.1861400604248, "success": true, "error_message": null, "response_size_bytes": 182, "user_context": null}
{"timestamp": "2026-09-01T19:24:51.892788+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.blink_shed_motion_notification"}, "execution_time_ms": 264.93144035339355, "success": true, "error_message": null, "response_size_bytes": 4475, "user_context": null}
{"timestamp": "2026-09-01T19:26:16.421893+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.blink_shed_motion_notification", "python_transform": "config['triggers'].append({'trigger': 'state', 'entity_id': 'binary_sensor.blink_garage_side_motion', 'to': 'on', 'id': 'garage'});\nconfig['actions'][1]['choose'].append({'conditions': [{'condition': 'trigger', 'id': 'garage'}], 'sequence': [{'action': 'switch.turn_on', 'target': {'entity_id': 'switch.garage_side_refresh_snapshot'}}, {'delay': {'seconds': 20}}, {'action': 'homeassistant.update_entity', 'target': {'entity_id': 'camera.garage_side'}}, {'delay': {'seconds': 3}}, {'variables': {'snapshot_filename': \"blink_garage_{{ now().strftime('%Y%m%d_%H%M%S') }}.jpg\"}}, {'variables': {'notification_id': \"blink_garage_{{ now().strftime('%Y%m%d_%H%M%S_%f') }}\"}}, {'variables': {'title': 'Motion Detected - Garage Side'}}, {'action': 'camera.snapshot', 'target': {'entity_id': 'camera.blink_garage_side'}, 'data': {'filename': '/media/{{ snapshot_filename }}'}}, {'action': 'camera.snapshot', 'target': {'entity_id': 'camera.blink_garage_side'}, 'data': {'filename': '/config/www/{{ snapshot_filename }}'}}]})", "config_hash": "3673f1b502aa5662", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 6365.530490875244, "success": true, "error_message": null, "response_size_bytes": 1496, "user_context": null}
{"timestamp": "2026-09-01T20:43:58.498101+00:00", "tool_name": "ha_get_automation_traces", "parameters": {"automation_id": "automation.blink_shed_motion_notification", "run_id": null, "limit": 10, "deduplicate": true, "detailed": false, "sections": null, "offset": 0, "order": "newest", "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 26.41153335571289, "success": true, "error_message": null, "response_size_bytes": 1524, "user_context": null}
{"timestamp": "2026-09-01T20:44:04.895286+00:00", "tool_name": "ha_get_automation_traces", "parameters": {"automation_id": "automation.blink_shed_motion_notification", "run_id": "ec055253e0ca36abbf512d845f31f3db", "limit": 10, "deduplicate": true, "detailed": true, "sections": null, "offset": 0, "order": "newest", "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 92.5595760345459, "success": true, "error_message": null, "response_size_bytes": 4381, "user_context": null}
+13 -13
View File
@@ -27,10 +27,10 @@
"led_brightness": 100,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"power": 2.2,
"power": 2,
"current": 0.09,
"energy": 36.09,
"power_factor": 0.18,
"power_factor": 0.24,
"update": {
"state": "idle",
"installed_version": 268513381,
@@ -45,7 +45,7 @@
"state": "ON",
"led_brightness": 100,
"countdown_to_turn_off": 0,
"voltage": 119.6,
"voltage": 118.6,
"countdown_to_turn_on": 0,
"energy": 71.84,
"power_factor": 0.2,
@@ -74,13 +74,13 @@
"led_brightness": 100,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"voltage": 118.1,
"voltage": 118,
"state": "ON",
"ac_frequency": 60,
"energy": 146.2,
"power": 187.1,
"current": 1.61,
"power_factor": 0.66,
"power": 102.9,
"current": 0.91,
"power_factor": 0.39,
"update": {
"state": "idle",
"installed_version": 268513381,
@@ -99,9 +99,9 @@
"energy": 69.42,
"state": "ON",
"power": 37,
"current": 0.42,
"current": 0.51,
"ac_frequency": 60,
"power_factor": 0.71,
"power_factor": 0.58,
"update": {
"state": "idle",
"installed_version": 268513381,
@@ -114,7 +114,7 @@
},
"0xffffb40e060895b3": {
"state": "ON",
"voltage": 119.8,
"voltage": 119.3,
"ac_frequency": 60,
"energy": 9.59,
"current": 0.01,
@@ -136,14 +136,14 @@
"0xffffb40e0608864e": {
"led_brightness": 100,
"countdown_to_turn_off": 0,
"voltage": 120.1,
"voltage": 119.6,
"energy": 23.09,
"countdown_to_turn_on": 0,
"state": "ON",
"current": 0.02,
"ac_frequency": 60,
"power": 0.4,
"power_factor": 0.19,
"power_factor": 0.15,
"update": {
"state": "idle",
"installed_version": 268513381,
@@ -224,7 +224,7 @@
},
"0xb40e060fffe717c5": {
"battery": 100,
"occupancy": false,
"occupancy": true,
"tamper": false,
"battery_low": false,
"linkquality": 116,