iRobotEducation / irobot-edu-python-sdk

Python SDK for iRobot Edu robots (Root or Create 3)
BSD 3-Clause "New" or "Revised" License
16 stars 6 forks source link

Create 3 SDK: ValueError: badly formed hexadecimal UUID string #46

Closed Kahan64bit closed 3 months ago

Kahan64bit commented 3 months ago

I am trying to connect to an irobot; however, there are many in the vicinity. How can I get the specific BLE ID for the robot? Create3(Bluetooth(What goes here))

shamlian commented 3 months ago

If you know the robot's name (which can be set using the web server, though this requires an application restart after saving), you can use Create3(Bluetooth('robot-name')). When you connect to the robot in this manner, I believe it prints the address to the screen upon connection. You could then subsequently connect to the robot with something like Create3(Bluetooth(address='hex-address')), if memory serves.

Kahan64bit commented 3 months ago

Thank you this works well.