-
Hi all, So until recently, I've been using the BLE address to uniquely identify my hubs. However, it seems in a recent update, PybricksHub.connect(address_str) raises an AttributeError because it now only expects a |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
In our next release (v3.1 firmware) we would like to add a feature to give each hub a unique name so that we can use the name instead of the address of the hub. We try to avoid using the address because Apple does not allow accessing the address on macOS for privacy and security reasons. For that reason, we can't make generic instructions to "type your Bluetooth address here" that work for everyone. But serializing it to disk so that the hub is "remembered" sounds like a legitimate use case since it would still work on macOS. There is a pull request to fix |
Beta Was this translation helpful? Give feedback.
-
Please try pybricksdev v1.0.0-alpha.8. You will probably need to do something like this now: device = await find_device(address_str)
await PybricksHub.connect(device) |
Beta Was this translation helpful? Give feedback.
Please try pybricksdev v1.0.0-alpha.8.
You will probably need to do something like this now: