added for video _ 08.03.2025
This commit is contained in:
commit
a380ab2a42
21
autoconnect_automation.yaml
Normal file
21
autoconnect_automation.yaml
Normal file
@ -0,0 +1,21 @@
|
||||
# This is a normal automtion. Just change the enitiy of the Smart Plug for the printer and the the delay, Home Assistant waits,
|
||||
# until it sends the connect command to Octo Print over the API
|
||||
|
||||
alias: OctoPrinterConnect
|
||||
description: ""
|
||||
triggers:
|
||||
- type: changed_states
|
||||
device_id: b4c1dcda2235312fd75b1163d4f7e208
|
||||
entity_id: 757b7b6ac5a088d13d6019232e80c95d
|
||||
domain: switch
|
||||
trigger: device
|
||||
conditions: []
|
||||
actions:
|
||||
- delay:
|
||||
hours: 0
|
||||
minutes: 0
|
||||
seconds: 5
|
||||
- action: rest_command.octoprint_connect
|
||||
data: {}
|
||||
mode: single
|
||||
|
11
autoconnect_conf.yaml
Normal file
11
autoconnect_conf.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
# THIS GOES INTO THE configuration.yaml of Home Assistant using e.g the Studio Code Server HA Addon
|
||||
|
||||
rest_command:
|
||||
octoprint_connect:
|
||||
url: "http://IP:PORT/api/connection"
|
||||
method: POST
|
||||
headers:
|
||||
X-Api-Key: API_KEY
|
||||
#accept: "application/json, text/html"
|
||||
payload: '{"command":"connect"}'
|
||||
content_type: "application/json; charset=utf-8"
|
325
mobile_dashbaord-app_full.yaml
Normal file
325
mobile_dashbaord-app_full.yaml
Normal file
@ -0,0 +1,325 @@
|
||||
# This is the configuration file for my WHOLE mobile Dashboard with the 3D printer subpage, if you only want
|
||||
# the 3D printer page alone, look at mobile_dashboard-app_3d.yaml
|
||||
# YOU NEED ALL MUSHROOM FRONTEND COMPENTS INSTALLED via HACS
|
||||
|
||||
views:
|
||||
- title: Zimmer
|
||||
subview: false
|
||||
visible:
|
||||
- user: d59955f2bfaf48898afd974ea1e37b7a
|
||||
- user: c680da2125cb46aba544b1591624a213
|
||||
cards:
|
||||
- type: custom:mushroom-template-card
|
||||
primary: |-
|
||||
{% set time = now().hour %}
|
||||
{% if (time >= 18) %}
|
||||
Guten Abend {{user}}!
|
||||
{% elif (time >= 12) %}
|
||||
Guten Nachmittag {{user}}!
|
||||
{% elif (time >= 5) %}
|
||||
Guten Morgen {{user}}!
|
||||
{% else %}
|
||||
Hallo {{user}}!
|
||||
{% endif %}
|
||||
secondary: ''
|
||||
icon: ''
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-template-card
|
||||
primary: 3D Drucker
|
||||
secondary: >
|
||||
{% if is_state('binary_sensor.octoprint_printing', 'on') %}
|
||||
Eingeschaltet
|
||||
{% endif %}
|
||||
|
||||
{% if is_state('binary_sensor.octoprint_printing', 'off') %}
|
||||
Ausgeschaltet
|
||||
{% endif %}
|
||||
|
||||
{% if is_state('binary_sensor.octoprint_printing', 'unavailable')
|
||||
%}
|
||||
Ausgeschaltet
|
||||
{% endif %}
|
||||
icon: mdi:printer-3d-nozzle
|
||||
icon_color: |-
|
||||
{% if is_state('binary_sensor.octoprint_printing', 'on') %}
|
||||
blue
|
||||
{% endif %}
|
||||
layout: vertical
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: /dashboard-dash-board/3d-drucker
|
||||
fill_container: true
|
||||
- type: custom:mushroom-template-card
|
||||
primary: Kameras
|
||||
secondary: Verfügbar
|
||||
icon: mdi:camera
|
||||
icon_color: green
|
||||
layout: vertical
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: /dashboard-dash-board/2
|
||||
fill_container: true
|
||||
- type: weather-forecast
|
||||
entity: weather.forecast_home
|
||||
- type: custom:mushroom-template-card
|
||||
primary: Licht
|
||||
secondary: |
|
||||
{% if is_state('switch.zimmerlicht', 'on') %}
|
||||
Eingeschaltet
|
||||
{% endif %}
|
||||
{% if is_state('switch.zimmerlicht', 'off') %}
|
||||
Ausgeschaltet
|
||||
{% endif %}
|
||||
icon: mdi:lightbulb
|
||||
icon_color: |-
|
||||
{% if is_state('switch.zimmerlicht', 'on') %}
|
||||
blue
|
||||
{% endif %}
|
||||
entity: switch.zimmerlicht
|
||||
- type: custom:mushroom-title-card
|
||||
title: Schreibtisch
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-template-card
|
||||
primary: Setup
|
||||
secondary: |
|
||||
{% if is_state('switch.setup_outlet', 'on') %}
|
||||
Eingeschaltet:
|
||||
{{ states('sensor.setup_power') }} Watt
|
||||
{% endif %}
|
||||
{% if is_state('switch.setup_outlet', 'off') %}
|
||||
Ausgeschaltet
|
||||
{% endif %}
|
||||
icon: mdi:monitor
|
||||
entity: switch.setup_outlet
|
||||
icon_color: |-
|
||||
{% if is_state('switch.setup_outlet', 'on') %}
|
||||
blue
|
||||
{% endif %}
|
||||
- type: custom:mushroom-media-player-card
|
||||
volume_controls:
|
||||
- volume_mute
|
||||
- volume_set
|
||||
- volume_buttons
|
||||
media_controls:
|
||||
- previous
|
||||
- next
|
||||
- play_pause_stop
|
||||
- on_off
|
||||
show_volume_level: true
|
||||
use_media_info: true
|
||||
collapsible_controls: true
|
||||
entity: media_player.nesthub9043
|
||||
name: Nest Hub
|
||||
- type: custom:mushroom-template-card
|
||||
primary: Ringlicht
|
||||
secondary: |-
|
||||
{% if is_state('input_boolean.ringlicht', 'on') %}
|
||||
Eingeschaltet
|
||||
{% endif %}
|
||||
{% if is_state('input_boolean.ringlicht', 'off') %}
|
||||
Ausgeschaltet
|
||||
{% endif %}
|
||||
icon: mdi:lightbulb
|
||||
icon_color: |2-
|
||||
{% if is_state('input_boolean.ringlicht', 'on') %}
|
||||
blue
|
||||
{% endif %}
|
||||
entity: input_boolean.ringlicht
|
||||
- type: custom:mushroom-title-card
|
||||
title: Bett
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-template-card
|
||||
primary: Bettlampe
|
||||
secondary: |-
|
||||
{% if is_state('switch.bettlampe_outlet', 'on') %}
|
||||
Eingeschaltet
|
||||
{% endif %}
|
||||
{% if is_state('switch.bettlampe_outlet', 'off') %}
|
||||
Ausgeschaltet
|
||||
{% endif %}
|
||||
icon: mdi:lightbulb
|
||||
icon_color: |2-
|
||||
{% if is_state('switch.bettlampe_outlet', 'on') %}
|
||||
blue
|
||||
{% endif %}
|
||||
entity: switch.bettlampe_outlet
|
||||
- type: custom:mushroom-template-card
|
||||
primary: Google TV
|
||||
secondary: |-
|
||||
{% if is_state('remote.brunos_google_tv', 'on') %}
|
||||
Eingeschaltet
|
||||
{% endif %}
|
||||
{% if is_state('remote.brunos_google_tv', 'off') %}
|
||||
Ausgeschaltet
|
||||
{% endif %}
|
||||
icon: mdi:television
|
||||
icon_color: |2-
|
||||
{% if is_state('remote.brunos_google_tv', 'on') %}
|
||||
blue
|
||||
{% endif %}
|
||||
entity: remote.brunos_google_tv
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-media-player-card
|
||||
entity: media_player.brunos_google_tv
|
||||
volume_controls:
|
||||
- volume_buttons
|
||||
- volume_set
|
||||
- volume_mute
|
||||
media_controls:
|
||||
- on_off
|
||||
- play_pause_stop
|
||||
- next
|
||||
- previous
|
||||
collapsible_controls: true
|
||||
name: Google TV
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: custom:mushroom-template-card
|
||||
primary: Temperatur
|
||||
secondary: '{{ states(''sensor.smartbuttons_zimmer_temperatur'') }} °C'
|
||||
icon: mdi:thermometer
|
||||
icon_color: blue
|
||||
layout: vertical
|
||||
fill_container: true
|
||||
multiline_secondary: true
|
||||
entity: sensor.smartbuttons_zimmer_temperatur
|
||||
tap_action:
|
||||
action: more-info
|
||||
- type: custom:mushroom-template-card
|
||||
primary: Luftfeuchtigkeit
|
||||
secondary: '{{ states(''sensor.smartbuttons_zimmer_feuchtigkeit'') }}%'
|
||||
icon: mdi:air-humidifier
|
||||
entity: sensor.smartbuttons_zimmer_feuchtigkeit
|
||||
icon_color: blue
|
||||
layout: vertical
|
||||
fill_container: true
|
||||
multiline_secondary: true
|
||||
tap_action:
|
||||
action: more-info
|
||||
icon: mdi:home
|
||||
- path: 3d-drucker
|
||||
subview: true
|
||||
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
|
||||
icon: mdi:printer-3d-nozzle
|
||||
- icon: mdi:camera
|
||||
cards:
|
||||
- show_state: true
|
||||
show_name: true
|
||||
camera_view: auto
|
||||
type: picture-entity
|
||||
entity: camera.auffahrt_fliessend
|
||||
- show_state: true
|
||||
show_name: true
|
||||
camera_view: auto
|
||||
type: picture-entity
|
||||
entity: camera.vorne_fliessend
|
||||
name: Vorne
|
||||
- show_state: true
|
||||
show_name: true
|
||||
camera_view: auto
|
||||
type: picture-entity
|
||||
entity: camera.camera1
|
||||
name: 3D Drucker
|
||||
subview: true
|
108
mobile_dashboard-app_3d.yaml
Normal file
108
mobile_dashboard-app_3d.yaml
Normal file
@ -0,0 +1,108 @@
|
||||
# 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
|
Loading…
x
Reference in New Issue
Block a user