I'm working in new APP/Drivers for nodemcu-firmware.
This is a still work in progress and need add more filters ...and test!
For now MPU6050 and Mahony filters are working.
If you want to see the source:
https://github.com/hiperiondev/nodemcu-firmware_dev