Add Prusa MINI notifications
This commit is contained in:
parent
89845b7687
commit
b68cea5d62
50
configuration/automations/3d-printer-mini.yaml
Normal file
50
configuration/automations/3d-printer-mini.yaml
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
- id: 3dprinter_mini_notify
|
||||||
|
alias: '[3D Printer][Prusa Mini] Notify finished'
|
||||||
|
mode: single
|
||||||
|
trigger:
|
||||||
|
- platform: state
|
||||||
|
entity_id: sensor.prusamini
|
||||||
|
from: printing
|
||||||
|
to: idle
|
||||||
|
action:
|
||||||
|
- service: notify.mobile_app_iphone
|
||||||
|
data:
|
||||||
|
message: 3D printer has finished
|
||||||
|
title: Prusa Mini
|
||||||
|
data:
|
||||||
|
entity_id: camera.3d_printer
|
||||||
|
url: "/lovelace-tablet/3d-printer"
|
||||||
|
|
||||||
|
- id: 3dprinter_mini_pause_notify
|
||||||
|
alias: '[3D Printer][Prusa Mini] Notify paused print'
|
||||||
|
mode: single
|
||||||
|
trigger:
|
||||||
|
- platform: state
|
||||||
|
entity_id: sensor.prusamini_nozzle_temperature
|
||||||
|
to: "0"
|
||||||
|
condition:
|
||||||
|
- condition: numeric_state
|
||||||
|
entity_id: sensor.prusamini_heatbed_target_temperature
|
||||||
|
above: 0
|
||||||
|
action:
|
||||||
|
- service: notify.mobile_app_iphone
|
||||||
|
data:
|
||||||
|
title: Prusa Mini
|
||||||
|
message: 3D Print has been paused
|
||||||
|
data:
|
||||||
|
url: "/lovelace-tablet/3d-printer"
|
||||||
|
|
||||||
|
- id: 3dprinter_pause_notify_2
|
||||||
|
alias: '[3D Printer] Notify about paused print (test)'
|
||||||
|
mode: single
|
||||||
|
trigger:
|
||||||
|
- platform: state
|
||||||
|
entity_id: sensor.prusamini
|
||||||
|
to: "Paused"
|
||||||
|
action:
|
||||||
|
- service: notify.mobile_app_iphone
|
||||||
|
data:
|
||||||
|
title: Prusa Mini
|
||||||
|
message: 3D Print has been paused
|
||||||
|
data:
|
||||||
|
url: "/lovelace-tablet/3d-printer"
|
Loading…
Reference in New Issue
Block a user