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:
- Implement queries by hostname (preferred), or
- Ensure with a regex to accept only IP formats
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-passwordreturnsException: cannot find roombaroomba-discoveryreturnsNoneroomba-connectreturnsException: cannot find roombaThe 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: