Use print progress in macros

Basic Information:

Printer Model: Coustom Cartesian Printer
MCU / Printerboard: Rambo (16 Bit Atmega)
Host / SBC Raspberry Pi
klippy.log
klippy_Klipper.zip (2.0 MB)

My printer has an LED bar as a status light. I would like to display the progress of the print on the lamp.
To do this, I need the current print progress as a variable. Does this variable exist in Klipper? I have only found something in the documentation in connection with the virtual SD card. But I don’t want to use this because all prints are managed by Repetier-Server.

See NeoPixel Led as Progress Bar