Stop Code via HTML (Bambu Lab P1S)

is it possible to send a stop code via html after the printing process, which is received by a server?

I couldn’t find anything at device level, but maybe it is possible in the filament profile

e.g.

I highly doubt this is possible. You are trying to add HTML to gcode, which there is no provision for. It would have to be some one off custom thing that Bambu configures in the printer firmware to do.

What exactly are you trying to do? Maybe there’s another solution that could be utilized to meet your need. Example: you can setup a server that can read MQTT messages from the printer and perform some action when the print stops. I use my HomeAssistant server to see when the chamber fan of the printer is running and if it’s running, turn on my external vent fan.

1 Like

I would like to inform my “fhem” server (Smart Home with the Rasperry Pi) about the end of the printing process so that I can activate the corresponding switch actuators to switch off the external chamber heating of the printer.

I’m not familiar with FHEM servers, but from what I just read it can handle MQTT communication so it should be able to check the printer status. If it works like my HomeAssistant server, it would basically just poll MQTT on the printer and you can trigger based upon the printer status. That would get you the result you are looking for, but it’ll probably require a lot more configuration to setup on your end.

I have defined an MQTT device in the fhem server and connected it to the Bambu.
The log file then shows about 20 entries per second about the connection attempt.
I think that the P1S basically has a problem with this, as I am also unsuccessful with the MQTT Explorer.
I will now have to come up with something else.
Thanks for your help