Skip to content

[Bug] Give better warning when Xbox Controller not in pairing mode #2852

Open

Description

@laurensvalk

To reproduce
Connect an Xbox Controller to some other hub.

Then try to connect to the Technic Hub while forgetting to put it in pairing mode.

We get:

Traceback (most recent call last):
  File "xbox.py", line 8, in <module>
OSError: [Errno 1] EPERM: 

The requested operation is not valid in the current state:
--> Check the documentation for required conditions.
--> Check the line in your script that matches
    the line number given in the 'Traceback' above.

Expected behavior

Show the same error as we do on SPIKE Prime: "Try putting the controller in pairing mode"

Activity

  1. added
    triageIssues that have not been triaged yet
    hub: technichubIssues related to the LEGO Technic hub (Hub No. 2)
    topic: remote controlIssues related to remotly controlling hubs
    and removed
    triageIssues that have not been triaged yet
    on Oct 12, 2026
  2. added theissue type on Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    hub: technichubIssues related to the LEGO Technic hub (Hub No. 2)software: pybricks-micropythonIssues with Pybricks MicroPython firmware (or EV3 runtime)topic: remote controlIssues related to remotly controlling hubs

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions