.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json
This commit is contained in:
@@ -652,3 +652,4 @@
|
||||
{"timestamp": "2026-08-07T13:02:43.575743+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config['views'][1]['sections'][1]['cards'].append({\"type\": \"custom:apexcharts-card\", \"header\": {\"show\": True, \"title\": \"Print Outcomes (30 days)\", \"show_states\": True, \"colorize_states\": True}, \"graph_span\": 30, \"apex_config\": {\"chart\": {\"type\": \"bar\", \"stacked\": True, \"height\": 300}, \"plotOptions\": {\"bar\": {\"columnWidth\": \"50%\"}}, \"dataLabels\": {\"enabled\": True}, \"yaxis\": {\"tickAmount\": 4, \"labels\": {\"minWidth\": 40}}, \"legend\": {\"show\": True}}, \"series\": [{\"entity\": \"sensor.octoprint_successful_prints_count\", \"name\": \"Successful\", \"color\": \"#66bb6a\", \"type\": \"column\", \"statistics\": {\"type\": \"change\", \"period\": \"day\", \"align\": \"end\"}}, {\"entity\": \"sensor.octoprint_failed_prints_count\", \"name\": \"Failed\", \"color\": \"#ef5350\", \"type\": \"column\", \"statistics\": {\"type\": \"change\", \"period\": \"day\", \"align\": \"end\"}}], \"grid_options\": {\"columns\": \"full\"}})", "config_hash": "57e4ba20d169bbf3", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 7.292270660400391, "success": true, "error_message": null, "response_size_bytes": 1448, "user_context": null}
|
||||
{"timestamp": "2026-08-07T13:02:49.842578+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["counter.octoprint_successful_prints", "counter.octoprint_failed_prints", "sensor.octoprint_successful_prints_count", "sensor.octoprint_failed_prints_count", "automation.count_octoprint_print_outcomes"], "fields": ["entity_id", "state"], "attribute_keys": null}, "execution_time_ms": 25.84552764892578, "success": true, "error_message": null, "response_size_bytes": 944, "user_context": null}
|
||||
{"timestamp": "2026-08-07T13:02:50.207245+00:00", "tool_name": "ha_get_history", "parameters": {"entity_ids": "sensor.octoprint_successful_prints_count", "source": "statistics", "start_time": "1d", "end_time": null, "minimal_response": true, "significant_changes_only": true, "limit": null, "offset": null, "period": "day", "statistic_types": ["change"], "order": "desc", "fields": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 11.673212051391602, "success": true, "error_message": null, "response_size_bytes": 1028, "user_context": null}
|
||||
{"timestamp": "2026-08-07T13:02:58.325931+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.octoprint_successful_prints_count", "sensor.octoprint_failed_prints_count"], "fields": null, "attribute_keys": ["state_class", "unit_of_measurement", "friendly_name", "icon", "available"]}, "execution_time_ms": 12.311697006225586, "success": true, "error_message": null, "response_size_bytes": 1430, "user_context": null}
|
||||
|
||||
+23
-23
@@ -4,7 +4,7 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 118.8,
|
||||
"voltage": 119.8,
|
||||
"countdown_to_turn_on": 0,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.15,
|
||||
@@ -27,10 +27,10 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"power": 70.4,
|
||||
"power": 3.8,
|
||||
"current": 0.12,
|
||||
"energy": 26.83,
|
||||
"power_factor": 0.26,
|
||||
"power_factor": 0.25,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -45,10 +45,10 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 118.6,
|
||||
"voltage": 118.1,
|
||||
"countdown_to_turn_on": 0,
|
||||
"energy": 50.22,
|
||||
"power_factor": 0.2,
|
||||
"energy": 50.23,
|
||||
"power_factor": 0.9,
|
||||
"ac_frequency": 60,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -58,8 +58,8 @@
|
||||
"latest_release_notes": null
|
||||
},
|
||||
"linkquality": 134,
|
||||
"power": 0.3,
|
||||
"current": 0.01,
|
||||
"power": 83.7,
|
||||
"current": 0.82,
|
||||
"power_on_behavior": "on"
|
||||
},
|
||||
"0xb40e060fffe031e3": {
|
||||
@@ -74,13 +74,13 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 117,
|
||||
"voltage": 118.9,
|
||||
"state": "ON",
|
||||
"ac_frequency": 60,
|
||||
"energy": 102.34,
|
||||
"power": 95.3,
|
||||
"current": 0.9,
|
||||
"power_factor": 0.95,
|
||||
"energy": 102.35,
|
||||
"power": 0.8,
|
||||
"current": 0.05,
|
||||
"power_factor": 0.4,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -95,13 +95,13 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 118.6,
|
||||
"voltage": 119.6,
|
||||
"energy": 43.62,
|
||||
"state": "ON",
|
||||
"power": 86.4,
|
||||
"current": 0.92,
|
||||
"power": 70.6,
|
||||
"current": 0.78,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.73,
|
||||
"power_factor": 0.8,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -114,7 +114,7 @@
|
||||
},
|
||||
"0xffffb40e060895b3": {
|
||||
"state": "ON",
|
||||
"voltage": 118.6,
|
||||
"voltage": 118.5,
|
||||
"ac_frequency": 60,
|
||||
"energy": 6.33,
|
||||
"current": 0.01,
|
||||
@@ -136,7 +136,7 @@
|
||||
"0xffffb40e0608864e": {
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 119,
|
||||
"voltage": 120.2,
|
||||
"energy": 17.34,
|
||||
"countdown_to_turn_on": 0,
|
||||
"state": "ON",
|
||||
@@ -172,13 +172,13 @@
|
||||
"0xffffb40e060893d8": {
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"voltage": 119,
|
||||
"voltage": 120.4,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"energy": 3.04,
|
||||
"power_on_behavior": "on",
|
||||
"linkquality": 87,
|
||||
"current": 0.01,
|
||||
"current": 0.03,
|
||||
"ac_frequency": 60,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -187,8 +187,8 @@
|
||||
"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_factor": 0.06,
|
||||
"power": 0.1
|
||||
"power_factor": 0.27,
|
||||
"power": 0
|
||||
},
|
||||
"0xa4c1380d0679ffff": {
|
||||
"battery": 100,
|
||||
|
||||
Reference in New Issue
Block a user