updates
This commit is contained in:
@@ -54,10 +54,9 @@
|
||||
target:
|
||||
entity_id: light.jordyns_layer_slayer_chamber_light
|
||||
data: {}
|
||||
- type: turn_on
|
||||
device_id: d174bbc498cde1d02e455cb133c04675
|
||||
entity_id: 0736793ae0d143db76ea7c64d86f4268
|
||||
domain: switch
|
||||
- action: switch.turn_on
|
||||
target:
|
||||
entity_id: switch.jordyn_s_a1_camera_jordyn_a1_camera_flash
|
||||
mode: single
|
||||
- id: '1770938581699'
|
||||
alias: D’s turd flinger Light on during print
|
||||
@@ -81,10 +80,9 @@
|
||||
data:
|
||||
color_temp_kelvin: 6500
|
||||
brightness_pct: 100
|
||||
- type: turn_on
|
||||
device_id: c63f4513655bdd5b44b998f45b491136
|
||||
entity_id: fe6d0eee24eb1b397d37b7389137b5b5
|
||||
domain: switch
|
||||
- action: switch.turn_on
|
||||
target:
|
||||
entity_id: switch.declan_s_a1_camera_declan_a1_camera_flash
|
||||
mode: single
|
||||
- id: '1770938855253'
|
||||
alias: Jordyn-a1-light-off-print-send
|
||||
@@ -108,10 +106,9 @@
|
||||
- light.jordyn_s_led_controller_jordyn_s_led_controller
|
||||
data:
|
||||
transition: 60
|
||||
- type: turn_off
|
||||
device_id: d174bbc498cde1d02e455cb133c04675
|
||||
entity_id: 0736793ae0d143db76ea7c64d86f4268
|
||||
domain: switch
|
||||
- action: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.jordyn_s_a1_camera_jordyn_a1_camera_flash
|
||||
mode: single
|
||||
- id: '1770943298493'
|
||||
alias: D’s turd flinger Light Off after print
|
||||
@@ -133,10 +130,9 @@
|
||||
entity_id:
|
||||
- light.a1_03919d540806387_chamber_light
|
||||
data: {}
|
||||
- type: turn_off
|
||||
device_id: c63f4513655bdd5b44b998f45b491136
|
||||
entity_id: fe6d0eee24eb1b397d37b7389137b5b5
|
||||
domain: switch
|
||||
- action: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.declan_s_a1_camera_declan_a1_camera_flash
|
||||
mode: single
|
||||
- id: '1770944104889'
|
||||
alias: Prints-Charming-Lights-On-Print-Started
|
||||
@@ -235,10 +231,9 @@
|
||||
data:
|
||||
color_temp_kelvin: 6500
|
||||
brightness_pct: 100
|
||||
- type: turn_on
|
||||
device_id: a78c9554b983d1e2459194cc0fee22d3
|
||||
entity_id: d430d19aa2f118038cb01a3157865ed0
|
||||
domain: switch
|
||||
- action: switch.turn_on
|
||||
target:
|
||||
entity_id: switch.polly_a1_mini_camera_polly_a1_mini_cam_flash
|
||||
mode: single
|
||||
- id: '1771272773906'
|
||||
alias: polly-pocket-a1-mini-lights-off-during-print
|
||||
@@ -260,10 +255,9 @@
|
||||
entity_id:
|
||||
- light.a1mini_0309ca580403653_chamber_light
|
||||
data: {}
|
||||
- type: turn_off
|
||||
device_id: a78c9554b983d1e2459194cc0fee22d3
|
||||
entity_id: d430d19aa2f118038cb01a3157865ed0
|
||||
domain: switch
|
||||
- action: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.polly_a1_mini_camera_polly_a1_mini_cam_flash
|
||||
mode: single
|
||||
|
||||
### Printer Exhaust Fan Control ###
|
||||
@@ -323,4 +317,4 @@
|
||||
and expand(printers) | selectattr('state', 'in', ['unknown', 'unavailable']) | list | count == 0 }}
|
||||
- action: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.studio_plug_2
|
||||
entity_id: switch.studio_plug_2
|
||||
|
||||
+326
@@ -0,0 +1,326 @@
|
||||
- id: '1743176311797'
|
||||
alias: Bambu Lab - Spaghetti Detection
|
||||
description: ''
|
||||
use_blueprint:
|
||||
path: nberktumer/spaghetti_detection.yaml
|
||||
input:
|
||||
home_assistant_host: http://192.168.1.86:8123
|
||||
obico_host: http://192.168.1.85:3333
|
||||
obico_auth_token: 5b3dd0ff-7e41-47f4-9027-9e609813ae66
|
||||
printer_current_stage_sensor: sensor.p1s_01p09c470102673_current_stage
|
||||
printer_print_status_sensor: sensor.p1s_01p09c470102673_print_status
|
||||
printer_camera: camera.p1s_01p09c470102673_camera
|
||||
printer_pause_button: button.p1s_01p09c470102673_pause_printing
|
||||
printer_resume_button: button.p1s_01p09c470102673_resume_printing
|
||||
printer_stop_button: button.p1s_01p09c470102673_stop_printing
|
||||
printer_chamber_light: light.p1s_01p09c470102673_chamber_light
|
||||
detection_frequency: /30
|
||||
notification_settings: standard
|
||||
notification_service: notify.mobile_app_joshuas_iphone_of_pain
|
||||
|
||||
### Status Notifications ###
|
||||
|
||||
- id: '1767118574570'
|
||||
alias: Centauri Carbon Status Updates
|
||||
description: Centauri Carbon progress notifications; intentionally disabled at startup.
|
||||
initial_state: false
|
||||
use_blueprint:
|
||||
path: danielcherubini/elegoo_printer_progress.yaml
|
||||
input:
|
||||
error_status_reason_entity: sensor.centauri_carbon_error_status_reason
|
||||
notify_device: eabafa43fa1148e4facc8e5a4151958d
|
||||
current_status_entity: sensor.centauri_carbon_current_status
|
||||
print_status_entity: sensor.centauri_carbon_print_status
|
||||
percent_complete_entity: sensor.centauri_carbon_percent_complete
|
||||
|
||||
### Printer Light Automations ###
|
||||
|
||||
- id: '1770938475431'
|
||||
alias: Jordyn-A1-lights-on-during-print
|
||||
description: ''
|
||||
triggers:
|
||||
- device_id: 6d6eebb0e8ea6f46ac2ec3a3a5a5eae3
|
||||
domain: bambu_lab
|
||||
type: event_print_started
|
||||
trigger: device
|
||||
- device_id: 6d6eebb0e8ea6f46ac2ec3a3a5a5eae3
|
||||
domain: bambu_lab
|
||||
type: event_print_error_cleared
|
||||
trigger: device
|
||||
conditions: []
|
||||
actions:
|
||||
- action: light.turn_on
|
||||
metadata: {}
|
||||
target:
|
||||
entity_id: light.jordyns_layer_slayer_chamber_light
|
||||
data: {}
|
||||
- type: turn_on
|
||||
device_id: d174bbc498cde1d02e455cb133c04675
|
||||
entity_id: 0736793ae0d143db76ea7c64d86f4268
|
||||
domain: switch
|
||||
mode: single
|
||||
- id: '1770938581699'
|
||||
alias: D’s turd flinger Light on during print
|
||||
description: ''
|
||||
triggers:
|
||||
- device_id: 299743e9ce66334a0f3bac10eb24cf31
|
||||
domain: bambu_lab
|
||||
type: event_print_started
|
||||
trigger: device
|
||||
- device_id: 299743e9ce66334a0f3bac10eb24cf31
|
||||
domain: bambu_lab
|
||||
type: event_print_error_cleared
|
||||
trigger: device
|
||||
conditions: []
|
||||
actions:
|
||||
- action: light.turn_on
|
||||
metadata: {}
|
||||
target:
|
||||
entity_id:
|
||||
- light.a1_03919d540806387_chamber_light
|
||||
data:
|
||||
color_temp_kelvin: 6500
|
||||
brightness_pct: 100
|
||||
- type: turn_on
|
||||
device_id: c63f4513655bdd5b44b998f45b491136
|
||||
entity_id: fe6d0eee24eb1b397d37b7389137b5b5
|
||||
domain: switch
|
||||
mode: single
|
||||
- id: '1770938855253'
|
||||
alias: Jordyn-a1-light-off-print-send
|
||||
description: ''
|
||||
triggers:
|
||||
- device_id: 6d6eebb0e8ea6f46ac2ec3a3a5a5eae3
|
||||
domain: bambu_lab
|
||||
type: event_print_finished
|
||||
trigger: device
|
||||
- device_id: 6d6eebb0e8ea6f46ac2ec3a3a5a5eae3
|
||||
domain: bambu_lab
|
||||
type: event_print_canceled
|
||||
trigger: device
|
||||
conditions: []
|
||||
actions:
|
||||
- action: light.turn_off
|
||||
metadata: {}
|
||||
target:
|
||||
entity_id:
|
||||
- light.jordyns_layer_slayer_chamber_light
|
||||
- light.jordyn_s_led_controller_jordyn_s_led_controller
|
||||
data:
|
||||
transition: 60
|
||||
- type: turn_off
|
||||
device_id: d174bbc498cde1d02e455cb133c04675
|
||||
entity_id: 0736793ae0d143db76ea7c64d86f4268
|
||||
domain: switch
|
||||
mode: single
|
||||
- id: '1770943298493'
|
||||
alias: D’s turd flinger Light Off after print
|
||||
description: ''
|
||||
triggers:
|
||||
- device_id: 299743e9ce66334a0f3bac10eb24cf31
|
||||
domain: bambu_lab
|
||||
type: event_print_finished
|
||||
trigger: device
|
||||
- device_id: 299743e9ce66334a0f3bac10eb24cf31
|
||||
domain: bambu_lab
|
||||
type: event_print_canceled
|
||||
trigger: device
|
||||
conditions: []
|
||||
actions:
|
||||
- action: light.turn_off
|
||||
metadata: {}
|
||||
target:
|
||||
entity_id:
|
||||
- light.a1_03919d540806387_chamber_light
|
||||
data: {}
|
||||
- type: turn_off
|
||||
device_id: c63f4513655bdd5b44b998f45b491136
|
||||
entity_id: fe6d0eee24eb1b397d37b7389137b5b5
|
||||
domain: switch
|
||||
mode: single
|
||||
- id: '1770944104889'
|
||||
alias: Prints-Charming-Lights-On-Print-Started
|
||||
description: 'Repaired by agent: replaced deleted Bambu device trigger with P1S
|
||||
print_status entity trigger.'
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id: sensor.p1s_01p09c470102673_print_status
|
||||
to:
|
||||
- printing
|
||||
- running
|
||||
conditions: []
|
||||
actions:
|
||||
- action: light.turn_on
|
||||
metadata: {}
|
||||
target:
|
||||
entity_id: light.p1s_01p09c470102673_chamber_light
|
||||
data: {}
|
||||
mode: single
|
||||
- id: '1770944453024'
|
||||
alias: Prints-Charming-Light-Off-Print-Completes
|
||||
description: 'Repaired by agent: replaced deleted Bambu device trigger with P1S
|
||||
print_status entity trigger.'
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id: sensor.p1s_01p09c470102673_print_status
|
||||
to:
|
||||
- finish
|
||||
- complete
|
||||
- completed
|
||||
- idle
|
||||
- failed
|
||||
- cancelled
|
||||
conditions:
|
||||
- condition: template
|
||||
value_template: '{{ trigger.from_state is not none and trigger.from_state.state
|
||||
in [''printing'',''running'',''paused'',''pause'',''prepare'',''preparing''] }}'
|
||||
actions:
|
||||
- action: light.turn_off
|
||||
metadata: {}
|
||||
data: {}
|
||||
target:
|
||||
entity_id: light.p1s_01p09c470102673_chamber_light
|
||||
mode: single
|
||||
- id: '1770944259063'
|
||||
alias: Constipation-Orion-Light-On-When-Print-Starts
|
||||
description: ''
|
||||
triggers:
|
||||
- device_id: 615a0b19447425670a6b61ec2343c791
|
||||
domain: bambu_lab
|
||||
type: event_print_started
|
||||
trigger: device
|
||||
conditions: []
|
||||
actions:
|
||||
- action: light.turn_on
|
||||
metadata: {}
|
||||
target:
|
||||
entity_id: light.constipation_orion_chamber_light
|
||||
data: {}
|
||||
mode: single
|
||||
- id: '1770944373316'
|
||||
alias: Constipation-Orion-Light-Off-Print-Finishes
|
||||
description: Turn the chamber light off after a completed or cancelled print.
|
||||
triggers:
|
||||
- device_id: 615a0b19447425670a6b61ec2343c791
|
||||
domain: bambu_lab
|
||||
type: event_print_finished
|
||||
trigger: device
|
||||
- device_id: 615a0b19447425670a6b61ec2343c791
|
||||
domain: bambu_lab
|
||||
type: event_print_canceled
|
||||
trigger: device
|
||||
conditions: []
|
||||
actions:
|
||||
- action: light.turn_off
|
||||
metadata: {}
|
||||
target:
|
||||
entity_id: light.constipation_orion_chamber_light
|
||||
data: {}
|
||||
mode: single
|
||||
- id: '1771272500745'
|
||||
alias: polly-pocket-a1-mini-lights-on-during-print
|
||||
description: ''
|
||||
triggers:
|
||||
- device_id: 1cf63ab34db5ac50291c1477cddf2b9a
|
||||
domain: bambu_lab
|
||||
type: event_print_started
|
||||
trigger: device
|
||||
conditions: []
|
||||
actions:
|
||||
- action: light.turn_on
|
||||
metadata: {}
|
||||
target:
|
||||
entity_id:
|
||||
- light.a1mini_0309ca580403653_chamber_light
|
||||
data:
|
||||
color_temp_kelvin: 6500
|
||||
brightness_pct: 100
|
||||
- type: turn_on
|
||||
device_id: a78c9554b983d1e2459194cc0fee22d3
|
||||
entity_id: d430d19aa2f118038cb01a3157865ed0
|
||||
domain: switch
|
||||
mode: single
|
||||
- id: '1771272773906'
|
||||
alias: polly-pocket-a1-mini-lights-off-during-print
|
||||
description: ''
|
||||
triggers:
|
||||
- device_id: 1cf63ab34db5ac50291c1477cddf2b9a
|
||||
domain: bambu_lab
|
||||
type: event_print_finished
|
||||
trigger: device
|
||||
- device_id: 1cf63ab34db5ac50291c1477cddf2b9a
|
||||
domain: bambu_lab
|
||||
type: event_print_canceled
|
||||
trigger: device
|
||||
conditions: []
|
||||
actions:
|
||||
- action: light.turn_off
|
||||
metadata: {}
|
||||
target:
|
||||
entity_id:
|
||||
- light.a1mini_0309ca580403653_chamber_light
|
||||
data: {}
|
||||
- type: turn_off
|
||||
device_id: a78c9554b983d1e2459194cc0fee22d3
|
||||
entity_id: d430d19aa2f118038cb01a3157865ed0
|
||||
domain: switch
|
||||
mode: single
|
||||
|
||||
### Printer Exhaust Fan Control ###
|
||||
|
||||
- id: fdm_printer_exhaust_fans
|
||||
alias: FDM Printer Exhaust Fans During Prints
|
||||
description: >-
|
||||
Turn on the FDM Printer Exhaust Fans outlet when Constipation Orion,
|
||||
Prints Charming, or Printney Spears (Centauri Carbon) is printing. Leave it
|
||||
on until all three have been finished for 30 minutes. A pause keeps the
|
||||
fans on. An unknown printer status does not start the shutoff timer.
|
||||
mode: restart
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id:
|
||||
- sensor.constipation_orion_print_status
|
||||
- sensor.p1s_01p09c470102673_print_status
|
||||
- sensor.centauri_carbon_print_status
|
||||
- trigger: homeassistant
|
||||
event: start
|
||||
- trigger: event
|
||||
event_type: automation_reloaded
|
||||
conditions: []
|
||||
actions:
|
||||
- variables:
|
||||
active_states:
|
||||
- printing
|
||||
- running
|
||||
- pause
|
||||
- paused
|
||||
- pausing
|
||||
- prepare
|
||||
- preparing
|
||||
printers:
|
||||
- sensor.constipation_orion_print_status
|
||||
- sensor.p1s_01p09c470102673_print_status
|
||||
- sensor.centauri_carbon_print_status
|
||||
- if:
|
||||
- condition: template
|
||||
value_template: >-
|
||||
{{ expand(printers) | selectattr('state', 'in', active_states) | list | count > 0 }}
|
||||
then:
|
||||
- action: switch.turn_on
|
||||
target:
|
||||
entity_id: switch.studio_plug_2
|
||||
else:
|
||||
- condition: template
|
||||
value_template: "{{ trigger.platform == 'state' }}"
|
||||
- condition: template
|
||||
value_template: >-
|
||||
{{ expand(printers) | selectattr('state', 'in', ['unknown', 'unavailable']) | list | count == 0 }}
|
||||
- delay:
|
||||
minutes: 30
|
||||
- condition: template
|
||||
value_template: >-
|
||||
{{ expand(printers) | selectattr('state', 'in', active_states) | list | count == 0
|
||||
and expand(printers) | selectattr('state', 'in', ['unknown', 'unavailable']) | list | count == 0 }}
|
||||
- action: switch.turn_off
|
||||
target:
|
||||
entity_id: switch.studio_plug_2
|
||||
Reference in New Issue
Block a user