.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json
This commit is contained in:
@@ -4070,3 +4070,4 @@
|
||||
{"timestamp": "2026-10-08T18:53:56.048359+00:00", "tool_name": "ha_search", "parameters": {"query": "spoolman_spool_3", "domain_filter": "sensor", "area_filter": null, "search_types": null, "limit": 40, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": ["entity_id", "friendly_name", "state"], "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 145.88260650634766, "success": true, "error_message": null, "response_size_bytes": 2969, "user_context": null}
|
||||
{"timestamp": "2026-10-08T18:54:26.600629+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["input_number.sparkx_i7_spoolman_length_checkpoint", "sensor.sparkx_i7_slot_1_color_name", "sensor.sparkx_i7_slot_2_color_name", "sensor.sparkx_i7_slot_3_color_name", "sensor.sparkx_i7_slot_4_color_name", "automation.sparkx_i7_latch_print_spool_for_spoolman", "automation.sparkx_i7_deduct_filament_in_spoolman_on_print_complete", "script.spoolman_set_spool_remaining"], "fields": ["state", "attributes"], "attribute_keys": ["friendly_name"]}, "execution_time_ms": 5.154609680175781, "success": true, "error_message": null, "response_size_bytes": 1481, "user_context": null}
|
||||
{"timestamp": "2026-10-08T18:55:21.927624+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% for slot in ['Box 1 Slot 1', 'Box 1 Slot 2', 'Box 1 Slot 3', 'Box 1 Slot 4'] %}{% set color = states('sensor.sparkx_i7_cfs_' ~ (slot | lower | replace(' ', '_')) ~ '_color') | replace('#', '') | lower %}{% set ns = namespace(id='') %}{% for e in integration_entities('spoolman') %}{% if e.endswith('_color_hex') and (states(e) | replace('#', '') | lower) == color %}{% set b = e[:-10] %}{% if (states(b) | float(0)) > 0 and ns.id == '' %}{% set ns.id = states(b ~ '_id') %}{% endif %}{% endif %}{% endfor %}{{ slot }} → #{{ color | upper }} → spool {{ ns.id or 'NONE' }} ({{ states('sensor.spoolman_spool_' ~ ns.id) if ns.id else '-' }} g left){% endfor %}", "condition": null, "variables": null, "strict": false, "timeout": 3, "report_errors": true}, "execution_time_ms": 81.24065399169922, "success": true, "error_message": null, "response_size_bytes": 1535, "user_context": null}
|
||||
{"timestamp": "2026-10-08T18:59:12.353417+00:00", "tool_name": "ha_get_history", "parameters": {"entity_ids": "sensor.sparkx_i7_print_status", "source": "history", "start_time": "2026-10-06T20:40:00Z", "end_time": "2026-10-06T21:40:00Z", "minimal_response": true, "significant_changes_only": true, "limit": 50, "offset": null, "period": "day", "statistic_types": null, "order": "desc", "fields": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 712.834358215332, "success": true, "error_message": null, "response_size_bytes": 965, "user_context": null}
|
||||
|
||||
+16
-16
@@ -4,7 +4,7 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 118.6,
|
||||
"voltage": 119.1,
|
||||
"countdown_to_turn_on": 0,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.15,
|
||||
@@ -27,7 +27,7 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"power": 2,
|
||||
"power": 2.1,
|
||||
"current": 0.09,
|
||||
"energy": 54.02,
|
||||
"power_factor": 0.18,
|
||||
@@ -45,9 +45,9 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 119,
|
||||
"voltage": 118,
|
||||
"countdown_to_turn_on": 0,
|
||||
"energy": 103.71,
|
||||
"energy": 103.72,
|
||||
"power_factor": 0.31,
|
||||
"ac_frequency": 60,
|
||||
"update": {
|
||||
@@ -58,7 +58,7 @@
|
||||
"latest_release_notes": null
|
||||
},
|
||||
"linkquality": 145,
|
||||
"power": 84.2,
|
||||
"power": 85.2,
|
||||
"current": 0.01,
|
||||
"power_on_behavior": "on"
|
||||
},
|
||||
@@ -74,13 +74,13 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 117.9,
|
||||
"voltage": 116.9,
|
||||
"state": "ON",
|
||||
"ac_frequency": 60,
|
||||
"energy": 210.51,
|
||||
"power": 0.8,
|
||||
"current": 0.11,
|
||||
"power_factor": 0.39,
|
||||
"power": 103.1,
|
||||
"current": 0.96,
|
||||
"power_factor": 0.93,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -114,12 +114,12 @@
|
||||
},
|
||||
"0xffffb40e060895b3": {
|
||||
"state": "ON",
|
||||
"voltage": 116.7,
|
||||
"voltage": 119.9,
|
||||
"ac_frequency": 60,
|
||||
"energy": 14.2,
|
||||
"current": 0.01,
|
||||
"power": 0.2,
|
||||
"power_factor": 0.11,
|
||||
"power_factor": 0.2,
|
||||
"linkquality": 116,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -136,14 +136,14 @@
|
||||
"0xffffb40e0608864e": {
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 120.6,
|
||||
"energy": 33.5,
|
||||
"voltage": 114.6,
|
||||
"energy": 33.51,
|
||||
"countdown_to_turn_on": 0,
|
||||
"state": "ON",
|
||||
"current": 0.02,
|
||||
"current": 13.41,
|
||||
"ac_frequency": 60,
|
||||
"power": 0.4,
|
||||
"power_factor": 0.19,
|
||||
"power": 1528.7,
|
||||
"power_factor": 0.98,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
|
||||
Reference in New Issue
Block a user