apexad / eufy-robovac

NodeJS library to control Eufy RoboVac
MIT License
60 stars 17 forks source link

Feature request: trigger clean Room instruction for X8? #28

Closed petergeneric closed 1 month ago

petergeneric commented 2 years ago

I'd like to be able to programmatically trigger my X8 to go to named room(s) and clean.

Is this something you'd be interested in implementing? If not could you provide some pointers on if there's a way to explore the available APIs to see what's possible?

"npm run demo" does show some changes when I instruct the vacuum to clean a room. I've included some status responses below.

Initially when auto-cleaning:

{
  dps: {
    '1': true,
    '2': true,
    '5': 'auto',
    '15': 'Running',
    '101': false,
    '102': 'Standard',
    '103': false,
    '104': 87,
    '106': 0,
    '107': false,
    '109': 751,
    '110': 16,
    '111': 40,
    '118': true,
    '122': 'Continue',
    '130': 'Standard',
    '131': false,
    '135': true,
    '137': 0
  }
}

When instructed to clean my hall (and on its way there):

{
  dps: {
    '1': true,
    '2': true,
    '5': 'room',
    '15': 'Running',
    '101': false,
    '102': 'Max',
    '103': false,
    '104': 78,
    '106': 0,
    '107': false,
    '109': 0,
    '110': 0,
    '111': 40,
    '118': true,
    '122': 'Continue',
    '130': 'Standard',
    '131': false,
    '135': true,
    '137': 0
  }
}

While cleaning my hall:

{
  dps: {
    '1': true,
    '2': true,
    '5': 'room',
    '15': 'Running',
    '101': false,
    '102': 'Max',
    '103': false,
    '104': 78,
    '106': 0,
    '107': false,
    '109': 70,
    '110': 2,
    '111': 40,
    '118': true,
    '122': 'Continue',
    '130': 'Standard',
    '131': false,
    '135': true,
    '137': 0
  }
}

Later in the cleaning of the hall:

{
  dps: {
    '1': true,
    '2': true,
    '5': 'room',
    '15': 'Running',
    '101': false,
    '102': 'Max',
    '103': false,
    '104': 72,
    '106': 0,
    '107': false,
    '109': 420,
    '110': 10,
    '111': 40,
    '118': true,
    '122': 'Continue',
    '130': 'Standard',
    '131': false,
    '135': true,
    '137': 0
  }
}
apexad commented 1 month ago

Not adding specific features for certain vacuums at this time. May revisit in the future