.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json
This commit is contained in:
@@ -4716,3 +4716,4 @@
|
||||
{"timestamp": "2026-10-16T18:27:06.044302+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.sparkx_i7_print_status", "sensor.sparkx_i7_active_filament_slot", "sensor.sparkx_i7_print_progress", "sensor.sparkx_i7_print_job_time", "sensor.sparkx_i7_print_time_left", "sensor.sparkx_i7_print_speed", "sensor.sparkx_i7_filament_consumption", "sensor.sparkx_i7_real_time_flow", "sensor.sparkx_i7_real_time_speed", "sensor.sparkx_i7_used_material_length", "sensor.sparkx_i7_filament_weight_estimated", "sensor.sparkx_i7_bed_temperature", "sensor.sparkx_i7_nozzle_temperature", "sensor.sparkx_i7_cfs_box_1_temperature", "sensor.sparkx_i7_cfs_box_1_humidity"], "fields": ["entity_id", "state", "attributes"], "attribute_keys": ["unit_of_measurement", "friendly_name"]}, "execution_time_ms": 130.7973861694336, "success": true, "error_message": null, "response_size_bytes": 3350, "user_context": null}
|
||||
{"timestamp": "2026-10-16T18:36:26.267818+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.spoolman_spool_10", "sensor.spoolman_spool_4", "sensor.spoolman_spool_5", "sensor.spoolman_spool_8", "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"], "fields": ["entity_id", "state", "attributes"], "attribute_keys": null}, "execution_time_ms": 4.210472106933594, "success": true, "error_message": null, "response_size_bytes": 6820, "user_context": null}
|
||||
{"timestamp": "2026-10-16T18:38:24.025052+00:00", "tool_name": "ha_config_list_helpers", "parameters": {"helper_type": "template", "limit": 100, "offset": 0, "describe": true, "menu_choice": "sensor", "helper_id": null}, "execution_time_ms": 62.575578689575195, "success": true, "error_message": null, "response_size_bytes": 1919, "user_context": null}
|
||||
{"timestamp": "2026-10-16T18:48:46.706103+00:00", "tool_name": "ha_config_set_helper", "parameters": {"helper_type": "template", "name": "CFS Lite 1 Remaining", "helper_id": null, "entry_id": null, "subentry_type": null, "subentry_id": null, "show_advanced_options": false, "icon": null, "area_id": null, "labels": null, "min_value": null, "max_value": null, "step": null, "unit_of_measurement": null, "options": null, "initial": null, "mode": null, "has_date": null, "has_time": null, "restore": null, "duration": null, "monday": null, "tuesday": null, "wednesday": null, "thursday": null, "friday": null, "saturday": null, "sunday": null, "latitude": null, "longitude": null, "radius": null, "passive": null, "user_id": null, "device_trackers": null, "picture": null, "tag_id": null, "description": null, "pattern": null, "category": null, "config": {"next_step_id": "sensor", "state": "{%- set sp = states.sensor | selectattr('entity_id','match','^sensor[.]spoolman_spool_[0-9]+$') | selectattr('attributes.location','defined') | list -%}{{ (sp | selectattr('attributes.location','eq','CFS Lite 1') | selectattr('state','is_number') | map(attribute='state') | map('float',-1) | select('gt',-1) | list | first) }}", "unit_of_measurement": "g", "device_class": "weight", "state_class": "measurement", "additional_options": {"availability": "{%- set sp = states.sensor | selectattr('entity_id','match','^sensor[.]spoolman_spool_[0-9]+$') | selectattr('attributes.location','defined') | list -%}{{ (sp | selectattr('attributes.location','eq','CFS Lite 1') | selectattr('state','is_number') | list | count) > 0 }}"}}, "wait": true, "action": "create", "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 104.76088523864746, "success": true, "error_message": null, "response_size_bytes": 53371, "user_context": null}
|
||||
|
||||
+20
-20
@@ -4,7 +4,7 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 120,
|
||||
"voltage": 120.5,
|
||||
"countdown_to_turn_on": 0,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.11,
|
||||
@@ -22,7 +22,7 @@
|
||||
},
|
||||
"0xffffb40e0607af27": {
|
||||
"state": "ON",
|
||||
"voltage": 120.4,
|
||||
"voltage": 119.6,
|
||||
"ac_frequency": 60,
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
@@ -30,7 +30,7 @@
|
||||
"power": 2,
|
||||
"current": 0.09,
|
||||
"energy": 57.31,
|
||||
"power_factor": 0.2,
|
||||
"power_factor": 0.16,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -45,7 +45,7 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 119.5,
|
||||
"voltage": 120,
|
||||
"countdown_to_turn_on": 0,
|
||||
"energy": 110.66,
|
||||
"power_factor": 0.2,
|
||||
@@ -64,7 +64,7 @@
|
||||
},
|
||||
"0xb40e060fffe031e3": {
|
||||
"battery": 100,
|
||||
"contact": false,
|
||||
"contact": true,
|
||||
"tamper": false,
|
||||
"battery_low": false,
|
||||
"linkquality": 149,
|
||||
@@ -80,7 +80,7 @@
|
||||
"energy": 224.61,
|
||||
"power": 94.7,
|
||||
"current": 0.83,
|
||||
"power_factor": 0.67,
|
||||
"power_factor": 0.34,
|
||||
"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.8,
|
||||
"energy": 105.61,
|
||||
"voltage": 120.3,
|
||||
"energy": 105.62,
|
||||
"state": "ON",
|
||||
"power": 61.3,
|
||||
"current": 0.6,
|
||||
"power": 49.7,
|
||||
"current": 0.49,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.82,
|
||||
"power_factor": 0.78,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -114,12 +114,12 @@
|
||||
},
|
||||
"0xffffb40e060895b3": {
|
||||
"state": "ON",
|
||||
"voltage": 120.4,
|
||||
"voltage": 121.2,
|
||||
"ac_frequency": 60,
|
||||
"energy": 15.42,
|
||||
"current": 0.01,
|
||||
"power": 0.1,
|
||||
"power_factor": 0.11,
|
||||
"current": 0.02,
|
||||
"power": 1.1,
|
||||
"power_factor": 0.22,
|
||||
"linkquality": 116,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -136,14 +136,14 @@
|
||||
"0xffffb40e0608864e": {
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 120,
|
||||
"energy": 38.7,
|
||||
"voltage": 120.1,
|
||||
"energy": 38.83,
|
||||
"countdown_to_turn_on": 0,
|
||||
"state": "ON",
|
||||
"current": 0.02,
|
||||
"current": 0.18,
|
||||
"ac_frequency": 60,
|
||||
"power": 0.4,
|
||||
"power_factor": 0.14,
|
||||
"power": 1490.3,
|
||||
"power_factor": 0.99,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
|
||||
Reference in New Issue
Block a user