Update Prusa mk3.9 notifications
This commit is contained in:
parent
7151b75cf3
commit
434d3fb868
@ -8,8 +8,8 @@
|
|||||||
for: '00:30:00'
|
for: '00:30:00'
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: binary_sensor.octoprint_printing
|
entity_id: sensor.prusa_mk39
|
||||||
state: 'off'
|
state: 'Idle'
|
||||||
action:
|
action:
|
||||||
- service: switch.turn_off
|
- service: switch.turn_off
|
||||||
target:
|
target:
|
||||||
@ -19,28 +19,14 @@
|
|||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
entity_id: light.3d_printer_light
|
entity_id: light.3d_printer_light
|
||||||
|
|
||||||
- id: 3dprinter_on
|
|
||||||
alias: '[3D Printer] Turn on'
|
|
||||||
mode: single
|
|
||||||
trigger:
|
|
||||||
- platform: state
|
|
||||||
entity_id: switch.3d_printer
|
|
||||||
to: 'on'
|
|
||||||
for: '00:00:05'
|
|
||||||
action:
|
|
||||||
- service: rest_command.octoprint_connect
|
|
||||||
|
|
||||||
- id: 3dprinter_notify
|
- id: 3dprinter_notify
|
||||||
alias: '[3D Printer] Notify'
|
alias: '[3D Printer] Notify'
|
||||||
mode: single
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: sensor.octoprint_print_progress
|
entity_id: sensor.prusa_mk39
|
||||||
to: '100.0'
|
from: 'Printing'
|
||||||
- platform: state
|
to: 'Idle'
|
||||||
entity_id:
|
|
||||||
- sensor.octoprint_bed_target
|
|
||||||
to: "0"
|
|
||||||
action:
|
action:
|
||||||
- service: notify.mobile_app_iphone
|
- service: notify.mobile_app_iphone
|
||||||
data:
|
data:
|
||||||
@ -86,9 +72,10 @@
|
|||||||
- condition: state
|
- condition: state
|
||||||
entity_id: switch.3d_printer
|
entity_id: switch.3d_printer
|
||||||
state: 'on'
|
state: 'on'
|
||||||
- condition: state
|
- platform: state
|
||||||
entity_id: binary_sensor.octoprint_printing
|
entity_id: sensor.prusa_mk39
|
||||||
state: 'off'
|
from: 'Printing'
|
||||||
|
to: 'Idle'
|
||||||
- condition: numeric_state
|
- condition: numeric_state
|
||||||
entity_id: sensor.3d_printer_electric_consumption_w
|
entity_id: sensor.3d_printer_electric_consumption_w
|
||||||
below: '30'
|
below: '30'
|
||||||
@ -101,32 +88,17 @@
|
|||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
entity_id: light.3d_printer_light
|
entity_id: light.3d_printer_light
|
||||||
|
|
||||||
- id: 3dprinter_schedule
|
|
||||||
alias: '[3D Printer] Schedule turn on'
|
|
||||||
description: ''
|
|
||||||
mode: single
|
|
||||||
trigger:
|
|
||||||
- platform: time
|
|
||||||
at: '08:00:00'
|
|
||||||
action:
|
|
||||||
- service: switch.turn_on
|
|
||||||
target:
|
|
||||||
entity_id:
|
|
||||||
- switch.3d_printer
|
|
||||||
- switch.3d_printer_enclosure_fan_on_off
|
|
||||||
- service: light.turn_off
|
|
||||||
entity_id: light.3d_printer_light
|
|
||||||
|
|
||||||
- id: 3dprinter_fan_on
|
- id: 3dprinter_fan_on
|
||||||
alias: '[3D Printer] Fan on'
|
alias: '[3D Printer] Fan on'
|
||||||
mode: single
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id:
|
entity_id: sensor.prusa_mk39
|
||||||
- binary_sensor.octoprint_printing
|
from: 'Idle'
|
||||||
|
to: 'Printing'
|
||||||
condition:
|
condition:
|
||||||
- condition: numeric_state
|
- condition: numeric_state
|
||||||
entity_id: sensor.octoprint_bed_target
|
entity_id: sensor.prusa_mk39_heatbed_target_temperature
|
||||||
below: '100'
|
below: '100'
|
||||||
action:
|
action:
|
||||||
- service: switch.turn_on
|
- service: switch.turn_on
|
||||||
@ -142,7 +114,7 @@
|
|||||||
- binary_sensor.octoprint_printing
|
- binary_sensor.octoprint_printing
|
||||||
condition:
|
condition:
|
||||||
- condition: numeric_state
|
- condition: numeric_state
|
||||||
entity_id: sensor.octoprint_bed_target
|
entity_id: sensor.prusa_mk39_heatbed_target_temperature
|
||||||
above: '99'
|
above: '99'
|
||||||
action:
|
action:
|
||||||
- service: switch.turn_off
|
- service: switch.turn_off
|
||||||
@ -154,16 +126,32 @@
|
|||||||
mode: single
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: sensor.octoprint_target_tool0_temp
|
entity_id: sensor.prusa_mk39_nozzle_target_temperature
|
||||||
to: "0"
|
to: "0"
|
||||||
condition:
|
condition:
|
||||||
- condition: numeric_state
|
- condition: numeric_state
|
||||||
entity_id: sensor.octoprint_bed_target
|
entity_id: sensor.prusa_mk39_heatbed_target_temperature
|
||||||
above: 0
|
above: 0
|
||||||
action:
|
action:
|
||||||
- service: notify.mobile_app_iphone
|
- service: notify.mobile_app_iphone
|
||||||
data:
|
data:
|
||||||
title: Prusa i3 MMU
|
title: Prusa MK3.9
|
||||||
|
message: 3D Print has been paused
|
||||||
|
data:
|
||||||
|
entity_id: camera.3d_printer
|
||||||
|
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.prusa_mk39
|
||||||
|
to: "Paused"
|
||||||
|
action:
|
||||||
|
- service: notify.mobile_app_iphone
|
||||||
|
data:
|
||||||
|
title: Prusa MK3.9
|
||||||
message: 3D Print has been paused
|
message: 3D Print has been paused
|
||||||
data:
|
data:
|
||||||
entity_id: camera.3d_printer
|
entity_id: camera.3d_printer
|
||||||
|
Loading…
Reference in New Issue
Block a user