Giter Site home page Giter Site logo

Comments (4)

seanemclean avatar seanemclean commented on May 27, 2024 1

This was SUPER helpful, thank you so much! Just an FYI for you/others, the data for the first scenario should be sweep_auto instead of send_auto. I'm able to use both of these for my needs.

One more quick question: Is there a return to home command I can send to have it to return to the dock? (eg, if I arrive home while it's still cleaning)

from simple-wyze-vac.

romedtino avatar romedtino commented on May 27, 2024

Hi, I'm not a Node Red User but I think you have two options to go about it. If you want to use what the room buttons are already set to which is your question, then you can do

Node: call_service
Domain: vacuum
Service: send_command
Entity: Your vacuum entity name
Data (Expression): {"command":"sweep_auto"}

Or you can use sweep_auto and pass it in a list of rooms (as entity names) you want to clean

Node: call_service
Domain: simple_wyze_vac
Service: sweep_rooms
Entity: Your vacuum entity name
Data (Expression): {"rooms":["switch.swv_living_room", "switch.swv_bedroom"]}

The former would require you to have the buttons set to specific rooms every evening to make sure it only goes to those specific rooms. The latter would always choose the rooms you list in the Data expression.

Hopefully that helps!~

from simple-wyze-vac.

romedtino avatar romedtino commented on May 27, 2024

There should be a service already for that built right into home assistant service: vacuum.return_to_base

from simple-wyze-vac.

romedtino avatar romedtino commented on May 27, 2024

Seems to be complete.

from simple-wyze-vac.

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.