Giter VIP home page Giter VIP logo

Comments (6)

royto avatar royto commented on June 27, 2024 1

I used this article as inspiration when I created my scripts: https://hackernoon.com/how-i-set-up-room-cleaning-automation-with-google-home-home-assistant-and-xiaomi-vacuum-cleaner-9149e0267e6d

from vacuum-card.

denysdovhan avatar denysdovhan commented on June 27, 2024 1

There is nothing in the readme.md about how to do this.

It shouldn't be in readme. This is not part of this project, but rather the part of HA and its integrations.

from vacuum-card.

cschriel avatar cschriel commented on June 27, 2024

The service_data in the actions object isn't required. By default it uses the "normal" method of starting the vacuum. Using this object, you can change what service gets triggered by using the action button.

from vacuum-card.

nickdos avatar nickdos commented on June 27, 2024

Thanks - I get that its option but I want it!

What I don't know, is how do I setup my vacuum to do zone cleaning via the script.clean_my_room method? There is nothing in the readme.md about how to do this.

from vacuum-card.

nickdos avatar nickdos commented on June 27, 2024

There is nothing in the readme.md about how to do this.

It shouldn't be in readme. This is not part of this project, but rather the part of HA and its integrations.

I'd argue, that if your plugin depends upon an integration being installed, then the README should link through to the documentation for that integration/s.

I looked on https://www.home-assistant.io/integrations/vacuum.xiaomi_miio/ and there is no mention of script anywhere on that page. I'm still unclear what needs to be in the scripts to trigger zone cleaning. Looking at the vacuum.xiaomi_miio page, I can see examples for automations... is the idea that I create scripts that are equivalent to the zone cleaning automations?

EDIT: I initially searched that page for 'script' and got no results - I must've had a typo. Carefully reading the page again, I found the example. FYI when I installed my vacuum, scripts weren't in HA yet, so please excuse my ignorance of them.

Scripts are quite new to HA, so I don't think you can assume average users know how to set them up.

from vacuum-card.

denysdovhan avatar denysdovhan commented on June 27, 2024

Let's add a link to scripts docs in README

from vacuum-card.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.