question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Room cleaning ignores repeat count

See original GitHub issue

Checklist

  • I have updated the card to the latest version available
  • I have cleared the cache of my browser
  • I have checked if the problem is already reported

The problem

It seems that room cleaning function is ignoring the repeat counter which was added in v2.0.9 (I believe within #256). Setting 2 or 3 has the same result - vacuum cleans the room only once and returns to dock.

What version of a card has described problem?

v2.0.9

What was the last working version card?

No response

What vacuum model do you have problems with?

roborock.vacuum.s5e

Which integration do you use to control your vacuum (link)?

default

What browser (browsers/apps) does have this problem?

Chrome 97.0.4692.71

What version of Home Assistant do you use?

2021.12.8

What type of installation are you running?

Home Assistant OS

Card’s configuration

type: custom:xiaomi-vacuum-map-card
map_source:
  camera: camera.xiaomi_cloud_map_extractor
  crop:
    top: 175
    left: 175
    right: 175
    bottom: 175
calibration_source:
  camera: true
entity: vacuum.roborock_vacuum_s5e
vacuum_platform: default
title: ''
map_locked: true
two_finger_pan: true
map_modes:
  - template: vacuum_clean_segment
    predefined_selections:
      - id: 16
        outline:
          - - 25146
            - 26101
          - - 28049
            - 26101
          - - 28007
            - 22651
          - - 25146
            - 22651
        icon:
          label: Bedroom
          name: mdi:bed
          x: 26534
          'y': 24671
      - id: 17
        outline:
          - - 28160
            - 28463
          - - 29579
            - 28463
          - - 29579
            - 26128
          - - 28160
            - 26128
        icon:
          name: mdi:shoe-sneaker
          x: 28801
          'y': 27181
      - id: 18
        outline:
          - - 30266
            - 25990
          - - 35258
            - 25990
          - - 35258
            - 22510
          - - 30266
            - 22510
        icon:
          x: 32785
          'y': 24296
          name: mdi:television
      - id: 19
        outline:
          - - 28114
            - 24479
          - - 29625
            - 24479
          - - 29625
            - 23242
          - - 28114
            - 23242
        icon:
          x: 28801
          'y': 23975
          name: mdi:shower
      - id: 20
        outline:
          - - 25091
            - 28005
          - - 28068
            - 28005
          - - 28068
            - 26860
          - - 25091
            - 26860
        icon:
          x: 26603
          'y': 27410
          name: mdi:countertop
      - id: 21
        outline:
          - - 28114
            - 26082
          - - 30146
            - 26082
          - - 30146
            - 24571
          - - 28114
            - 24571
        icon:
          x: 29030
          'y': 25212
          name: mdi:book-open-page-variant
  - template: vacuum_clean_zone
  - template: vacuum_goto

Javascript errors shown in the browser’s console (if applicable)

No response

Additional information

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
mateuszmalekcommented, Jan 7, 2022

You’re right probably 😃

I was successfully able to make it work for my S5 Max by overriding default template:

  - template: vacuum_clean_segment
    repeats_type: EXTERNAL
    max_repeats: 3
    service_call_schema:
      service: vacuum.send_command
      service_data:
        command: app_segment_clean
        entity_id: '[[entity_id]]'
        params:
          - segments: '[[selection]]'
            repeat: '[[repeats]]'
    predefined_selections:
    (...)

Dzięki 😃

0reactions
PiotrMachowskicommented, Jan 7, 2022

@mateuszmalek I think that it depends on vacuum model

Read more comments on GitHub >

github_iconTop Results From Across the Web

Segment/Room repetition for vacuum no working · Issue #59110
The problem When setting an automation to clean twice the same segment as said in the documentation ... Room cleaning ignores repeat count...
Read more >
Why the 20/10 method can change the way you clean your ...
Your house will never stay clean with marathon tidying sessions. Try this instead. ... No wonder the cycle continues to repeat itself.
Read more >
Understanding OCD and Cleaning - Healthline
The relationship between OCD and cleaning hinges on obsession (recurrent, intrusive thoughts) and compulsion (repeated behaviors or actions). ...
Read more >
Why does housekeeping skip your room if you answer ... - Quora
They are either so poorly trained and have no common sense or respect or management forces them to clean a certain number of...
Read more >
10 Signs You May Have OCD - Health
When do personality quirks cross the line into obsessive-compulsive disorder? · Hand-washing · Overzealous cleaning · Checking behavior · Counting.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found