Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vacuum roidmi eve x2 clean problem #2071

Open
Rgokcay opened this issue Dec 13, 2024 · 7 comments
Open

Vacuum roidmi eve x2 clean problem #2071

Rgokcay opened this issue Dec 13, 2024 · 7 comments

Comments

@Rgokcay
Copy link

Rgokcay commented Dec 13, 2024

Device model / 设备型号

Vacuum.roidmi.v60

Component version / 插件版本

1.0.4

HA core version / HA版本

2024.12.3

Integrated mode / 集成方式

Automatic (自动模式)

The problem / 问题详情

Xiaomi miot 0.7.25 sürümünde resimde belirttiğim x2 temizlik modu çalışırken yeni sürümlerin hüç birinde bu tuş çalışmıyor düzeltme yolu var mı
Screenshot_20241213_230647_Home Assistant

Entity attributes / 实体属性

type: custom:xiaomi-vacuum-map-card
map_source:
  camera: camera.roidmi_eva_vacuum_map
entity: vacuum.roidmi_v60_a28e_robot_cleaner
internal_variables:
  map_id: 1723829728
calibration_source:
  camera: true
vacuum_platform: al-one/hass-xiaomi-miot
map_locked: true
map_modes:
  - name: Rooms
    icon: mdi:floor-plan
    run_immediately: false
    selection_type: ROOM
    id_type: number
    max_selections: 10
    service_call_schema:
      service: xiaomi_miot.call_action
      evaluate_data_as_template: true
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 14
        aiid: 1
        params:
          - 2
          - '{"mapId":[[1723829728]],"segmentId":[[selection]]}'
    predefined_selections:
      - id: '1'
        icon:
          name: mdi:sofa
          x: -1725.0008918344975
          'y': 1649.9997545033693
        label:
          text: SALON
          x: -1725.0008918344975
          'y': 1649.9997545033693
          offset_y: 35
        outline:
          - - -4275.0009298324585
            - -1675.0002950429914
          - - 824.9991461634635
            - -1675.0002950429914
          - - 824.9991461634635
            - 4974.99980404973
          - - -4275.0009298324585
            - 4974.99980404973
      - id: '3'
        icon:
          name: mdi:sofa-single
          x: 6924.999237060547
          'y': -3675.000324845314
        label:
          text: OTURMA ODASI
          x: 6924.999237060547
          'y': -3675.000324845314
          offset_y: 35
        outline:
          - - 3824.999190866947
            - -5375.000350177288
          - - 10024.999283254147
            - -5375.000350177288
          - - 10024.999283254147
            - -1975.0002995133398
          - - 3824.999190866947
            - -1975.0002995133398
      - id: '4'
        icon:
          name: mdi:bed
          x: 7599.999247118831
          'y': 3324.9997794628143
        label:
          text: YATAK ODASI
          x: 7599.999247118831
          'y': 3324.9997794628143
          offset_y: 35
        outline:
          - - 5224.999211728573
            - 1474.9997518956663
          - - 9974.999282509089
            - 1474.9997518956663
          - - 9974.999282509089
            - 5174.9998070299625
          - - 5224.999211728573
            - 5174.9998070299625
      - id: '5'
        icon:
          name: mdi:door
          x: 1924.999162554741
          'y': -2925.000313669443
        label:
          text: GİRİŞ
          x: 1924.999162554741
          'y': -2925.000313669443
          offset_y: 35
        outline:
          - - 24.99913424253452
            - -5325.00034943223
          - - 3824.999190866947
            - -5325.00034943223
          - - 3824.999190866947
            - -525.000277906656
          - - 24.99913424253452
            - -525.000277906656
      - id: '7'
        icon:
          name: mdi:baby-face
          x: 7524.999246001244
          'y': -300.0002745538947
        label:
          text: ÇOCUK ODASI
          x: 7524.999246001244
          'y': -300.0002745538947
          offset_y: 35
        outline:
          - - 5224.999211728573
            - -1775.0002965331075
          - - 9824.999280273914
            - -1775.0002965331075
          - - 9824.999280273914
            - 1174.999747425318
          - - 5224.999211728573
            - 1174.999747425318
      - id: '8'
        icon:
          name: mdi:road
          x: 4524.99920129776
          'y': 549.9997381120924
        label:
          text: KORİDOR
          x: 4524.99920129776
          'y': 549.9997381120924
          offset_y: 35
        outline:
          - - 3774.999190121889
            - -1675.0002950429914
          - - 5274.999212473631
            - -1675.0002950429914
          - - 5274.999212473631
            - 2774.999771267176
          - - 3774.999190121889
            - 2774.999771267176
      - id: '9'
        icon:
          name: mdi:fridge
          x: -1950.0008951872587
          'y': -4200.000332668424
        label:
          text: MUTFAK
          x: -1950.0008951872587
          'y': -4200.000332668424
          offset_y: 35
        outline:
          - - -5025.000941008329
            - -6575.0003680586815
          - - 1124.9991506338117
            - -6575.0003680586815
          - - 1124.9991506338117
            - -1825.0002972781656
          - - -5025.000941008329
            - -1825.0002972781656
    variables: {}
  - name: Manual Zone
    icon: mdi:select-drag
    selection_type: MANUAL_RECTANGLE
    max_selections: 1
    service_call_schema:
      evaluate_data_as_template: true
      service: xiaomi_miot.call_action
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 14
        aiid: 1
        params:
          - 2
          - >-
            {"MapId":[[1723829728]],"ExtraAreas":[{"vertexs":[[{% set
            s=[[[selection_unwrapped]]]
            %}{{s[0]}},{{s[3]}}],[{{s[2]}},{{s[3]}}],[{{s[2]}},{{s[1]}}],[{{s[0]}},{{s[1]}}]],"active":"normal","mode":"area"}]}
    variables: {}
    predefined_selections: []
  - name: Single Point
    icon: mdi:map-marker-radius-outline
    selection_type: MANUAL_POINT
    run_immediately: true
    service_call_schema:
      evaluate_data_as_template: true
      service: xiaomi_miot.call_action
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 14
        aiid: 1
        params:
          - 4
          - >-
            {"MapId":[[1723829728]],"ExtraAreas":[{"id":301,"tag":"5","vertexs":[[{{[[point_x]]-[[point_size]]}},{{[[point_y]]+[[point_size]]}}],[{{[[point_x]]+[[point_size]]}},{{[[point_y]]+[[point_size]]}}],[{{[[point_x]]+[[point_size]]}},{{[[point_y]]-[[point_size]]}}],[{{[[point_x]]-[[point_size]]}},{{[[point_y]]-[[point_size]]}}]],"active":"normal","mode":"point"}]}
    predefined_selections: []
    variables:
      point_size: 800
icons:
  - icon: mdi:play
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        value_not: cleaning
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        value_not: error
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        value_not: returning
    tooltip: Start
    tap_action:
      action: call-service
      service: vacuum.start
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
  - icon: mdi:stop
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        value_not: docked
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        value_not: idle
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        value_not: error
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        value_not: paused
    tooltip: Stop
    tap_action:
      action: call-service
      service: vacuum.stop
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
  - icon: mdi:home-map-marker
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        value_not: docked
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        value_not: returning
    tooltip: Return to base
    tap_action:
      action: call-service
      service: vacuum.return_to_base
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
  - menu_id: fan_speed
    icon: mdi:fan-remove
    label: Silent
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: fan_speed
        value: Silent
    tooltip: Change fan speed
    tap_action:
      action: call-service
      service: vacuum.set_fan_speed
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        fan_speed: Silent
  - menu_id: fan_speed
    icon: mdi:fan-speed-1
    label: Basic
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: fan_speed
        value: Basic
    tooltip: Change fan speed
    tap_action:
      action: call-service
      service: vacuum.set_fan_speed
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        fan_speed: Basic
  - menu_id: fan_speed
    icon: mdi:fan-speed-2
    label: Strong
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: fan_speed
        value: Strong
    tooltip: Change fan speed
    tap_action:
      action: call-service
      service: vacuum.set_fan_speed
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        fan_speed: Strong
  - menu_id: fan_speed
    icon: mdi:fan-speed-3
    label: Full Speed
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: fan_speed
        value: Full Speed
    tooltip: Change fan speed
    tap_action:
      action: call-service
      service: vacuum.set_fan_speed
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        fan_speed: Full Speed
  - menu_id: fan_speed
    icon: mdi:fan-alert
    label: Sweep
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: fan_speed
        value: Sweep
    tooltip: Change fan speed
    tap_action:
      action: call-service
      service: vacuum.set_fan_speed
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        fan_speed: Sweep
  - icon: mdi:fan-alert
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: fan_speed
        value_not: Silent
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: fan_speed
        value_not: Basic
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: fan_speed
        value_not: Strong
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: fan_speed
        value_not: Full Speed
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: fan_speed
        value_not: Sweep
    tooltip: Change fan speed
    tap_action:
      action: call-service
      service: vacuum.set_fan_speed
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        fan_speed: Silent
  - icon: mdi:land-plots-marker
    tooltip: Find robot
    tap_action:
      action: call-service
      service: xiaomi_miot.call_action
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 8
        aiid: 1
  - icon: mdi:auto-download
    tooltip: Auto clean vacuum
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: custom.work_station_freq
        value_not: '0'
    tap_action:
      action: call-service
      service: xiaomi_miot.set_miot_property
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 8
        piid: 2
        value: 0
  - icon: mdi:download-off
    tooltip: Manual vacuum clean
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: custom.work_station_freq
        value: '0'
    tap_action:
      action: call-service
      service: xiaomi_miot.set_miot_property
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 8
        piid: 2
        value: 1
  - icon: mdi:download-box-outline
    tooltip: Clear vacuum
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: custom.work_station_freq
        value: '0'
    tap_action:
      action: call-service
      service: xiaomi_miot.call_action
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 8
        aiid: 6
  - icon: mdi:checkbox-blank-outline
    tooltip: Avoid Rug
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: custom.rug_avoid
        value: true
    tap_action:
      action: call-service
      service: xiaomi_miot.set_miot_property
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 8
        piid: 31
        value: false
  - icon: mdi:rug
    tooltip: Clean rugs
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: custom.rug_avoid
        value_not: true
    tap_action:
      action: call-service
      service: xiaomi_miot.set_miot_property
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 8
        piid: 31
        value: true
  - icon: mdi:numeric-2-box-multiple-outline
    tooltip: Clean area twice
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: custom.double_clean
        value: true
    tap_action:
      action: call-service
      service: xiaomi_miot.set_miot_property
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 8
        piid: 20
        value: false
  - icon: mdi:numeric-1-box-outline
    tooltip: Clean area once
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: custom.double_clean
        value_not: true
    tap_action:
      action: call-service
      service: xiaomi_miot.set_miot_property
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 8
        piid: 20
        value: true
  - icon: mdi:cloud-refresh-variant-outline
    tooltip: Refresh
    tap_action:
      action: call-service
      service: homeassistant.update_entity
      target:
        entity_id: camera.roidmi_eva_vacuum_map
tiles:
  - tile_id: status
    entity: vacuum.roidmi_v60_a28e_robot_cleaner
    label: Status
    attribute: vacuum.status_desc
    icon: mdi:robot-vacuum
  - tile_id: status
    entity: vacuum.roidmi_v60_a28e_robot_cleaner
    label: Sweep Type
    attribute: vacuum.sweep_type
    icon: mdi:broom
    translations:
      '0': Sweep
      '1': Mop
      '2': Mop And Sweep
  - tile_id: battery_level
    entity: sensor.roidmi_v60_a28e_battery_level
    label: Battery
    icon_source: sensor.roidmi_v60_a28e_battery_level
  - tile_id: main_brush_level
    entity: vacuum.roidmi_v60_a28e_robot_cleaner
    attribute: brush_cleaner.brush_life_level
    unit: '%'
    label: Main brush
    icon: mdi:spirit-level
    tap_action:
      action: call-service
      confirmation:
        text: Are you sure you replaced Main Brush?
      service: xiaomi_miot.call_action
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 11
        aiid: 1
  - tile_id: side_brush_level
    entity: vacuum.roidmi_v60_a28e_robot_cleaner
    attribute: brush_life_level-12-2
    unit: '%'
    label: Side brush
    icon: mdi:ceiling-fan
    tap_action:
      action: call-service
      confirmation:
        text: Are you sure you replaced Side Brush?
      service: xiaomi_miot.call_action
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 12
        aiid: 1
  - tile_id: sensor_level
    entity: vacuum.roidmi_v60_a28e_robot_cleaner
    attribute: brush_life_level-15-2
    unit: '%'
    label: Sensors
    icon: mdi:leak
    tap_action:
      action: call-service
      confirmation:
        text: Are you sure you wiped sensor?
      service: xiaomi_miot.call_action
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 15
        aiid: 1
  - tile_id: mop_level
    entity: vacuum.roidmi_v60_a28e_robot_cleaner
    label: Mop
    attribute: mop.mop_life_level
    unit: '%'
    icon: mdi:liquid-spot
    tap_action:
      action: call-service
      confirmation:
        text: Are you sure you washed Mops?
      service: xiaomi_miot.call_action
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 16
        aiid: 1
  - tile_id: filter_level
    entity: vacuum.roidmi_v60_a28e_robot_cleaner
    attribute: filter.filter_life_level
    unit: '%'
    label: Filter
    icon: mdi:air-filter
    tap_action:
      action: call-service
      confirmation:
        text: Are you sure you replaced Filter?
      service: xiaomi_miot.call_action
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 10
        aiid: 1
additional_presets: []

Home Assistant Logs / 系统日志

.

@al-one
Copy link
Owner

al-one commented Dec 13, 2024

Show your card yaml

@Rgokcay
Copy link
Author

Rgokcay commented Dec 13, 2024

Kartınızı gösterin yaml

Ha da çok profesyonel değilim ama resimdeki bölümün tamamını mı istiyorsunuz
Screenshot_20241213_234744_Home Assistant

@Rgokcay
Copy link
Author

Rgokcay commented Dec 15, 2024

Kartınızı gösterin yaml

type: custom:xiaomi-vacuum-map-card
map_source:
  camera: camera.roidmi_eva_vacuum_map
entity: vacuum.roidmi_v60_a28e_robot_cleaner
internal_variables:
  map_id: 1723829728
calibration_source:
  camera: true
vacuum_platform: al-one/hass-xiaomi-miot
map_locked: true
map_modes:
  - name: Rooms
    icon: mdi:floor-plan
    run_immediately: false
    selection_type: ROOM
    id_type: number
    max_selections: 10
    service_call_schema:
      service: xiaomi_miot.call_action
      evaluate_data_as_template: true
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 14
        aiid: 1
        params:
          - 2
          - '{"mapId":[[1723829728]],"segmentId":[[selection]]}'
    predefined_selections:
      - id: '1'
        icon:
          name: mdi:sofa
          x: -1725.0008918344975
          'y': 1649.9997545033693
        label:
          text: SALON
          x: -1725.0008918344975
          'y': 1649.9997545033693
          offset_y: 35
        outline:
          - - -4275.0009298324585
            - -1675.0002950429914
          - - 824.9991461634635
            - -1675.0002950429914
          - - 824.9991461634635
            - 4974.99980404973
          - - -4275.0009298324585
            - 4974.99980404973
      - id: '3'
        icon:
          name: mdi:sofa-single
          x: 6924.999237060547
          'y': -3675.000324845314
        label:
          text: OTURMA ODASI
          x: 6924.999237060547
          'y': -3675.000324845314
          offset_y: 35
        outline:
          - - 3824.999190866947
            - -5375.000350177288
          - - 10024.999283254147
            - -5375.000350177288
          - - 10024.999283254147
            - -1975.0002995133398
          - - 3824.999190866947
            - -1975.0002995133398
      - id: '4'
        icon:
          name: mdi:bed
          x: 7599.999247118831
          'y': 3324.9997794628143
        label:
          text: YATAK ODASI
          x: 7599.999247118831
          'y': 3324.9997794628143
          offset_y: 35
        outline:
          - - 5224.999211728573
            - 1474.9997518956663
          - - 9974.999282509089
            - 1474.9997518956663
          - - 9974.999282509089
            - 5174.9998070299625
          - - 5224.999211728573
            - 5174.9998070299625
      - id: '5'
        icon:
          name: mdi:door
          x: 1924.999162554741
          'y': -2925.000313669443
        label:
          text: GİRİŞ
          x: 1924.999162554741
          'y': -2925.000313669443
          offset_y: 35
        outline:
          - - 24.99913424253452
            - -5325.00034943223
          - - 3824.999190866947
            - -5325.00034943223
          - - 3824.999190866947
            - -525.000277906656
          - - 24.99913424253452
            - -525.000277906656
      - id: '7'
        icon:
          name: mdi:baby-face
          x: 7524.999246001244
          'y': -300.0002745538947
        label:
          text: ÇOCUK ODASI
          x: 7524.999246001244
          'y': -300.0002745538947
          offset_y: 35
        outline:
          - - 5224.999211728573
            - -1775.0002965331075
          - - 9824.999280273914
            - -1775.0002965331075
          - - 9824.999280273914
            - 1174.999747425318
          - - 5224.999211728573
            - 1174.999747425318
      - id: '8'
        icon:
          name: mdi:road
          x: 4524.99920129776
          'y': 549.9997381120924
        label:
          text: KORİDOR
          x: 4524.99920129776
          'y': 549.9997381120924
          offset_y: 35
        outline:
          - - 3774.999190121889
            - -1675.0002950429914
          - - 5274.999212473631
            - -1675.0002950429914
          - - 5274.999212473631
            - 2774.999771267176
          - - 3774.999190121889
            - 2774.999771267176
      - id: '9'
        icon:
          name: mdi:fridge
          x: -1950.0008951872587
          'y': -4200.000332668424
        label:
          text: MUTFAK
          x: -1950.0008951872587
          'y': -4200.000332668424
          offset_y: 35
        outline:
          - - -5025.000941008329
            - -6575.0003680586815
          - - 1124.9991506338117
            - -6575.0003680586815
          - - 1124.9991506338117
            - -1825.0002972781656
          - - -5025.000941008329
            - -1825.0002972781656
    variables: {}
  - name: Manual Zone
    icon: mdi:select-drag
    selection_type: MANUAL_RECTANGLE
    max_selections: 1
    service_call_schema:
      evaluate_data_as_template: true
      service: xiaomi_miot.call_action
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 14
        aiid: 1
        params:
          - 2
          - >-
            {"MapId":[[1723829728]],"ExtraAreas":[{"vertexs":[[{% set
            s=[[[selection_unwrapped]]]
            %}{{s[0]}},{{s[3]}}],[{{s[2]}},{{s[3]}}],[{{s[2]}},{{s[1]}}],[{{s[0]}},{{s[1]}}]],"active":"normal","mode":"area"}]}
    variables: {}
    predefined_selections: []
  - name: Single Point
    icon: mdi:map-marker-radius-outline
    selection_type: MANUAL_POINT
    run_immediately: true
    service_call_schema:
      evaluate_data_as_template: true
      service: xiaomi_miot.call_action
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 14
        aiid: 1
        params:
          - 4
          - >-
            {"MapId":[[1723829728]],"ExtraAreas":[{"id":301,"tag":"5","vertexs":[[{{[[point_x]]-[[point_size]]}},{{[[point_y]]+[[point_size]]}}],[{{[[point_x]]+[[point_size]]}},{{[[point_y]]+[[point_size]]}}],[{{[[point_x]]+[[point_size]]}},{{[[point_y]]-[[point_size]]}}],[{{[[point_x]]-[[point_size]]}},{{[[point_y]]-[[point_size]]}}]],"active":"normal","mode":"point"}]}
    predefined_selections: []
    variables:
      point_size: 800
icons:
  - icon: mdi:play
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        value_not: cleaning
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        value_not: error
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        value_not: returning
    tooltip: Start
    tap_action:
      action: call-service
      service: vacuum.start
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
  - icon: mdi:stop
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        value_not: docked
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        value_not: idle
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        value_not: error
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        value_not: paused
    tooltip: Stop
    tap_action:
      action: call-service
      service: vacuum.stop
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
  - icon: mdi:home-map-marker
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        value_not: docked
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        value_not: returning
    tooltip: Return to base
    tap_action:
      action: call-service
      service: vacuum.return_to_base
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
  - menu_id: fan_speed
    icon: mdi:fan-remove
    label: Silent
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: fan_speed
        value: Silent
    tooltip: Change fan speed
    tap_action:
      action: call-service
      service: vacuum.set_fan_speed
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        fan_speed: Silent
  - menu_id: fan_speed
    icon: mdi:fan-speed-1
    label: Basic
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: fan_speed
        value: Basic
    tooltip: Change fan speed
    tap_action:
      action: call-service
      service: vacuum.set_fan_speed
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        fan_speed: Basic
  - menu_id: fan_speed
    icon: mdi:fan-speed-2
    label: Strong
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: fan_speed
        value: Strong
    tooltip: Change fan speed
    tap_action:
      action: call-service
      service: vacuum.set_fan_speed
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        fan_speed: Strong
  - menu_id: fan_speed
    icon: mdi:fan-speed-3
    label: Full Speed
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: fan_speed
        value: Full Speed
    tooltip: Change fan speed
    tap_action:
      action: call-service
      service: vacuum.set_fan_speed
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        fan_speed: Full Speed
  - menu_id: fan_speed
    icon: mdi:fan-alert
    label: Sweep
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: fan_speed
        value: Sweep
    tooltip: Change fan speed
    tap_action:
      action: call-service
      service: vacuum.set_fan_speed
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        fan_speed: Sweep
  - icon: mdi:fan-alert
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: fan_speed
        value_not: Silent
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: fan_speed
        value_not: Basic
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: fan_speed
        value_not: Strong
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: fan_speed
        value_not: Full Speed
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: fan_speed
        value_not: Sweep
    tooltip: Change fan speed
    tap_action:
      action: call-service
      service: vacuum.set_fan_speed
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        fan_speed: Silent
  - icon: mdi:land-plots-marker
    tooltip: Find robot
    tap_action:
      action: call-service
      service: xiaomi_miot.call_action
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 8
        aiid: 1
  - icon: mdi:auto-download
    tooltip: Auto clean vacuum
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: custom.work_station_freq
        value_not: '0'
    tap_action:
      action: call-service
      service: xiaomi_miot.set_miot_property
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 8
        piid: 2
        value: 0
  - icon: mdi:download-off
    tooltip: Manual vacuum clean
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: custom.work_station_freq
        value: '0'
    tap_action:
      action: call-service
      service: xiaomi_miot.set_miot_property
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 8
        piid: 2
        value: 1
  - icon: mdi:download-box-outline
    tooltip: Clear vacuum
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: custom.work_station_freq
        value: '0'
    tap_action:
      action: call-service
      service: xiaomi_miot.call_action
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 8
        aiid: 6
  - icon: mdi:checkbox-blank-outline
    tooltip: Avoid Rug
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: custom.rug_avoid
        value: true
    tap_action:
      action: call-service
      service: xiaomi_miot.set_miot_property
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 8
        piid: 31
        value: false
  - icon: mdi:rug
    tooltip: Clean rugs
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: custom.rug_avoid
        value_not: true
    tap_action:
      action: call-service
      service: xiaomi_miot.set_miot_property
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 8
        piid: 31
        value: true
  - icon: mdi:numeric-2-box-multiple-outline
    tooltip: Clean area twice
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: custom.double_clean
        value: true
    tap_action:
      action: call-service
      service: xiaomi_miot.set_miot_property
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 8
        piid: 20
        value: false
  - icon: mdi:numeric-1-box-outline
    tooltip: Clean area once
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: custom.double_clean
        value_not: true
    tap_action:
      action: call-service
      service: xiaomi_miot.set_miot_property
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 8
        piid: 20
        value: true
  - icon: mdi:cloud-refresh-variant-outline
    tooltip: Refresh
    tap_action:
      action: call-service
      service: homeassistant.update_entity
      target:
        entity_id: camera.roidmi_eva_vacuum_map
tiles:
  - tile_id: status
    entity: vacuum.roidmi_v60_a28e_robot_cleaner
    label: Status
    attribute: vacuum.status_desc
    icon: mdi:robot-vacuum
  - tile_id: status
    entity: vacuum.roidmi_v60_a28e_robot_cleaner
    label: Sweep Type
    attribute: vacuum.sweep_type
    icon: mdi:broom
    translations:
      '0': Sweep
      '1': Mop
      '2': Mop And Sweep
  - tile_id: battery_level
    entity: sensor.roidmi_v60_a28e_battery_level
    label: Battery
    icon_source: sensor.roidmi_v60_a28e_battery_level
  - tile_id: main_brush_level
    entity: vacuum.roidmi_v60_a28e_robot_cleaner
    attribute: brush_cleaner.brush_life_level
    unit: '%'
    label: Main brush
    icon: mdi:spirit-level
    tap_action:
      action: call-service
      confirmation:
        text: Are you sure you replaced Main Brush?
      service: xiaomi_miot.call_action
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 11
        aiid: 1
  - tile_id: side_brush_level
    entity: vacuum.roidmi_v60_a28e_robot_cleaner
    attribute: brush_life_level-12-2
    unit: '%'
    label: Side brush
    icon: mdi:ceiling-fan
    tap_action:
      action: call-service
      confirmation:
        text: Are you sure you replaced Side Brush?
      service: xiaomi_miot.call_action
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 12
        aiid: 1
  - tile_id: sensor_level
    entity: vacuum.roidmi_v60_a28e_robot_cleaner
    attribute: brush_life_level-15-2
    unit: '%'
    label: Sensors
    icon: mdi:leak
    tap_action:
      action: call-service
      confirmation:
        text: Are you sure you wiped sensor?
      service: xiaomi_miot.call_action
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 15
        aiid: 1
  - tile_id: mop_level
    entity: vacuum.roidmi_v60_a28e_robot_cleaner
    label: Mop
    attribute: mop.mop_life_level
    unit: '%'
    icon: mdi:liquid-spot
    tap_action:
      action: call-service
      confirmation:
        text: Are you sure you washed Mops?
      service: xiaomi_miot.call_action
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 16
        aiid: 1
  - tile_id: filter_level
    entity: vacuum.roidmi_v60_a28e_robot_cleaner
    attribute: filter.filter_life_level
    unit: '%'
    label: Filter
    icon: mdi:air-filter
    tap_action:
      action: call-service
      confirmation:
        text: Are you sure you replaced Filter?
      service: xiaomi_miot.call_action
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 10
        aiid: 1
additional_presets: []

@al-one
Copy link
Owner

al-one commented Dec 18, 2024

  - icon: mdi:numeric-2-box-multiple-outline
    tooltip: Clean area twice
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: custom.double_clean
        value: true
    tap_action:
      action: call-service
      service: xiaomi_miot.set_miot_property
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 8
        piid: 20
        value: false
  - icon: mdi:numeric-1-box-outline
    tooltip: Clean area once
    conditions:
      - entity: vacuum.roidmi_v60_a28e_robot_cleaner
        attribute: custom.double_clean
        value_not: true
    tap_action:
      action: call-service
      service: xiaomi_miot.set_miot_property
      service_data:
        entity_id: vacuum.roidmi_v60_a28e_robot_cleaner
        siid: 8
        piid: 20
        value: true

This appears to be fine, please provide the debug logs.

@Rgokcay
Copy link
Author

Rgokcay commented Dec 18, 2024

I tried but unfortunately it doesn't work. It was working in 0.7.25 and before but it doesn't work anymore in 1.0.0 and above.

@al-one
Copy link
Owner

al-one commented Dec 18, 2024

Try master branch.

wget -O - https://get.hacs.vip | DOMAIN=xiaomi_miot ARCHIVE_TAG=master bash -

@Rgokcay
Copy link
Author

Rgokcay commented Dec 18, 2024

Try master branch.

wget -O - https://get.hacs.vip | DOMAIN=xiaomi_miot ARCHIVE_TAG=master bash -

What is the major? I am not very experienced, I don't know how to do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants