diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index 719135a3..2a251eb5 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -4680,3 +4680,5 @@ {"timestamp": "2026-10-15T20:39:39.628727+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% for pair in [['1','9'],['2','4'],['3','5'],['4','8']] %}{% set n = pair[0] %}{% set e = 'sensor.spoolman_spool_' ~ pair[1] %}{% set hex = state_attr(e, 'filament_color_hex') | default('44739e') %}{% set hc = ('#' ~ hex) if not hex.startswith('#') else hex %}{% set r = hc[1:3] | int(0, 16) %}{% set g = hc[3:5] | int(0, 16) %}{% set b = hc[5:7] | int(0, 16) %}{% set lum = (0.2126 * r + 0.7152 * g + 0.0722 * b) %}slot{{ n }} hex={{ hc }} r={{ r }} g={{ g }} b={{ b }} lum={{ lum | round(0) }} text={{ 'dark #111 (ok)' if lum > 170 else 'WHITE needed' }}\n{% endfor %}", "condition": null, "variables": null, "strict": false, "timeout": 3, "report_errors": true}, "execution_time_ms": 23.965835571289062, "success": true, "error_message": null, "response_size_bytes": 1037, "user_context": null} {"timestamp": "2026-10-15T20:56:19.468787+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "3d-printer-cellphone", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "query": "v.halo", "describe": false}, "execution_time_ms": 23.740530014038086, "success": true, "error_message": null, "response_size_bytes": 374, "user_context": null} {"timestamp": "2026-10-15T20:56:19.470132+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% set hex = state_attr('sensor.spoolman_spool_8', 'filament_color_hex') ~ '' %}\n{% set hex_clean = (hex | replace('#','') | lower ~ 'ffffff')[0:6] %}\n{% set remain = states('sensor.spoolman_spool_8') | float(0) %}\n{% set total = state_attr('sensor.spoolman_spool_8', 'filament_weight') | float(1000) %}\n{% set raw_pct = (remain / total * 100) if total > 0 else 0 %}\n{% set pct = [raw_pct, 100] | min %}\n{% set tr = hex_clean[1:3] | int(0, 16) %}\n{% set tg = hex_clean[3:5] | int(0, 16) %}\n{% set tb = hex_clean[5:7] | int(0, 16) %}\n{% set lum = (0.2126 * tr + 0.7152 * tg + 0.0722 * tb) %}\n{% set text = '#ffffff' if (pct >= 60 and lum <= 170) else '#111111' %}\n{% set halo = 'rgba(0,0,0,0.9)' if text == '#ffffff' else 'rgba(255,255,255,0.95)' %}\nhex={{ hex }} clean={{ hex_clean }} remain={{ remain }} total={{ total }} raw_pct={{ raw_pct }} pct={{ pct }} tr={{ tr }} tg={{ tg }} tb={{ tb }} lum={{ lum }} text={{ text }} halo={{ halo }}", "condition": null, "variables": null, "strict": false, "timeout": 3, "report_errors": true}, "execution_time_ms": 26.816844940185547, "success": true, "error_message": null, "response_size_bytes": 1241, "user_context": null} +{"timestamp": "2026-10-15T20:57:04.167098+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "3d-printer-cellphone", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "query": "text-shadow", "describe": false}, "execution_time_ms": 108.71243476867676, "success": true, "error_message": null, "response_size_bytes": 379, "user_context": null} +{"timestamp": "2026-10-15T20:57:04.172566+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "3d-printer-cellphone", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "query": "v.text", "describe": false}, "execution_time_ms": 89.6005630493164, "success": true, "error_message": null, "response_size_bytes": 374, "user_context": null} diff --git a/zigbee2mqtt/state.json b/zigbee2mqtt/state.json index 5694f1f1..56d8bebf 100644 --- a/zigbee2mqtt/state.json +++ b/zigbee2mqtt/state.json @@ -4,7 +4,7 @@ "state": "ON", "led_brightness": 100, "countdown_to_turn_off": 0, - "voltage": 120.3, + "voltage": 119.8, "countdown_to_turn_on": 0, "ac_frequency": 60, "power_factor": 0.14, @@ -45,9 +45,9 @@ "state": "ON", "led_brightness": 100, "countdown_to_turn_off": 0, - "voltage": 120.2, + "voltage": 119.1, "countdown_to_turn_on": 0, - "energy": 109.87, + "energy": 109.88, "power_factor": 0.9, "ac_frequency": 60, "update": { @@ -58,7 +58,7 @@ "latest_release_notes": null }, "linkquality": 145, - "power": 93.9, + "power": 94.9, "current": 0.89, "power_on_behavior": "on" }, @@ -74,12 +74,12 @@ "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "voltage": 119, + "voltage": 119.5, "state": "ON", "ac_frequency": 60, - "energy": 223.04, - "power": 0.8, - "current": 0.05, + "energy": 223.05, + "power": 6.2, + "current": 0.08, "power_factor": 0.38, "update": { "state": "idle", @@ -95,13 +95,13 @@ "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "voltage": 120, + "voltage": 119.3, "energy": 104.53, "state": "ON", - "power": 47.1, - "current": 0.52, + "power": 61, + "current": 0.61, "ac_frequency": 60, - "power_factor": 0.83, + "power_factor": 0.79, "update": { "state": "idle", "installed_version": 268513381, @@ -114,12 +114,12 @@ }, "0xffffb40e060895b3": { "state": "ON", - "voltage": 120.1, + "voltage": 117.8, "ac_frequency": 60, "energy": 15.34, "current": 0.31, "power": 0.1, - "power_factor": 0.2, + "power_factor": 0.11, "linkquality": 116, "update": { "state": "idle", @@ -136,14 +136,14 @@ "0xffffb40e0608864e": { "led_brightness": 100, "countdown_to_turn_off": 0, - "voltage": 120.8, + "voltage": 122, "energy": 37.98, "countdown_to_turn_on": 0, "state": "ON", "current": 0.02, "ac_frequency": 60, "power": 0.4, - "power_factor": 0.14, + "power_factor": 0.2, "update": { "state": "idle", "installed_version": 268513381,