stvmallen / homebridge-roomba-stv

Homebrige plugin for Roomba 9xx
MIT License
38 stars 15 forks source link

Feature request: ability to pause without docking #19

Open lukekarrys opened 5 years ago

lukekarrys commented 5 years ago

Expected Behavior

Sometimes I'd like to just pause my roomba without returning it to its docking station. I do this through the iRobot app but it'd be nice to be able to do it through homebridge.

I'm brand new to homebridge plugin development so I'm not sure if this would even be possible. I did a little research and maybe a new Service.Switch could be created with a different subtype called something like Pause ${NAME} which could control pausing the roomba. This would make it a little odd to issue the command via Siri, but it'd be nice to have the ability to do this.

Current Behavior

Currently stopping the roomba always returns it to its docking station.

Steps to Reproduce (for bugs)

N/A

Versions

Configuration

N/A

Homebridge Log / Command Output

N/A

i3laze commented 4 years ago

+1. I’d love to just pause the iRobot, because returning to base it still produces noise. For now I just commented index.js line 106 and pause works: this.dockWhenStopped(roomba, 3000);

Pause could be a separate switch accessory or a variable for the main switch and separate "return home" switch instead.

I hope iRobot.app will someday implement Siri Shortcuts ("Start cleaning, pause cleaning, clean the kitchen").