Skip to content

[Bug] Rapid blinking on hub long press, but no power-off #2838

Closed

Description

@BertLindeman

Describe the bug
Long button press on a running hub sometimes results in rapid blinking hub led.
Requires the battery to be removed to power-off the hub.

To reproduce
Steps to reproduce the behavior:

  1. Run the test program (below)
  2. Click on F6 Stop
  3. See the Run and Stop buttons on the UI disabled
  4. See also the hub running on (stable RED)
  5. Long press the hub button to power-off
  6. See the hub do rapid blinking but it does not power-off the hub
  7. remove the battery to power-off

Once seen in the terminal a truncated message:
The program was sto

Expected behavior
Hub powers off after a long press of the hub button.

Extra info
Seen on movehub and Technichub.
Did not try on other hubs.

On the movehub at

'movehub', '4.1.0b4', 'ci-build-5047-v4.1.0b4-21-g0c437f508 on 2026-09-29'

Tests for issue #2833 showed the problem on first attempt.

Did the test on the UI 20 times:

  • F5 to start
  • F6 while the hub light is RED to stop
    Could not reproduce. in these 20 times

Ran the test program 20 times with only the use of the hub button after the program was loaded:

  • short press to run the program
  • on hub light RED short press to stop the program
    In all cases the hub light blinked slowly as advertising.

No problem seen now.

test program
# Test for movehub:
#  - Success without sensor plugged in, 
#  - failure with one or two Boost Color and Distance Sensors or motors.

from pybricks.hubs import ThisHub
from pybricks.parameters import Color
from pybricks.tools import wait

hub = ThisHub()
hub.light.on(Color.RED)
wait(2000)

Activity

  1. added
    triage
    on Sep 29, 2026
  2. laurensvalk commented on Oct 8, 2026

    @laurensvalk
    Member

    Should be fixed now. Please reopen if not! Thanks!

  3. added
    software: pybricks-micropython
    and removed
    triage
    on Oct 8, 2026
  4. added theissue type on Oct 8, 2026
  5. added
    topic: bluetooth
    on Oct 8, 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

    software: pybricks-micropythontopic: bluetooth

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions