Skip to content

roombapy does not work with hostnames #93

@indagitto

Description

@indagitto

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions