.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json
This commit is contained in:
@@ -1315,3 +1315,6 @@
|
|||||||
{"timestamp": "2026-08-15T18:25:25.212386+00:00", "tool_name": "ha_get_history", "parameters": {"entity_ids": "binary_sensor.octoprint_printing", "source": "history", "start_time": "2026-08-15T13:10:00-04:00", "end_time": "2026-08-15T13:22:00-04:00", "minimal_response": true, "significant_changes_only": true, "limit": null, "offset": null, "period": "day", "statistic_types": null, "order": "asc", "fields": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 13.516426086425781, "success": true, "error_message": null, "response_size_bytes": 1336, "user_context": null}
|
{"timestamp": "2026-08-15T18:25:25.212386+00:00", "tool_name": "ha_get_history", "parameters": {"entity_ids": "binary_sensor.octoprint_printing", "source": "history", "start_time": "2026-08-15T13:10:00-04:00", "end_time": "2026-08-15T13:22:00-04:00", "minimal_response": true, "significant_changes_only": true, "limit": null, "offset": null, "period": "day", "statistic_types": null, "order": "asc", "fields": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 13.516426086425781, "success": true, "error_message": null, "response_size_bytes": 1336, "user_context": null}
|
||||||
{"timestamp": "2026-08-15T18:26:53.843533+00:00", "tool_name": "ha_get_logs", "parameters": {"source": "error_log", "limit": 200, "search": null, "order": "oldest", "hours_back": 1, "entity_id": null, "end_time": null, "offset": 0, "compact": true, "level": null, "slug": null}, "execution_time_ms": 627.0921230316162, "success": true, "error_message": null, "response_size_bytes": 48977, "user_context": null}
|
{"timestamp": "2026-08-15T18:26:53.843533+00:00", "tool_name": "ha_get_logs", "parameters": {"source": "error_log", "limit": 200, "search": null, "order": "oldest", "hours_back": 1, "entity_id": null, "end_time": null, "offset": 0, "compact": true, "level": null, "slug": null}, "execution_time_ms": 627.0921230316162, "success": true, "error_message": null, "response_size_bytes": 48977, "user_context": null}
|
||||||
{"timestamp": "2026-08-15T18:26:53.969583+00:00", "tool_name": "ha_get_history", "parameters": {"entity_ids": "sensor.octoprint_filament_used_total", "source": "history", "start_time": "2026-08-15T13:10:00-04:00", "end_time": "2026-08-15T13:25:00-04:00", "minimal_response": true, "significant_changes_only": true, "limit": null, "offset": null, "period": "day", "statistic_types": null, "order": "asc", "fields": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 33.278465270996094, "success": true, "error_message": null, "response_size_bytes": 1230, "user_context": null}
|
{"timestamp": "2026-08-15T18:26:53.969583+00:00", "tool_name": "ha_get_history", "parameters": {"entity_ids": "sensor.octoprint_filament_used_total", "source": "history", "start_time": "2026-08-15T13:10:00-04:00", "end_time": "2026-08-15T13:25:00-04:00", "minimal_response": true, "significant_changes_only": true, "limit": null, "offset": null, "period": "day", "statistic_types": null, "order": "asc", "fields": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 33.278465270996094, "success": true, "error_message": null, "response_size_bytes": 1230, "user_context": null}
|
||||||
|
{"timestamp": "2026-08-15T19:22:45.263180+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "sensor.octoprint_filament_used_total", "fields": ["state", "attributes", "last_updated"], "attribute_keys": ["fileName", "printStatusResult", "filamentModels"]}, "execution_time_ms": 8.877754211425781, "success": true, "error_message": null, "response_size_bytes": 1256, "user_context": null}
|
||||||
|
{"timestamp": "2026-08-15T19:22:45.468039+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "sensor.octoprint_last_print_filament", "fields": ["state", "last_updated"], "attribute_keys": null}, "execution_time_ms": 11.53707504272461, "success": true, "error_message": null, "response_size_bytes": 421, "user_context": null}
|
||||||
|
{"timestamp": "2026-08-15T19:22:45.774729+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "sensor.octoprint_recent_prints", "fields": ["state", "last_updated"], "attribute_keys": null}, "execution_time_ms": 27.426958084106445, "success": true, "error_message": null, "response_size_bytes": 418, "user_context": null}
|
||||||
|
|||||||
+28
-28
@@ -4,7 +4,7 @@
|
|||||||
"state": "ON",
|
"state": "ON",
|
||||||
"led_brightness": 100,
|
"led_brightness": 100,
|
||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"voltage": 119.5,
|
"voltage": 120.2,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"power_factor": 0.14,
|
"power_factor": 0.14,
|
||||||
@@ -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_source": "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/ThirdReality/SmartPlug_Zigbee_PROD_OTA_V101_1.01.01.ota",
|
||||||
"latest_release_notes": null
|
"latest_release_notes": null
|
||||||
},
|
},
|
||||||
"power": 0.5,
|
"power": 0.4,
|
||||||
"linkquality": 116,
|
"linkquality": 116,
|
||||||
"current": 0.03,
|
"current": 0.03,
|
||||||
"power_on_behavior": "on"
|
"power_on_behavior": "on"
|
||||||
@@ -45,10 +45,10 @@
|
|||||||
"state": "ON",
|
"state": "ON",
|
||||||
"led_brightness": 100,
|
"led_brightness": 100,
|
||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"voltage": 119,
|
"voltage": 120.3,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"energy": 57.05,
|
"energy": 57.07,
|
||||||
"power_factor": 0.2,
|
"power_factor": 0.31,
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"update": {
|
"update": {
|
||||||
"state": "idle",
|
"state": "idle",
|
||||||
@@ -58,8 +58,8 @@
|
|||||||
"latest_release_notes": null
|
"latest_release_notes": null
|
||||||
},
|
},
|
||||||
"linkquality": 134,
|
"linkquality": 134,
|
||||||
"power": 82.8,
|
"power": 0.2,
|
||||||
"current": 0.83,
|
"current": 0.01,
|
||||||
"power_on_behavior": "on"
|
"power_on_behavior": "on"
|
||||||
},
|
},
|
||||||
"0xb40e060fffe031e3": {
|
"0xb40e060fffe031e3": {
|
||||||
@@ -74,13 +74,13 @@
|
|||||||
"led_brightness": 100,
|
"led_brightness": 100,
|
||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"voltage": 119,
|
"voltage": 119.1,
|
||||||
"state": "ON",
|
"state": "ON",
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"energy": 117.35,
|
"energy": 117.41,
|
||||||
"power": 102.4,
|
"power": 0.8,
|
||||||
"current": 0.95,
|
"current": 0.02,
|
||||||
"power_factor": 0.94,
|
"power_factor": 0.41,
|
||||||
"update": {
|
"update": {
|
||||||
"state": "idle",
|
"state": "idle",
|
||||||
"installed_version": 268513381,
|
"installed_version": 268513381,
|
||||||
@@ -95,13 +95,13 @@
|
|||||||
"led_brightness": 100,
|
"led_brightness": 100,
|
||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"voltage": 119.3,
|
"voltage": 119.5,
|
||||||
"energy": 53.05,
|
"energy": 53.08,
|
||||||
"state": "ON",
|
"state": "ON",
|
||||||
"power": 49.6,
|
"power": 44.2,
|
||||||
"current": 0.52,
|
"current": 0.46,
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"power_factor": 0.77,
|
"power_factor": 0.75,
|
||||||
"update": {
|
"update": {
|
||||||
"state": "idle",
|
"state": "idle",
|
||||||
"installed_version": 268513381,
|
"installed_version": 268513381,
|
||||||
@@ -114,12 +114,12 @@
|
|||||||
},
|
},
|
||||||
"0xffffb40e060895b3": {
|
"0xffffb40e060895b3": {
|
||||||
"state": "ON",
|
"state": "ON",
|
||||||
"voltage": 119.9,
|
"voltage": 120,
|
||||||
"ac_frequency": 60,
|
"ac_frequency": 60,
|
||||||
"energy": 7.45,
|
"energy": 7.5,
|
||||||
"current": 0.24,
|
"current": 0.02,
|
||||||
"power": 15.3,
|
"power": 0.1,
|
||||||
"power_factor": 0.93,
|
"power_factor": 0.11,
|
||||||
"linkquality": 123,
|
"linkquality": 123,
|
||||||
"update": {
|
"update": {
|
||||||
"state": "idle",
|
"state": "idle",
|
||||||
@@ -136,7 +136,7 @@
|
|||||||
"0xffffb40e0608864e": {
|
"0xffffb40e0608864e": {
|
||||||
"led_brightness": 100,
|
"led_brightness": 100,
|
||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"voltage": 122.4,
|
"voltage": 120.5,
|
||||||
"energy": 17.64,
|
"energy": 17.64,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"state": "ON",
|
"state": "ON",
|
||||||
@@ -172,7 +172,7 @@
|
|||||||
"0xffffb40e060893d8": {
|
"0xffffb40e060893d8": {
|
||||||
"state": "ON",
|
"state": "ON",
|
||||||
"led_brightness": 100,
|
"led_brightness": 100,
|
||||||
"voltage": 121,
|
"voltage": 121.3,
|
||||||
"countdown_to_turn_off": 0,
|
"countdown_to_turn_off": 0,
|
||||||
"countdown_to_turn_on": 0,
|
"countdown_to_turn_on": 0,
|
||||||
"energy": 3.12,
|
"energy": 3.12,
|
||||||
@@ -187,12 +187,12 @@
|
|||||||
"latest_source": "https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/ThirdReality/SmartPlug_Zigbee_PROD_OTA_V101_1.01.01.ota",
|
"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
|
"latest_release_notes": null
|
||||||
},
|
},
|
||||||
"power_factor": 0.06,
|
"power_factor": 0.13,
|
||||||
"power": 0.1
|
"power": 0.1
|
||||||
},
|
},
|
||||||
"0xa4c1380d0679ffff": {
|
"0xa4c1380d0679ffff": {
|
||||||
"battery": 100,
|
"battery": 100,
|
||||||
"temperature": 27.7,
|
"temperature": 27.9,
|
||||||
"temperature_units": "celsius",
|
"temperature_units": "celsius",
|
||||||
"temperature_calibration": 0,
|
"temperature_calibration": 0,
|
||||||
"update": {
|
"update": {
|
||||||
@@ -205,7 +205,7 @@
|
|||||||
"linkquality": 76
|
"linkquality": 76
|
||||||
},
|
},
|
||||||
"0xffffb40e0606234b": {
|
"0xffffb40e0606234b": {
|
||||||
"contact": false,
|
"contact": true,
|
||||||
"battery_low": false,
|
"battery_low": false,
|
||||||
"battery": 100,
|
"battery": 100,
|
||||||
"linkquality": 91,
|
"linkquality": 91,
|
||||||
@@ -245,7 +245,7 @@
|
|||||||
},
|
},
|
||||||
"0xb40e060fffe717c5": {
|
"0xb40e060fffe717c5": {
|
||||||
"battery": 100,
|
"battery": 100,
|
||||||
"occupancy": false,
|
"occupancy": true,
|
||||||
"tamper": false,
|
"tamper": false,
|
||||||
"battery_low": false,
|
"battery_low": false,
|
||||||
"linkquality": 72,
|
"linkquality": 72,
|
||||||
|
|||||||
Reference in New Issue
Block a user