# Can't get motion\_reactive working

**URL:** https://wled.discourse.group/t/cant-get-motion-reactive-working/15447
**Category:** Usermods
**Created:** [July 6, 2026, 7:51am UTC](https://wled.discourse.group/t/cant-get-motion-reactive-working/15447 "2026-07-06T07:51:51Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![SeanRiddle](https://avatars.discourse-cdn.com/v4/letter/s/74df32/32.png) [@SeanRiddle](https://wled.discourse.group/u/SeanRiddle)
#### Post date: [July 6, 2026, 7:51am UTC](https://wled.discourse.group/t/cant-get-motion-reactive-working/15447/1 "2026-07-06T07:51:51Z")

</div>

Hello. I am very new to WLED but have done some embedded development in the past. I’m wanting to add motion effects to a project, and found the motion\_reactive usermod. I installed Visual Studio Code, [Platform.io](http://Platform.io), etc. and was able to compile WLED v17. I then attempted to add motion\_reactive, but haven’t gotten it to work. I see the IMU effects in the list and when selected they affect the LEDs, but none of them respond to any motion.

I’m using an MPU6050 but I don’t think the driver is being initialized; I added some Serial2 debugging, and IMU::available() returns false. I think that’s because registerProvider() is never called.

When I search the source folders for mpu6050\_imu, all I find is code that doesn’t look like the driver motion\_reactive expects; it uses the interrupt pin, and it doesn’t call registerProvider().

I wonder if somehow I’m not specifying the correct mpu6050\_imu project, and it’s including the wrong one.

My platformio\_override.ini:  
[platformio]  
default\_envs = esp32dev

[env:esp32dev\_external\_usermod]  
extends = env:esp32dev

custom\_usermods = motion\_reactive  
mpu6050\_imu

Any ideas on what I can check next?

Thanks-  
Sean

BTW- I tested the MPU6050 with a simple project, and it seems to be working correctly. I’ve double-checked the I2C GPIOs in WLED. I do not get a motion\_reactive config window in Usermod Setup, but I think that’s correct.

---

<div class="post-metadata">

### Author: ![barns5068](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/barns5068/32/10642_2.png) [@barns5068](https://wled.discourse.group/u/barns5068)
#### Post date: [September 22, 2026, 6:24am UTC](https://wled.discourse.group/t/cant-get-motion-reactive-working/15447/2 "2026-09-22T06:24:08Z")

</div>

I was able to make it work for me by moving over code from williams to the original driber. I havent figured why its not working. If you still need it ill make a fork of williams code
