Python program to read the bed mesh and display it for the Elegoo Centauri.
Click to download the zip file containing the python program and the gcode file that reads the mesh.
This was tested with Python 3.10 and to use it you must have json and websocket imports installed.
Directions:
1) Unzip the file and:
2) Put the M8803Command.gcode file on a USB drive.
3) Put the USB drive into the Centauri
4) On your computer run the ReadBedMesh.py with the IP address of the printer as an arguement is in:
py ReadBedMesh.py 192.168.111.111
The display will be a list of all 121 bed mesh values arranged as if you are looking from the top of the printer.
The first list is the difference from the average of all the values and the second list is the rounded raw data.

What the program does:
The M8803Command.gcode is a single M8803 built-in Centauri command that reads the printer config files and places them on the USB drive.
The program "prints" this file and the Centauri places the config files on the USB, from which the program extracts the bed mesh data and displays it.

The program is just a quick one that uses the centauri API without extensive error checks or timeouts, so use at your own risk. The program has an MIT
license at the bottom but in reality it is just a bunch of API calls so use it any way you want.

Read Bed Mesh Files (zip file)