Skip to content

Commit

Permalink
feat(vendor.roborock): Use the lo alias approach for more robots
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypfer committed Jan 27, 2021
1 parent b373703 commit 58a2618
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/robots/roborock/RoborockS6MaxVValetudoRobot.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ class RoborockS6MaxVValetudoRobot extends RoborockValetudoRobot {
return "S6 MaxV";
}

setEmbeddedParameters() {
super.setEmbeddedParameters();
this.embeddedDummycloudIp = "203.0.113.1"; //required for the lo alias approach
}


static IMPLEMENTATION_AUTO_DETECTION_HANDLER() {
const deviceConf = MiioValetudoRobot.READ_DEVICE_CONF(RoborockValetudoRobot.DEVICE_CONF_PATH);

Expand Down
6 changes: 6 additions & 0 deletions lib/robots/roborock/RoborockS6PureValetudoRobot.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ class RoborockS6PureValetudoRobot extends RoborockValetudoRobot {
return "S6 Pure";
}

setEmbeddedParameters() {
super.setEmbeddedParameters();
this.embeddedDummycloudIp = "203.0.113.1"; //required for the lo alias approach
}


static IMPLEMENTATION_AUTO_DETECTION_HANDLER() {
const deviceConf = MiioValetudoRobot.READ_DEVICE_CONF(RoborockValetudoRobot.DEVICE_CONF_PATH);

Expand Down

0 comments on commit 58a2618

Please sign in to comment.