Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

roombapy does not work with hostnames #93

Open
indagitto opened this issue Aug 15, 2021 · 1 comment
Open

roombapy does not work with hostnames #93

indagitto opened this issue Aug 15, 2021 · 1 comment

Comments

@indagitto
Copy link

When trying to use roombapy, with hostnames (e.g. Roomba-BLID.domain or iRobot-BLID.domain) instead of IP address the commands have different results:

  • roomba-password returns Exception: cannot find roomba
  • roomba-discovery returns None
  • roomba-connect returns Exception: cannot find roomba

The same commands and same roomba device are working when using an IP address, tested on two different devices.
Name resolution works and can ping via hostname (I've tested everything on the same machine, which is a Win10 with Python 3.9).

I assume this is intended or a limitation in the code, would it be possible to:

  1. Implement queries by hostname (preferred), or
  2. Ensure with a regex to accept only IP formats
@Orhideous
Copy link
Collaborator

roombapy discover 192.168.88.NNN works, roombapy discover iRobot-NNNNNNN.lan doesn't.

@Orhideous Orhideous changed the title roomba-password does not resolve hostnames roombapy does not work with hostnames Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants