feat: add litter box alert and kiosk dashboard automations
Add new automation files to the Home Assistant configuration: - 02a_litter_box_alerts.yaml: Notifications for multiple litter boxes (Poop Box, Triple Threat, Cat Crapper 3000, The Deuce, and Luma Smart) covering waste bin full, low litter level, door error, and deodorant empty alerts, leveraging shared notification blueprints - 06a_kiosk_dashboards.yaml: Automations for managing kiosk dashboards These automations centralize pet-care and maintenance notifications so alerts are triggered consistently across devices.
This commit is contained in:
@@ -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
|
||||
@@ -0,0 +1,71 @@
|
||||
- id: '1767118623336'
|
||||
alias: Saturn Status Notifications
|
||||
description: ''
|
||||
use_blueprint:
|
||||
path: danielcherubini/elegoo_printer_progress.yaml
|
||||
input:
|
||||
percent_complete_entity: sensor.saturn_iv_percent_complete
|
||||
print_status_entity: sensor.saturn_iv_print_status
|
||||
current_status_entity: sensor.saturn_iv_current_status
|
||||
error_status_reason_entity: sensor.saturn_iv_error_status_reason
|
||||
notify_device: eabafa43fa1148e4facc8e5a4151958d
|
||||
enable_status_notifications: false
|
||||
- id: '1767120051057'
|
||||
alias: Turn off Resin Heater after Print
|
||||
description: >-
|
||||
Turn off the heater five minutes after a terminal print status. Any status
|
||||
change cancels the pending shutoff; busy or unavailable printers never pass
|
||||
the shutdown check. Exhaust fan control is disabled pending replacement.
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id:
|
||||
- sensor.saturn_iv_print_status
|
||||
- sensor.saturn_iv_current_status
|
||||
to: null
|
||||
- trigger: homeassistant
|
||||
event: start
|
||||
- trigger: event
|
||||
event_type: automation_reloaded
|
||||
conditions: []
|
||||
actions:
|
||||
- condition: template
|
||||
value_template: >-
|
||||
{{ states('sensor.saturn_iv_print_status')
|
||||
in ['complete', 'completed', 'finish', 'idle', 'failed', 'cancelled', 'canceled', 'stopped']
|
||||
and states('sensor.saturn_iv_current_status')
|
||||
in ['idle', 'complete', 'completed', 'finish', 'stopped'] }}
|
||||
- delay:
|
||||
minutes: 5
|
||||
- condition: template
|
||||
value_template: >-
|
||||
{{ states('sensor.saturn_iv_print_status')
|
||||
in ['complete', 'completed', 'finish', 'idle', 'failed', 'cancelled', 'canceled', 'stopped']
|
||||
and states('sensor.saturn_iv_current_status')
|
||||
in ['idle', 'complete', 'completed', 'finish', 'stopped'] }}
|
||||
- type: turn_off
|
||||
device_id: fc9f0c9a71eaa4bd6aa14417425f61cb
|
||||
entity_id: a91e4bedcc7c5d57563d88bd58d67c9c
|
||||
domain: switch
|
||||
- type: turn_off
|
||||
device_id: 1b1350195291ecd20cf7c69604c09699
|
||||
entity_id: 74c861175e7d5036c2253583f59d1100
|
||||
domain: switch
|
||||
enabled: false
|
||||
mode: restart
|
||||
- id: '1767816737180'
|
||||
alias: Saturn 4 Complete Notification
|
||||
description: Disabled because the Saturn progress blueprint already sends completion notifications.
|
||||
initial_state: false
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id:
|
||||
- sensor.saturn_iv_print_status
|
||||
to:
|
||||
- complete
|
||||
conditions: []
|
||||
actions:
|
||||
- action: notify.mobile_app_joshuas_iphone_of_pain
|
||||
metadata: {}
|
||||
data:
|
||||
message: Saturn 4 print complete.
|
||||
mode: single
|
||||
Reference in New Issue
Block a user