automations.yaml, zigbee2mqtt/state.json
This commit is contained in:
+15
-2
@@ -3541,8 +3541,8 @@
|
||||
- id: '1787462157568'
|
||||
alias: 3D Print Early Layers Snapshot
|
||||
description: Telegram-only snapshots from all 3 printer cameras. Fires when Z crosses
|
||||
1.0 mm, then again at 25%, 50% and 75% print progress. One set of photos per milestone,
|
||||
sent as a Telegram album.
|
||||
1.0 mm, then again at 25%, 50% and 75% print progress. Re-asserts the SparkX i7
|
||||
light and bedroom lamp before capturing so the photos are lit.
|
||||
triggers:
|
||||
- above: 1
|
||||
entity_id: sensor.sparkx_i7_position_z
|
||||
@@ -3574,6 +3574,19 @@
|
||||
>= 50 %} 50% complete {% else %} 25% complete {% endif %}'
|
||||
tag: '{% if trigger.entity_id == ''sensor.sparkx_i7_position_z'' %} z1 {% else
|
||||
%} p{{ trigger.above | int }} {% endif %}'
|
||||
- if:
|
||||
- condition: template
|
||||
value_template: '{{ not is_state(''light.sparkx_i7_light'', ''on'') or not is_state(''light.bedroom_lamp_2'',
|
||||
''on'') }}'
|
||||
then:
|
||||
- action: light.turn_on
|
||||
continue_on_error: true
|
||||
target:
|
||||
entity_id:
|
||||
- light.sparkx_i7_light
|
||||
- light.bedroom_lamp_2
|
||||
- delay:
|
||||
seconds: 3
|
||||
- parallel:
|
||||
- action: camera.snapshot
|
||||
data:
|
||||
|
||||
+12
-12
@@ -22,7 +22,7 @@
|
||||
},
|
||||
"0xffffb40e0607af27": {
|
||||
"state": "ON",
|
||||
"voltage": 120.1,
|
||||
"voltage": 120,
|
||||
"ac_frequency": 60,
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
@@ -48,7 +48,7 @@
|
||||
"voltage": 119.8,
|
||||
"countdown_to_turn_on": 0,
|
||||
"energy": 96.41,
|
||||
"power_factor": 0.2,
|
||||
"power_factor": 0.88,
|
||||
"ac_frequency": 60,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -58,8 +58,8 @@
|
||||
"latest_release_notes": null
|
||||
},
|
||||
"linkquality": 145,
|
||||
"power": 0.2,
|
||||
"current": 0.01,
|
||||
"power": 85.4,
|
||||
"current": 0.85,
|
||||
"power_on_behavior": "on"
|
||||
},
|
||||
"0xb40e060fffe031e3": {
|
||||
@@ -77,9 +77,9 @@
|
||||
"voltage": 118.8,
|
||||
"state": "ON",
|
||||
"ac_frequency": 60,
|
||||
"energy": 198.89,
|
||||
"power": 99.4,
|
||||
"current": 0.9,
|
||||
"energy": 198.9,
|
||||
"power": 95.2,
|
||||
"current": 0.85,
|
||||
"power_factor": 0.94,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -96,12 +96,12 @@
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 120.1,
|
||||
"energy": 96.07,
|
||||
"energy": 96.08,
|
||||
"state": "ON",
|
||||
"power": 15.8,
|
||||
"current": 0.25,
|
||||
"power": 10.7,
|
||||
"current": 0.18,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.5,
|
||||
"power_factor": 0.58,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
"installed_version": 268513381,
|
||||
@@ -119,7 +119,7 @@
|
||||
"energy": 13.31,
|
||||
"current": 0.01,
|
||||
"power": 0.1,
|
||||
"power_factor": 0.11,
|
||||
"power_factor": 0.2,
|
||||
"linkquality": 116,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
|
||||
Reference in New Issue
Block a user