109 lines
4.2 KiB
YAML
109 lines
4.2 KiB
YAML
# This is the configuration file for the 3D printer dashboard, if you want
|
|
# the WHOLE dashboard with the 3D printer page as a subpage look at mobile_dashboard-app_full.yaml
|
|
# YOU NEED ALL MUSHROOM FRONTEND COMPENTS INSTALLED via HACS
|
|
|
|
title: 3D Drucker
|
|
views:
|
|
- path: 3d-drucker
|
|
title: 3D Drucker
|
|
icon: mdi:printer-3d-nozzle
|
|
cards:
|
|
- square: false
|
|
type: grid
|
|
columns: 1
|
|
cards:
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: 3D Drucker - Steckdose
|
|
secondary: |-
|
|
{% if is_state('switch.3d_drucker_outlet', 'on') %}
|
|
Eingeschaltet
|
|
{% endif %}
|
|
{% if is_state('switch.3d_drucker_outlet', 'off') %}
|
|
Ausgeschaltet
|
|
{% endif %}
|
|
icon: mdi:printer-3d
|
|
entity: switch.3d_drucker_outlet
|
|
icon_color: |-
|
|
{% if is_state('switch.3d_drucker_outlet', 'on') %}
|
|
blue
|
|
{% endif %}
|
|
- type: custom:mushroom-template-card
|
|
primary: Licht
|
|
secondary: |-
|
|
{% if is_state('switch.licht_technikraum_outlet', 'on') %}
|
|
Eingeschaltet
|
|
{% endif %}
|
|
{% if is_state('switch.licht_technikraum_outlet', 'off') %}
|
|
Ausgeschaltet
|
|
{% endif %}
|
|
icon: mdi:lightbulb
|
|
icon_color: |-
|
|
{% if is_state('switch.licht_technikraum_outlet', 'on') %}
|
|
blue
|
|
{% endif %}
|
|
entity: light.licht_technikraum_outlet
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: Druck stoppen
|
|
secondary: |-
|
|
{% if is_state('binary_sensor.octoprint_printing', 'on') %}
|
|
Available
|
|
{% endif %}
|
|
icon: mdi:stop
|
|
icon_color: |-
|
|
{% if is_state('binary_sensor.octoprint_printing', 'on') %}
|
|
green
|
|
{% endif %}
|
|
entity: button.octoprint_stop_job
|
|
- type: custom:mushroom-template-card
|
|
primary: Druck pausieren
|
|
secondary: |-
|
|
{% if is_state('binary_sensor.octoprint_printing', 'on') %}
|
|
Available
|
|
{% endif %}
|
|
icon: mdi:pause
|
|
icon_color: |-
|
|
{% if is_state('binary_sensor.octoprint_printing', 'on') %}
|
|
green
|
|
{% endif %}
|
|
entity: button.octoprint_pause_job
|
|
- type: horizontal-stack
|
|
cards:
|
|
- type: custom:mushroom-template-card
|
|
primary: Druck fortsetzen
|
|
secondary: |-
|
|
{% if is_state('binary_sensor.octoprint_printing', 'on') %}
|
|
Available
|
|
{% endif %}
|
|
icon: mdi:play
|
|
icon_color: |-
|
|
{% if is_state('binary_sensor.octoprint_printing', 'on') %}
|
|
green
|
|
{% endif %}
|
|
- type: entities
|
|
entities:
|
|
- entity: sensor.octoprint_actual_bed_temp
|
|
name: Actual bed temp
|
|
- entity: sensor.octoprint_actual_tool0_temp
|
|
name: Actual tool0 temp
|
|
- entity: sensor.octoprint_current_state
|
|
name: Current State
|
|
- entity: sensor.octoprint_estimated_finish_time
|
|
name: Estimated Finish Time
|
|
- entity: sensor.octoprint_job_percentage
|
|
name: Job Percentage
|
|
- entity: binary_sensor.octoprint_printing
|
|
name: Printing
|
|
- entity: sensor.octoprint_start_time
|
|
name: Start Time
|
|
title: Infos zum Drucker
|
|
- show_state: true
|
|
show_name: true
|
|
camera_view: auto
|
|
type: picture-entity
|
|
camera_image: camera.octoprint_camera
|
|
entity: camera.camera1
|