Problem mit Roborock S5 Integration in Home Assistant

Hallo zusammen,

ich bin neu hier im Forum und möchte mich zunächst bei Simon_24 herzlich für sein großartiges Video zur Roborock-Integration in Home Assistant bedanken. Die Beiträge und Tutorials haben mir bereits sehr geholfen.

Leider stehe ich aktuell vor einem Problem und hoffe auf eure Unterstützung. Nachdem ich Simons Anleitung befolgt habe, fährt mein Roborock S5 nicht in die korrekten Räume. Trotz intensiver Fehlersuche konnte ich das Problem bisher nicht lösen.

Hier ist mein YAML-Code:

type: custom:xiaomi-vacuum-map-card
map_source:
  camera: camera.xiaomi_cloud_map_extractor
  card_mod: null
  style: ''
calibration_source:
  camera: true
entity: vacuum.roboter_staubsauger
vacuum_platform: send_command
language: de
map_modes:
  - template: vacuum_clean_zone
  - template: vacuum_goto
  - template: vacuum_clean_segment
    selection_type: ROOM
    service_call_schema:
      service: xiaomi_miio.vacuum_clean_segment
      service_data:
        segments: '[[selection]]'
      target:
        entity_id: '[[entity_id]]'
    max_repeats: 5
    predefined_selections:
      - id: '1'
        icon:
          name: mdi:broom
          x: 29564
          'y': 35412
        label:
          text: Hausflur
          x: 27221
          'y': 36869
          offset_y: 35
        outline:
          - - 27249
            - 30634
          - - 30237
            - 30634
          - - 30237
            - 39842
          - - 27249
            - 39842
      - id: '2'
        icon:
          name: mdi:broom
          x: 26550
          'y': 26790
        label:
          text: Esszimmer
          x: 22541
          'y': 28887
          offset_y: 35
        outline:
          - - 24208
            - 24208
          - - 28576
            - 24208
          - - 28576
            - 28875
          - - 24208
            - 28875
      - id: '3'
        icon:
          name: mdi:broom
          x: 26645
          'y': 30029
        label:
          text: Küche
          x: 25673
          'y': 33064
          offset_y: 35
        outline:
          - - 28489
            - 25142
          - - 32945
            - 25142
          - - 32945
            - 31061
          - - 28489
            - 31061
      - id: '4'
        icon:
          name: mdi:broom
          x: 30788
          'y': 27764
        label:
          text: Wohnzimmer
          x: 30793
          'y': 26051
          offset_y: 35
        outline:
          - - 24277
            - 28831
          - - 28824
            - 28831
          - - 28824
            - 30733
          - - 24277
            - 30733
      - id: '5'
        icon:
          name: mdi:broom
          x: 31762
          'y': 32830
        label:
          text: Badezimmer
          x: 35075
          'y': 34879
          offset_y: 35
        outline:
          - - 30139
            - 31007
          - - 33106
            - 31007
          - - 33106
            - 34835
          - - 30139
            - 34835
      - id: '6'
        icon:
          name: mdi:broom
          x: 31616
          'y': 38091
        label:
          text: Schlafzimmer
          x: 35172
          'y': 39653
          offset_y: 35
        outline:
          - - 30172
            - 34773
          - - 33013
            - 34773
          - - 33013
            - 39208
          - - 30172
            - 39208
      - id: '7'
        icon:
          name: mdi:broom
          x: 30788
          'y': 41399
        label:
          text: Büro
          x: 33888
          'y': 43199
          offset_y: 35
        outline:
          - - 28904
            - 39207
          - - 33013
            - 39207
          - - 33013
            - 43348
          - - 28904
            - 43348

Habt ihr ähnliche Erfahrungen gemacht oder könnt ihr mir Hinweise geben, wie ich den Fehler finden und beheben kann? Vielleicht sehe ich etwas Übersehenes in meinem Code.

Vielen Dank im Voraus für eure Hilfe!

Beste Grüße
Joel

Der Post ist schon eine Weile her, besteht das Problem noch oder hast du es lösen können?

Bin gerade auch dabei meinen Roborock S5 anzubinden und musste einige Umwege gehen da dieser ja nicht in der Roborock App unterstützt wird und noch auf der Xiaomi App läuft.

Ich komme nur schon gar nicht so weit das ich den selben Fehler haben könnte wie du, wenn ich in HA einen Raum auswähle und die Raumreinigung starten möchte bringt er mir den Fehler “Aktion roborock.vacuum_clean_segment nicht gefunden.”

Hier mein Code

type: custom:xiaomi-vacuum-map-card
map_source:
  camera: camera.xiaomi_cloud_map_extractor
calibration_source:
  camera: true
entity: vacuum.roborock_s5_a77d_robot_cleaner
vacuum_platform: default
map_modes:
  - template: vacuum_clean_zone
  - template: vacuum_goto
  - name: Erdgeschoss
    icon: mdi:select-drag
    selection_type: ROOM
    service_call_schema:
      service: roborock.vacuum_clean_segment
      service_data:
        segments: "[[selection]]"
      target:
        entity_id: "[[entity_id]]"
    predefined_selections:
      - id: "20"
        icon:
          name: mdi:broom
          x: 24775
          "y": 26875
        label:
          text: Wohnzimmer
          x: 24775
          "y": 26875
          offset_y: 25
        outline:
          - - 22527
            - 25045
          - - 26623
            - 25045
          - - 26623
            - 28886
          - - 22527
            - 28886
      - id: "21"
        icon:
          name: mdi:broom
          x: 20000
          "y": 26875
        label:
          text: Esszimmer
          x: 20000
          "y": 26875
          offset_y: 25
        outline:
          - - 17759
            - 24963
          - - 22542
            - 24963
          - - 22542
            - 28845
          - - 17759
            - 28845
      - id: "22"
        icon:
          name: mdi:broom
          x: 20000
          "y": 23875
        label:
          text: Küche
          x: 20000
          "y": 24875
          offset_y: 45
        outline:
          - - 17759
            - 22741
          - - 21086
            - 22741
          - - 21086
            - 25087
          - - 17759
            - 25087
      - id: "23"
        icon:
          name: mdi:broom
          x: 24100
          "y": 23875
        label:
          text: Flur
          x: 25500
          "y": 25875
          offset_y: 45
        outline:
          - - 21039
            - 22246
          - - 26468
            - 22246
          - - 26468
            - 25036
          - - 21039
            - 25036
map_locked: true
two_finger_pan: false
tiles:
  - tile_id: status
    entity: vacuum.roborock_s5_a77d_robot_cleaner
    label: Status
    attribute: vacuum.status_desc
    icon: mdi:robot-vacuum
    translations:
      go charging: Fährt zur Ladestation
      starting: Starting
      charger disconnected: Charger disconnected
      idle: Untätig
      remote control active: Fernbedienung aktiv
      sweeping: Saugen
      returning home: Fährt zur Ladestation
      manual mode: Manuell
      charging: Laden
      charging problem: Ladefehler
      paused: Pause
      spot cleaning: Spot Saugen
      error: Fehler
      shutting down: Runterfahren
      updating: Updating
      docking: Docking
      going to target: Geht zum Ziel
      zoned cleaning: Zonenreinigung
      segment cleaning: Segment Reinigung
      emptying the bin: Emptying the bin
      charging complete: Voll aufgeladen
      device offline: Device offline
  - tile_id: battery_level
    entity: vacuum.roborock_s5_a77d_robot_cleaner
    label: Batterie
    attribute: battery_level
    icon: mdi:battery-charging-100
    unit: "%"
  - tile_id: fan_speed
    entity: vacuum.roborock_s5_a77d_robot_cleaner
    label: Saugstärke
    attribute: fan_speed
    icon: mdi:fan
    translations:
      silent: Silent
      standard: Standard
      medium: Medium
      turbo: Turbo
      auto: Auto
      basic: Normal
  - tile_id: clean_area
    entity: vacuum.roborock_s5_a77d_robot_cleaner
    label: Gereinigt
    attribute: clean_area
    icon: mdi:broom
    unit: m²
icons:
  - icon: mdi:play
    conditions:
      - entity: vacuum.roborock_s5_a77d_robot_cleaner
        value_not: cleaning
      - entity: vacuum.roborock_s5_a77d_robot_cleaner
        value_not: error
      - entity: vacuum.roborock_s5_a77d_robot_cleaner
        value_not: returning
    tooltip: Start
    tap_action:
      action: call-service
      service: vacuum.start
      service_data:
        entity_id: vacuum.roborock_s5_a77d_robot_cleaner
  - icon: mdi:pause
    conditions:
      - entity: vacuum.roborock_s5_a77d_robot_cleaner
        value_not: docked
      - entity: vacuum.roborock_s5_a77d_robot_cleaner
        value_not: idle
      - entity: vacuum.roborock_s5_a77d_robot_cleaner
        value_not: error
      - entity: vacuum.roborock_s5_a77d_robot_cleaner
        value_not: paused
    tooltip: Pause
    tap_action:
      action: call-service
      service: vacuum.pause
      service_data:
        entity_id: vacuum.roborock_s5_a77d_robot_cleaner
  - icon: mdi:stop
    conditions:
      - entity: vacuum.roborock_s5_a77d_robot_cleaner
        value_not: docked
      - entity: vacuum.roborock_s5_a77d_robot_cleaner
        value_not: idle
      - entity: vacuum.roborock_s5_a77d_robot_cleaner
        value_not: error
      - entity: vacuum.roborock_s5_a77d_robot_cleaner
        value_not: paused
    tooltip: Stop
    tap_action:
      action: call-service
      service: vacuum.stop
      service_data:
        entity_id: vacuum.roborock_s5_a77d_robot_cleaner
  - icon: mdi:home-map-marker
    conditions:
      - entity: vacuum.roborock_s5_a77d_robot_cleaner
        value_not: docked
      - entity: vacuum.roborock_s5_a77d_robot_cleaner
        value_not: returning
    tooltip: Return to base
    tap_action:
      action: call-service
      service: vacuum.return_to_base
      service_data:
        entity_id: vacuum.roborock_s5_a77d_robot_cleaner
  - icon: mdi:target-variant
    conditions:
      - entity: vacuum.roborock_s5_a77d_robot_cleaner
        value_not: docked
      - entity: vacuum.roborock_s5_a77d_robot_cleaner
        value_not: error
      - entity: vacuum.roborock_s5_a77d_robot_cleaner
        value_not: cleaning
      - entity: vacuum.roborock_s5_a77d_robot_cleaner
        value_not: returning
    tooltip: Clean spot
    tap_action:
      action: call-service
      service: vacuum.clean_spot
      service_data:
        entity_id: vacuum.roborock_s5_a77d_robot_cleaner
  - icon: mdi:map-marker
    tooltip: Locate
    tap_action:
      action: call-service
      service: vacuum.locate
      service_data:
        entity_id: vacuum.roborock_s5_a77d_robot_cleaner