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

Blueprint disable_vacuum_camera_update_when_docked.yaml - add "Idle" + "Pause" #468

Open
2 tasks done
c11umw opened this issue Sep 24, 2023 · 4 comments · May be fixed by #472
Open
2 tasks done

Blueprint disable_vacuum_camera_update_when_docked.yaml - add "Idle" + "Pause" #468

c11umw opened this issue Sep 24, 2023 · 4 comments · May be fixed by #472
Assignees
Labels
bug Something isn't working

Comments

@c11umw
Copy link

c11umw commented Sep 24, 2023

Checklist

  • I have updated the integration to the latest version available
  • I have checked if the problem is already reported

The problem

The blueprint to disable the camera (to prevent rate limiting) has 3 states.

image

Request to add the following to further reduce the chance of rate limiting (idle + paused)):
image

Reasoning:

  1. Pause: Some people have automations to pause the vacuum when they enter the same room/space it's currently cleaning and resume when vacant.
  2. Idle: I have my Roborock on a charging cycle rather than leave it powered on all the time. When it's on it's on a discharge cycle it eventually goes to "sleep" and shows as idle, not docked.

Blueprint location:
/config/blueprints/automation/PiotrMachowski/disable_vacuum_camera_update_when_docked.yaml

My install:

Home Assistant 2023.9.2
Supervisor 2023.09.2
Operating System 10.5
Frontend 20230911.0 - latest

What version of an integration has described problem?

v2.2.1

What was the last working version of an integration?

No response

What vacuum model do you have problems with?

roborock.vacuum.s4

What version of Home Assistant do you use?

2023.9.2

What type of installation are you running?

Home Assistant Supervised

Camera's configuration

camera:
  - platform: xiaomi_cloud_map_extractor
    host: !secret xiaomi_vacuum_host
    token: !secret xiaomi_vacuum_token
    username: !secret xiaomi_cloud_username
    password: !secret xiaomi_cloud_password
    country: de
    scan_interval: 30
    auto_update: false
    draw: ["all"]
    attributes:
      - calibration_points

Errors shown in the HA logs (if applicable)

No response

Additional information

No response

@c11umw c11umw added the bug Something isn't working label Sep 24, 2023
@c11umw c11umw changed the title Blueprint update_map_extractor.yaml - add "Pause" Blueprint disable_vacuum_camera_update_when_docked.yaml - add "Pause" Sep 24, 2023
@c11umw c11umw changed the title Blueprint disable_vacuum_camera_update_when_docked.yaml - add "Pause" Blueprint disable_vacuum_camera_update_when_docked.yaml - add "Idle" + "Pause" Sep 24, 2023
@dahlmo dahlmo linked a pull request Oct 5, 2023 that will close this issue
@dahlmo
Copy link

dahlmo commented Oct 13, 2023

I've created a PR that I think fixes this @c11umw (#472).

@c11umw
Copy link
Author

c11umw commented Oct 22, 2023

I've created a PR that I think fixes this @c11umw (#472).

I saw that :)
It covers the "Idle" state, but doesn't mention "Pause"

@dahlmo
Copy link

dahlmo commented Oct 23, 2023

It does cover "paused" @c11umw (screenshot from the PR diff below)

Screenshot 2023-10-23 at 10 48 45

@Davst
Copy link

Davst commented Nov 10, 2023

I second this, I have a automation that picks up when the robot is done cleaning and sends it over to the dust-bin to be emptied before it returns to the dock.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
4 participants