Skip to content

Latest commit

 

History

History
211 lines (163 loc) · 4.84 KB

tasshackDreameVacuum.md

File metadata and controls

211 lines (163 loc) · 4.84 KB

Dreame Vacuum

Integration's documentation

This platform can be used to control vacuums connected to Home Assistant using Dreame Vacuum integration created by @Tasshack.

Available templates

  • Room cleaning (vacuum_clean_segment)

    Uses IDs to clean specific rooms. Requires predefined_selections to be provided.

    Configuration generator

    Getting coordinates

    Used service: dreame_vacuum.vacuum_clean_segment

    Example configuration
    map_modes:
      - template: vacuum_clean_segment
        predefined_selections:
        - id: '1'
          outline:
            - - 850
              - -5400
            - - 3950
              - -5400
            - - 3950
              - -500
            - - 850
              - -500
        - id: '2'
          outline:
            - - -2650
              - -5250
            - - 850
              - -5250
            - - 850
              - 850
            - - -2650
              - 850
        - id: '3'
          outline:
            - - 2050
              - -8550
            - - 3950
              - -8550
            - - 3950
              - -5550
            - - 2050
              - -5550
    Example video
    ROOM.mp4
  • Zone cleaning (vacuum_clean_zone)

    Uses 4 coordinates to clean rectangular zones.

    Used service: dreame_vacuum.vacuum_clean_zone

    Example configuration
    map_modes:
      - template: vacuum_clean_zone
    Example video
    MANUAL_RECTANGLE.mp4
  • Predefined zone cleaning (vacuum_clean_zone_predefined)

    Uses 4 coordinates to clean rectangular zones that have been defined in the configuration. Requires predefined_selections to be provided.

    Getting coordinates

    Used service: dreame_vacuum.vacuum_clean_zone

    Example configuration
    map_modes:
      - template: vacuum_clean_zone_predefined
        predefined_selections:
          - zones: 
              - - -350
                - -8200
                - 2050
                - -8200
              - - 5250
                - -350
                - 5250
                - -8200
            label:
              text: "Bedroom"
              x: 2292
              y: 3039
              offset_y: 35
            icon:
              name: "mdi:bed"
              x: 2292
              y: 3039
          - zones:
              - - -2650
                - 5250
                - -850
                - -5250
            label:
              text: "Kitchen"
              x: -900
              y: -2200
              offset_y: 35
            icon:
              name: "mdi:chef-hat"
              x: -900
              y: -2200
    Example video
    PREDEFINED_RECTANGLE.mp4
  • Cleaning a specified point (vacuum_clean_point)

    Uses a pair of coordinates for vacuum to clean a user-specified point.

    Used service: dreame_vacuum.vacuum_clean_spot

    Example configuration
    map_modes:
      - template: vacuum_clean_point
    Example video
    MANUAL_POINT.mp4
  • Cleaning a predefined point (vacuum_clean_point_predefined)

    Uses a pair of coordinates for vacuum to clean a point that has been defined in the configuration. Requires predefined_selections to be provided.

    Getting coordinates

    Used service: dreame_vacuum.vacuum_clean_spot

    Example configuration
    map_modes:
      - template: vacuum_clean_point_predefined
        predefined_selections:
          - position: [ 2806, 2836 ]
            label:
              text: "Emptying"
              x: 2806
              y: 2803
              offset_y: 35
            icon:
              name: "mdi:broom"
              x: 2800
              y: 2803
          - position: [ 3.2143, 2.6284 ]
            label:
              text: "Sofa"
              x: 3214
              y: 2628
              offset_y: 35
            icon:
              name: "mdi:sofa"
              x: 3214
              y: 2628
    Example video
    PREDEFINED_POINT.mp4