Any way to communicate with user (LCD) from klipper macro?

Is there any way to communicate with the user via LCD from Klipper macro?

Sometimes a macro requires to send the user a message or let him press a button on the built-in LCD - just like in the printer setup. KlipperScreen has some methods to do this but the U1 runs a simple binary called “gui” for which I haven’t found the source code yet.

Any idea, please?

I can’t say for sure, but this looks like a job for the paxx custom firmware.

I already run the paxx12 fw. But he takes the original SN-fw binaries and adds his customizations on top.
As said above I wasn’t able to find the “gui” sourcecode in SN Github repos. So I strongly guess it is closed source so far. There must be some kind of communication between “klipper” and “gui” for example when you pause/resume via gcode or when an filament error occours.

The magic questions is: How?

Under the hood the U1 is a simple Linux running RockChip, nothing magic so far.

Perhaps one of the SN employees could answer…

You could try asking Paxx.

You have to turn it on in Paxx12 firmware config.

???

Sorry I don’t get it. What do I have to turn on? I want to send a message or a confirmation from a gcode macro to the builtin LCD.

As far as I can see (netstat/ss) there seems to be a communication via sockets between klipper and the SN “gui” application. paxx12 firmware config does not have a switch or config to turn that on, unless I miss something.

HTTP://printer-ip/screen

That’s known and already enabled, but not what I asked for.

From a klipper macro I want to send a message and a push button confirmation to the screen.

Open a request:
https://snapmaker.formcrafts.com/general-inquiry