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
    triage
    hub: technichub
    software: pybricks-micropython
    topic: remote control
    and removed
    triage
    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: technichubsoftware: pybricks-micropythontopic: remote control

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions