Can't get motion_reactive working

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, 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.