GithubHelp home page GithubHelp logo

clayauld / hacc-deebot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ligio/hacc-ozmo

0.0 1.0 0.0 30 KB

Home Assistant Custom Component for Ecovacs Deebot Ozmo 900 and N79S

License: MIT License

Python 100.00%

hacc-deebot's Introduction

hacc-deebot

Home Assistant Custom Component for Ecovacs Deebot

Currently, this has been tested on the Ozmo 900 and N79

With this Home Assistant Custom Component you'll be able to

  • play/pause/stop
  • locate
  • send to home
  • clean[auto|map|area]
  • set fan speed
  • set water level

You can use it with this configuration (same values as for the official integration but the integration is called deebot instead of ecovacs:

# required fields
deebot:
  username: YOUR_ECOVACS_USERNAME
  password: YOUR_ECOVACS_PASSWORD
  country: YOUR_TWO_LETTER_COUNTRY_CODE
  continent: YOUR_TWO_LETTER_CONTINENT_CODE

You can also customize the previous configuration with supported_features and/or unsupported_features, to add/remove vacuum features:

# required fields
deebot:
  username: YOUR_ECOVACS_USERNAME
  password: YOUR_ECOVACS_PASSWORD
  country: YOUR_TWO_LETTER_COUNTRY_CODE
  continent: YOUR_TWO_LETTER_CONTINENT_CODE
  supported_features:
  - start
  - pause
  - [....]
  unsupported_features:
  - clean_spot
  - fan_speed
  - [....]

This is the list of supported/unsupported features you can use:

[
    "start",
    "pause",
    "stop",
    "return_home",
    "fan_speed",
    "battery",
    "status",
    "send_command",
    "locate",
    "clean_spot",
    "turn_on",
    "turn_off"
]

To set the water level you should use the send_command service:

vacuum_script_set_water:
  alias: set vacuum water level
  sequence:
  - service: vacuum.send_command
    data:
      command: set_water_level
      entity_id: vacuum.<YOUR-ID>
      params:
        level: low|medium|high

Also to clean area or custom map locations (by coordinates) you should use the send_command:

vacuum_script_clean_area:
  alias: clean area
  sequence:
  - service: vacuum.send_command
    data:
      command: spot_area
      entity_id: vacuum.<YOUR-ID>
      params:
        area: 0,2  # multiple areas index from your ecovacs app

vacuum_script_clean_map:
  alias: clean map
  sequence:
  - service: vacuum.send_command
    data:
      command: spot_area
      entity_id: vacuum.<YOUR-ID>
      params:
        map: "1580.0,-4087.0,3833.0,-7525.0"  # x,y coords from your ecovacs app

To get area/map info I've installed "Packet Capture" app on my Android phone and used it with Ecovacs app to sniff network traffic and find needed info

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.