.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json
This commit is contained in:
@@ -3129,3 +3129,5 @@
|
||||
{"timestamp": "2026-08-28T18:27:32.087593+00:00", "tool_name": "ha_list_services", "parameters": {"domain": "notify", "query": null, "limit": 50, "offset": 0, "detail_level": "summary", "service_fields": null, "fields": null}, "execution_time_ms": 108.99090766906738, "success": true, "error_message": null, "response_size_bytes": 1583, "user_context": null}
|
||||
{"timestamp": "2026-08-28T18:28:50.347680+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": {"alias": "Filter plug health alert", "description": "Notify (mobile push + persistent notification) when the Filter plug goes unavailable for 2+ minutes, or its Zigbee linkquality stays below 60 for 5+ minutes.", "mode": "single", "triggers": [{"trigger": "state", "entity_id": "switch.filter", "to": "unavailable", "for": {"minutes": 2}, "id": "offline"}, {"trigger": "numeric_state", "entity_id": "sensor.0xffffb40e060893d8_linkquality", "below": 60, "for": {"minutes": 5}, "id": "weak"}], "actions": [{"choose": [{"conditions": ["[REDACTED]"], "sequence": ["[REDACTED]", "[REDACTED]"]}, {"conditions": ["[REDACTED]"], "sequence": ["[REDACTED]", "[REDACTED]"]}]}]}, "identifier": null, "python_transform": null, "config_hash": null, "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 932.4324131011963, "success": true, "error_message": null, "response_size_bytes": 195, "user_context": null}
|
||||
{"timestamp": "2026-08-28T18:28:52.344626+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "automation.filter_plug_health_alert", "fields": ["state", "attributes"], "attribute_keys": ["last_triggered", "id", "source"]}, "execution_time_ms": 22.286176681518555, "success": true, "error_message": null, "response_size_bytes": 429, "user_context": null}
|
||||
{"timestamp": "2026-08-28T18:38:37.222598+00:00", "tool_name": "ha_get_logs", "parameters": {"source": "system", "limit": 30, "search": null, "order": "newest", "hours_back": 1, "entity_id": null, "end_time": null, "offset": 0, "compact": true, "level": "ERROR", "structured": false, "top_n": null, "slug": null}, "execution_time_ms": 63.02618980407715, "success": true, "error_message": null, "response_size_bytes": 8594, "user_context": null}
|
||||
{"timestamp": "2026-08-28T18:38:39.904049+00:00", "tool_name": "ha_get_logs", "parameters": {"source": "error_log", "limit": null, "search": null, "order": "newest", "hours_back": 1, "entity_id": null, "end_time": null, "offset": 0, "compact": true, "level": "ERROR", "structured": true, "top_n": 15, "slug": null}, "execution_time_ms": 3066.9455528259277, "success": true, "error_message": null, "response_size_bytes": 6175, "user_context": null}
|
||||
|
||||
+17
-17
@@ -22,12 +22,12 @@
|
||||
},
|
||||
"0xffffb40e0607af27": {
|
||||
"state": "ON",
|
||||
"voltage": 122,
|
||||
"voltage": 122.3,
|
||||
"ac_frequency": 60,
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"power": 1.9,
|
||||
"power": 2,
|
||||
"current": 0.1,
|
||||
"energy": 34.27,
|
||||
"power_factor": 0.16,
|
||||
@@ -45,10 +45,10 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 121.7,
|
||||
"voltage": 122.2,
|
||||
"countdown_to_turn_on": 0,
|
||||
"energy": 68.57,
|
||||
"power_factor": 0.88,
|
||||
"power_factor": 0.2,
|
||||
"ac_frequency": 60,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -58,8 +58,8 @@
|
||||
"latest_release_notes": null
|
||||
},
|
||||
"linkquality": 98,
|
||||
"power": 83.1,
|
||||
"current": 0.79,
|
||||
"power": 0.2,
|
||||
"current": 0.01,
|
||||
"power_on_behavior": "on"
|
||||
},
|
||||
"0xb40e060fffe031e3": {
|
||||
@@ -77,10 +77,10 @@
|
||||
"voltage": 121.2,
|
||||
"state": "ON",
|
||||
"ac_frequency": 60,
|
||||
"energy": 139.24,
|
||||
"power": 0.8,
|
||||
"current": 0.05,
|
||||
"power_factor": 0.4,
|
||||
"energy": 139.25,
|
||||
"power": 100.5,
|
||||
"current": 0.91,
|
||||
"power_factor": 0.94,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -96,12 +96,12 @@
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 122.4,
|
||||
"energy": 66.35,
|
||||
"energy": 66.36,
|
||||
"state": "ON",
|
||||
"power": 61,
|
||||
"current": 0.67,
|
||||
"power": 66.2,
|
||||
"current": 0.55,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.72,
|
||||
"power_factor": 0.74,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -119,7 +119,7 @@
|
||||
"energy": 9.25,
|
||||
"current": 0.01,
|
||||
"power": 0.1,
|
||||
"power_factor": 0.11,
|
||||
"power_factor": 0,
|
||||
"linkquality": 105,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -136,7 +136,7 @@
|
||||
"0xffffb40e0608864e": {
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 121.9,
|
||||
"voltage": 122.9,
|
||||
"energy": 21.47,
|
||||
"countdown_to_turn_on": 0,
|
||||
"state": "ON",
|
||||
@@ -172,7 +172,7 @@
|
||||
"0xffffb40e060893d8": {
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"voltage": 122.3,
|
||||
"voltage": 122.5,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"energy": 0,
|
||||
|
||||
Reference in New Issue
Block a user