Mpu6050 with Nodemcu board for Neopixel on a swing

I'm trying to install neopixel lights on a swing so they would light up with the speed of the swing. I tried a couple of times but I believe I need to clear a few things.

Im trying to use the MPU6050_tockn library GitHub - tockn/MPU6050_tockn: Arduino library for easy communication with MPU6050 however I have a few things I couldnt wrap around my head:

1- Im using the nodemcu-mpu6050 hooked up to a powerbank. Do I need to calibrate the mpu6050 each time I launch it using the powerbank.

2- Insteas of pitch, yaw, roll I would like to solve using accelerometer. I have hard time understanding how the motion of a childrens swing translates to the accelerometer. I would think either of the x, y, z values would give me the result I need however the swing tilts along with the acceleration and I do believe this effects the values.

Attaching code and excel sensor results though all is a mess. How would you go about this project?

SwingTest_10.ino (6.89 KB)

swingfebruary9data.xlsx.zip (1.05 MB)