MagTag LEDs flash on waking from deep sleep
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- embedded-iot
Research direction
The reproduction is the alarm.exit_and_deep_sleep_until_alarms snippet on a MagTag (ESP32-S2), and the report says the flash first appears between 10.2.1 and 10.3.0, so start by bisecting that range. Look at the ESP32-S2 port's deep-sleep and wake path and at what initializes the NeoPixels on boot. Done means the NeoPixels no longer flash yellow after waking, confirmed on real MagTag hardware, since the pretend-sleep mode does not reproduce it.
Written by the indexing model from the issue text.
Description
CircuitPython version and board name
Adafruit CircuitPython 11.0.0-alpha.3-9-g1ae2bac84e on 2026-11-13; Adafruit MagTag with ESP32S2
Code/REPL
import time
import alarm
print("Awake.")
time.sleep(5)
time_alarm = alarm.time.TimeAlarm(monotonic_time=time.monotonic() + 15)
print("Entering deep sleep.")
alarm.exit_and_deep_sleep_until_alarms(time_alarm)
Behavior
(See Item #1 in "Additional Information")
code.py output:
Awake.
Entering deep sleep.
Code done running.
Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
Press any key to enter the REPL. Use CTRL-D to reload.
Pretending to deep sleep until alarm, CTRL-C or file write.
Adafruit CircuitPython 11.0.0-alpha.3-9-g1ae2bac84e on 2026-11-13; Adafruit MagTag with ESP32S2
Description
- Neopixels flash yellow 4x on waking from deep sleep (does not flash the initial blue)
Additional information
- Does not actually happen when running code above, per item 2 immediately following. To my knowledge I don't have a way to access the serial output while also putting the board into actual deep sleep (not pretend)
- Does not happen when Magtag is plugged in (i.e. pretending to deep sleep)
- Behavior is not present in 10.2.1 (no LEDs flash on wakeup from deep sleep), but is present on everything I've tested beyond that (10.3.0, 10.3.2, absolute newest 11.0.0 as listed above)
(Opened per recommendation of tannewt: https://forums.adafruit.com/viewtopic.php?t=225848)
- Dominant language
- C
- Stars
- 4.6k
- Forks
- 1.4k
- Avg merge
- 1d
- Merged PRs (30d)
- 212
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from adafruit/circuitpython
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
adafruit/circuitpython#11877 ·
Maintainers usually reply within 1 day
-
documentation rp2
Difficulty 1/5 1-3 hours Newbie friendliness 67/100
adafruit/circuitpython#11779 · 1 comment ·
Maintainers usually reply within 1 day
-
documentation enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
adafruit/circuitpython#11689 ·
Maintainers usually reply within 1 day
-
esp32-c3 memory optimization network
Difficulty 5/5 Over a week Newbie friendliness 12/100
adafruit/circuitpython#11879 ·
Maintainers usually reply within 1 day
-
I2S audio playback is garbled for tone and mp3 playback on Metro ESP32-P4Possibly taken @mikeysklar claimed this 1 day ago. Openbug
adafruit/circuitpython#11873 · 6 comments · 1 assignee ·
Maintainers usually reply within 1 day
All issues in adafruit/circuitpython
Similar issues
-
build: man page directory doubledPossibly taken @zeusgoose claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
ATtiny xy2: Missing #else path may lead to inconsistencies in core digital_pin_to_timer[] arrayOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SpenceKonde/megaTinyCore#1294 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ROCm/rocm-libraries#15866 ·
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
-
更新笔记收藏里的 AIHOT 官网地址Open
Difficulty 1/5 Under an hour Newbie friendliness 75/100