Dashboard Tasten: Saugen, Wischen oder beides?

Hallo zusammen,

Ich habe aktuell einen Dreame L20 Ultra im einsatz und habe mir anhand SImons Anleitung ein Dashboard gebaut:

die Buttons rechts habe ich mit Hilfe der Automationen gelöst, zb:

alias: Vac Büro saugen
description: ""
trigger: []
condition: []
action:
  - service: vacuum.start
    data: {}
    target:
      entity_id: vacuum.dreamebot_l20_ultra
  - service: dreame_vacuum.vacuum_clean_segment
    data:
      segments:
        - "4"
    target:
      entity_id: vacuum.dreamebot_l20_ultra
mode: single

Aktuell ist es also so, das der Sauger anhand von den einprogrammierten werten in der App losfährt → Wischen und Saugen, so wie ich eben die Räume programmiert habe.

Meine Frau möchte jetzt allerdings zusätzliche Buttons haben:
zb:

Button: Sauge Büro
Button: Wische Büro
Button: Sauge & Wische Büro

ist das möglich?

Wenn ja, habe ich absolut keinen Schimmer wie ich das machen muss.

Ich freue mich über jede Anregung!

Vielen Dank!

1 „Gefällt mir“

hi

hat eventuell jemand eine idee? Bin hier leider immer noch nicht weiter gekommen

Was für eine Integration hast du denn installiert?
Wenn du da auf der Github Seite mal schaust, da gibt es auch die modes für den Wassermodus. Die Codes sollte man nutzen können

diese nutze ich:

https://github.com/Tasshack/dreame-vacuum

wo genau stehen die codes von denen du sprichst?

Ja genau, da stehen doch wenn man auf die verfügbaren Services geht auch die Services für den Fan und Wasserbehälter:

und hier als Beispiel:

service: dreame_vacuum.vacuum_set_custom_cleaning
data:
    suction_level: 
      - 0
      - 3
    water_volume: 
      - 1
      - 2
    repeats: 
      - 2
      - 1
target:
    entity_id: vacuum.vacuum

Ok, also das hier:

service: dreame_vacuum.vacuum_clean_segment
data:
  segments:
    - 3
    - 5
  suction_level: "high"
target:
  entity_id: vacuum.vacuum

sorgt also dafür, das nur gesaugt wird und nicht gewischt? Verstehe ich das richtig?

dann sollte das beides sein:

service: dreame_vacuum.vacuum_clean_segment
data:
  segments: 3
target:
  entity_id: vacuum.vacuum

also so, wie ich es in den räumen meiner app eingestellt habe!

Aber wie geht das nur wischen? das finde ich bei den services nicht

und wie baue ich mir dann damit den schalter?

sorry für die ganzen Fragen. ich versuche das nur irgendwie zu verstehen

Nein, du musst einmal das saugen mit suction_level und dann das wischen mit water_volume festlegen.

Also nur saugen:

service: dreame_vacuum.vacuum_set_custom_cleaning
data:
    suction_level: 
      - 3
    water_volume: 
      - 0
target:
    entity_id: vacuum.vacuum

Und nur wischen:

service: dreame_vacuum.vacuum_set_custom_cleaning
data:
    suction_level: 
      - 0
    water_volume: 
      - 2
target:
    entity_id: vacuum.vacuum

Und beides:

service: dreame_vacuum.vacuum_set_custom_cleaning
data:
    suction_level: 
      - 3
    water_volume: 
      - 2
target:
    entity_id: vacuum.vacuum

Funktioniert das bei euch so? Mein L10s Ultra heat ignoriert die Settings? Er macht immer wischen mit. Habe ich in der App etwas falsch eingestellt? Kann man das?

Vielleicht mal den Mop abnehmen :person_shrugging:

In der dreame App kann ich ja sagen nur wischen und auch in der regelmäßigen reinigung macht er es wie ich will. Nur über HA macht er immer wischen und säugen

Ich pushe es mal hoch. Vielleicht hat noch jemand eine Idee?
https://github.com/Tasshack/dreame-vacuum/issues/553#issuecomment-2129765975
Leider kommen alle Wege nicht weiter :frowning:

jemand eine Idee? Es wäre super, da ich mit diesem Problem nicht weiter komme

push
Bitte um Hilfe. der WAF sinkt :frowning:

Vielleicht hilft dir das weiter. so habe ich das gelöst, allerdings beim L20 Ultra, aber das sollte bei dir dann auch gehen

type: custom:xiaomi-vacuum-map-card
map_source:
  camera: camera.l20_ultra_map
  crop:
    top: 100
    bottom: 10
    left: 10
    right: 10
calibration_source:
  camera: true
entity: vacuum.l20_ultra
vacuum_platform: Tasshack/dreame-vacuum
map_modes:
  - template: vacuum_clean_zone
  - template: vacuum_clean_point
  - template: vacuum_clean_segment
    predefined_selections:
      - id: '1'
        icon:
          name: mdi:chef-hat
          x: -5600
          'y': 5050
        label:
          text: Kitchen
          x: -5600
          'y': 5050
          offset_y: 35
        outline:
          - - -6300
            - 3600
          - - -1500
            - 3600
          - - -1500
            - 6300
          - - -6300
            - 6300
      - id: '2'
        icon:
          name: mdi:foot-print
          x: -300
          'y': 4850
        label:
          text: Corridor
          x: -300
          'y': 4850
          offset_y: 35
        outline:
          - - -1500
            - 3200
          - - 1700
            - 3200
          - - 1700
            - 7450
          - - -1500
            - 7450
      - id: '3'
        icon:
          name: mdi:room-service-outline
          x: -10350
          'y': 5150
        label:
          text: Dining Hall
          x: -10350
          'y': 5150
          offset_y: 35
        outline:
          - - -16000
            - 2300
          - - -6300
            - 2300
          - - -6300
            - 7000
          - - -16000
            - 7000
      - id: '4'
        icon:
          name: mdi:monitor-shimmer
          x: 200
          'y': 1300
        label:
          text: Office
          x: 200
          'y': 1300
          offset_y: 35
        outline:
          - - -1650
            - -800
          - - 1700
            - -800
          - - 1700
            - 3200
          - - -1650
            - 3200
      - id: '5'
        icon:
          name: mdi:home-outline
          x: -4050
          'y': 1100
        label:
          text: Kinderzimmer
          x: -4050
          'y': 1100
          offset_y: 35
        outline:
          - - -6550
            - -800
          - - -1650
            - -800
          - - -1650
            - 2900
          - - -6550
            - 2900
      - id: '6'
        icon:
          name: mdi:sofa-outline
          x: -10100
          'y': -1400
        label:
          text: Living Room
          x: -10100
          'y': -1400
          offset_y: 35
        outline:
          - - -12750
            - -6300
          - - -6400
            - -6300
          - - -6400
            - 3250
          - - -12750
            - 3250
      - id: '7'
        icon:
          name: mdi:home-outline
          x: -1350
          'y': 8800
        label:
          text: Room 7
          x: -1350
          'y': 8800
          offset_y: 35
        outline:
          - - -2700
            - 7450
          - - 600
            - 7450
          - - 600
            - 11750
          - - -2700
            - 11750
  - template: vacuum_clean_segment
    predefined_selections:
      - id: '1'
        icon:
          name: mdi:chef-hat
          x: -5600
          'y': 5050
        label:
          text: Kitchen
          x: -5600
          'y': 5050
          offset_y: 35
        outline:
          - - -6300
            - 3600
          - - -1500
            - 3600
          - - -1500
            - 6400
          - - -6300
            - 6400
      - id: '2'
        icon:
          name: mdi:foot-print
          x: -300
          'y': 4850
        label:
          text: Corridor
          x: -300
          'y': 4850
          offset_y: 35
        outline:
          - - -1500
            - 3200
          - - 1750
            - 3200
          - - 1750
            - 7450
          - - -1500
            - 7450
      - id: '3'
        icon:
          name: mdi:room-service-outline
          x: -10350
          'y': 5150
        label:
          text: Dining Hall
          x: -10350
          'y': 5150
          offset_y: 35
        outline:
          - - -16000
            - 2300
          - - -6300
            - 2300
          - - -6300
            - 7100
          - - -16000
            - 7100
      - id: '4'
        icon:
          name: mdi:monitor-shimmer
          x: 200
          'y': 1300
        label:
          text: Office
          x: 200
          'y': 1300
          offset_y: 35
        outline:
          - - -1650
            - -850
          - - 1750
            - -850
          - - 1750
            - 3200
          - - -1650
            - 3200
      - id: '5'
        icon:
          name: mdi:home-outline
          x: -4050
          'y': 1100
        label:
          text: Kinderzimmer
          x: -4050
          'y': 1100
          offset_y: 35
        outline:
          - - -6550
            - -850
          - - -1650
            - -850
          - - -1650
            - 2950
          - - -6550
            - 2950
      - id: '6'
        icon:
          name: mdi:sofa-outline
          x: -10100
          'y': -1400
        label:
          text: Living Room
          x: -10100
          'y': -1400
          offset_y: 35
        outline:
          - - -12850
            - -6450
          - - -6350
            - -6450
          - - -6350
            - 3250
          - - -12850
            - 3250
      - id: '7'
        icon:
          name: mdi:home-outline
          x: -1350
          'y': 8800
        label:
          text: Room 7
          x: -1350
          'y': 8800
          offset_y: 35
        outline:
          - - -2700
            - 7450
          - - 600
            - 7450
          - - 600
            - 11800
          - - -2700
            - 11800
append_icons: true
icons:
  - type: menu
    menu_id: cleaning_mode
    icon_id: cleaning_mode
    entity: select.l20_ultra_cleaning_mode
    available_values_attribute: options
    icon: mdi:water
    icon_mapping:
      sweeping: mdi:arrow-up-circle-outline
      mopping: mdi:waves
      sweeping_and_mopping: mdi:waves-arrow-up
    tap_action:
      action: call-service
      service: select.select_option
      service_data:
        option: '[[value]]'
        entity_id: '[[entity_id]]'
map_locked: true
card_mod:
  style: |
    ha-card {
     display: flex !important;
     align-items: stretch;
     flex-wrap: wrap;
     justify-content: space-evenly;
    }
    .map-wrapper {
     flex-grow: 3;
     width: 600px;
    }
    .controls-wrapper {
     flex-grow: 1;
     width: 300px;
    }

Danke. Wie nutzt du es dann mit dem Cleaning mode?
Ich habe es nun auch lösen können mit L10s Pro Ultra Heat only sweeping a segment Feature? possible? · Issue #649 · Tasshack/dreame-vacuum · GitHub

Wie macht ihr das mit mehreren Stockwerken?
Ich würde gerne für jeden Raum einen Button erstellen, wo der Dreame dann
schnell saugt, saugt, saugt/wischt (alle Stockwerke).
Problem sind ja die teilweise identischen “ID” in den Stockwerken? Oder habe
ich da gerade einen Denkfehler?

Edit: Das aber alles ohne die “custom:xiaomi-vacuum-map-card”

Danke für deinen Link. Ich habe meinen Sauger genauso angepasst. Das Auswählen der Modi (saugen, saugen/wischen, wischen) funktioniert super. Allerdings nimmt er bei mir nicht alle Datenparameter. z.B. suction_level - Egal was ich da mitgebe, er saugt immer auf der Stufe, welche aktuell eingestellt ist. Ich gebe den Befehl jetzt als select vor Ausführung des “clean_segment” mit. Das funktioniert.

Aber irgendwie gefällt mir das alles nicht so. Was ist denn aktuell die einfachste, effektivste und beste Aktion einfach stumpf Buttons mit “Sauge/Wische/SaugWische Raum X mit Parameter Y” auszuführen?

Ich habe immer noch scripte laufen die das nötige machen