Esp8266 nodemcu + mpu6050

Hi, I want to measure mpu6050 data with esp8266 nodemcu.
To do this, OTA will be used.
I prepared mpu6050 reading code. But I don't know how connect to OTA and get data wirelessly.

Has anyone tried the same project as me?
Or could you recommend a method other than the ota?