NickWaterton / Roomba980-Python

Python program and library to control iRobot Roomba 980 Vacuum Cleaner
MIT License
361 stars 103 forks source link

Ignore input #103

Closed JimmyTournemaine closed 1 year ago

JimmyTournemaine commented 2 years ago

Hello, I like your library and I'm using it with my two roombas. However, I notice that if I extract the roomba password from a non TTY environment (from a service, Ansible, Domoticz), the get_password freezes, waiting for a user input.

I propose to not wait for user input in a non-interactive session using isatty.