Connect your ESP32
This page only listens. It never sends anything to the arm.
USB cable
Chrome or Edge on a computer. Opening the port can restart the ESP32, the same way the Arduino serial monitor does, so connect before the motors have power.
Bluetooth
Chrome on a computer or an Android phone. Turn on USE_BLE in the sketch first.
Simulator
A built-in arm running a pick and place loop, for trying the page with nothing plugged in.
What the ESP32 should send
One line per frame, about 50 times a second, with the joint angles in degrees from the base up. Add "t" with the angles the arm was told to reach and a pale outline shows the difference.
{"j":[12.5,-40.0,88.0,0.0,20.0,0.0],"t":[14.0,-38.0,90.0,0.0,20.0,0.0]}
A plain line of numbers works too.
12.5,-40.0,88.0,0.0,20.0,0.0