.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json
This commit is contained in:
@@ -4721,3 +4721,4 @@
|
||||
{"timestamp": "2026-10-16T18:49:15.457959+00:00", "tool_name": "ha_config_set_helper", "parameters": {"helper_type": "template", "name": "CFS Lite 2 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": {"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 2') | selectattr('state','is_number') | list | count) > 0 }}"}, "device_class": "weight", "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 2') | selectattr('state','is_number') | map(attribute='state') | map('float',-1) | select('gt',-1) | list | first) }}", "state_class": "measurement", "unit_of_measurement": "g"}, "wait": true, "action": "create", "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 298.295259475708, "success": true, "error_message": null, "response_size_bytes": 53371, "user_context": null}
|
||||
{"timestamp": "2026-10-16T18:49:15.461015+00:00", "tool_name": "ha_config_set_helper", "parameters": {"helper_type": "template", "name": "CFS Lite 4 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": {"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 4') | selectattr('state','is_number') | list | count) > 0 }}"}, "device_class": "weight", "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 4') | selectattr('state','is_number') | map(attribute='state') | map('float',-1) | select('gt',-1) | list | first) }}", "state_class": "measurement", "unit_of_measurement": "g"}, "wait": true, "action": "create", "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 298.4471321105957, "success": true, "error_message": null, "response_size_bytes": 53371, "user_context": null}
|
||||
{"timestamp": "2026-10-16T18:49:18.630739+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.cfs_lite_1_remaining", "sensor.cfs_lite_2_remaining", "sensor.cfs_lite_3_remaining", "sensor.cfs_lite_4_remaining"], "fields": ["entity_id", "state", "attributes"], "attribute_keys": ["unit_of_measurement", "device_class", "state_class", "friendly_name"]}, "execution_time_ms": 291.9752597808838, "success": true, "error_message": null, "response_size_bytes": 1340, "user_context": null}
|
||||
{"timestamp": "2026-10-16T19:16:14.811513+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.cfs_lite_1_remaining", "sensor.cfs_lite_2_remaining", "sensor.cfs_lite_3_remaining", "sensor.cfs_lite_4_remaining"], "fields": ["entity_id", "state", "attributes"], "attribute_keys": ["friendly_name", "unit_of_measurement", "device_class", "state_class"]}, "execution_time_ms": 1.3387203216552734, "success": true, "error_message": null, "response_size_bytes": 1340, "user_context": null}
|
||||
|
||||
+24
-24
@@ -4,10 +4,10 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 120.5,
|
||||
"voltage": 120.7,
|
||||
"countdown_to_turn_on": 0,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.11,
|
||||
"power_factor": 0.14,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -15,7 +15,7 @@
|
||||
"latest_source": "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/ThirdReality/SmartPlug_Zigbee_PROD_OTA_V101_1.01.01.ota",
|
||||
"latest_release_notes": null
|
||||
},
|
||||
"power": 0.5,
|
||||
"power": 0.4,
|
||||
"linkquality": 149,
|
||||
"current": 0.03,
|
||||
"power_on_behavior": "on"
|
||||
@@ -28,7 +28,7 @@
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"power": 2,
|
||||
"current": 0.09,
|
||||
"current": 0.1,
|
||||
"energy": 57.31,
|
||||
"power_factor": 0.16,
|
||||
"update": {
|
||||
@@ -45,10 +45,10 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 120,
|
||||
"voltage": 120.1,
|
||||
"countdown_to_turn_on": 0,
|
||||
"energy": 110.66,
|
||||
"power_factor": 0.2,
|
||||
"energy": 110.68,
|
||||
"power_factor": 0.26,
|
||||
"ac_frequency": 60,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -74,13 +74,13 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 118.1,
|
||||
"voltage": 119.2,
|
||||
"state": "ON",
|
||||
"ac_frequency": 60,
|
||||
"energy": 224.61,
|
||||
"power": 94.7,
|
||||
"current": 0.83,
|
||||
"power_factor": 0.34,
|
||||
"energy": 224.66,
|
||||
"power": 106.5,
|
||||
"current": 1.01,
|
||||
"power_factor": 0.95,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -95,11 +95,11 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 120.3,
|
||||
"energy": 105.62,
|
||||
"voltage": 119.3,
|
||||
"energy": 105.64,
|
||||
"state": "ON",
|
||||
"power": 49.7,
|
||||
"current": 0.49,
|
||||
"power": 56.8,
|
||||
"current": 0.71,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.78,
|
||||
"update": {
|
||||
@@ -114,12 +114,12 @@
|
||||
},
|
||||
"0xffffb40e060895b3": {
|
||||
"state": "ON",
|
||||
"voltage": 121.2,
|
||||
"voltage": 118.9,
|
||||
"ac_frequency": 60,
|
||||
"energy": 15.42,
|
||||
"current": 0.02,
|
||||
"power": 1.1,
|
||||
"power_factor": 0.22,
|
||||
"power_factor": 0.11,
|
||||
"linkquality": 116,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -136,14 +136,14 @@
|
||||
"0xffffb40e0608864e": {
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 120.1,
|
||||
"energy": 38.83,
|
||||
"voltage": 122.2,
|
||||
"energy": 39.11,
|
||||
"countdown_to_turn_on": 0,
|
||||
"state": "ON",
|
||||
"current": 0.18,
|
||||
"current": 0.03,
|
||||
"ac_frequency": 60,
|
||||
"power": 1490.3,
|
||||
"power_factor": 0.99,
|
||||
"power": 1.5,
|
||||
"power_factor": 0.48,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -171,7 +171,7 @@
|
||||
},
|
||||
"0xa4c1380d0679ffff": {
|
||||
"battery": 100,
|
||||
"temperature": 10.4,
|
||||
"temperature": 10.5,
|
||||
"temperature_units": "celsius",
|
||||
"temperature_calibration": 0,
|
||||
"update": {
|
||||
|
||||
Reference in New Issue
Block a user