diff --git a/automations.yaml b/automations.yaml index f6f64197..ef941a13 100644 --- a/automations.yaml +++ b/automations.yaml @@ -3397,9 +3397,11 @@ - id: '1786068561172' alias: 3D Printer Running - Playroom Light & Basement Heat description: When the 3D printer running helper turns on, turn on the SparkX i7 - light and the bedroom lamp, set the basement to 22 degrees C, and turn on the - filter. When the helper turns off, turn the SparkX light off after 3 minutes, - turn off the bedroom lamp after 10 minutes, and turn off the filter after 1 hour. + light and the local 3D printer light at bright white, turn on the bedroom lamp, + set the basement to 22 degrees C, and turn on the filter. When the helper turns + off, turn the SparkX light off after 3 minutes, set the local light to purple + at 25%, turn off the bedroom lamp after 10 minutes, and turn off the filter after + 1 hour. triggers: - entity_id: input_boolean.3d_printer_running id: printer_started @@ -3418,6 +3420,16 @@ - action: light.turn_on target: entity_id: light.sparkx_i7_light + - action: light.turn_on + continue_on_error: true + data: + brightness_pct: 100 + rgb_color: + - 255 + - 255 + - 255 + target: + entity_id: light.3d_printer_lights_local - action: light.turn_on data: brightness_pct: 100 @@ -3443,6 +3455,16 @@ - action: light.turn_off target: entity_id: light.sparkx_i7_light + - action: light.turn_on + continue_on_error: true + data: + brightness_pct: 25 + rgb_color: + - 128 + - 0 + - 128 + target: + entity_id: light.3d_printer_lights_local - delay: minutes: 7 - action: light.turn_off diff --git a/zigbee2mqtt/state.json b/zigbee2mqtt/state.json index 61dbca2c..9ec7cd71 100644 --- a/zigbee2mqtt/state.json +++ b/zigbee2mqtt/state.json @@ -27,10 +27,10 @@ "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "power": 16.4, - "current": 2.01, - "energy": 46.38, - "power_factor": 0.04, + "power": 1.9, + "current": 0.09, + "energy": 46.39, + "power_factor": 0.18, "update": { "state": "idle", "installed_version": 268513381, @@ -47,7 +47,7 @@ "countdown_to_turn_off": 0, "voltage": 119.8, "countdown_to_turn_on": 0, - "energy": 90.42, + "energy": 90.44, "power_factor": 0.2, "ac_frequency": 60, "update": { @@ -58,13 +58,13 @@ "latest_release_notes": null }, "linkquality": 120, - "power": 84, - "current": 0.84, + "power": 84.2, + "current": 0.82, "power_on_behavior": "on" }, "0xb40e060fffe031e3": { "battery": 100, - "contact": false, + "contact": true, "tamper": false, "battery_low": false, "linkquality": 120, @@ -74,11 +74,11 @@ "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "voltage": 118.5, + "voltage": 119, "state": "ON", "ac_frequency": 60, - "energy": 184.61, - "power": 102.8, + "energy": 184.62, + "power": 101.3, "current": 0.95, "power_factor": 0.93, "update": { @@ -95,13 +95,13 @@ "led_brightness": 100, "countdown_to_turn_off": 0, "countdown_to_turn_on": 0, - "voltage": 120.2, - "energy": 91.65, + "voltage": 119.1, + "energy": 91.66, "state": "ON", - "power": 63.5, - "current": 0.66, + "power": 65.1, + "current": 0.61, "ac_frequency": 60, - "power_factor": 0.75, + "power_factor": 0.73, "update": { "state": "idle", "installed_version": 268513381, @@ -119,7 +119,7 @@ "energy": 12.14, "current": 0.01, "power": 0.2, - "power_factor": 0.11, + "power_factor": 0.22, "linkquality": 87, "update": { "state": "idle",