Bambu Lab X1 X1C MQTT

For those (like me) who are having trouble putting the pieces together enough to connect to their P1P via MQTT, here’s what worked for me, in the form of images:

Then click Advanced and remove the default topics, replacing with device/YOUR_SERIAL_HERE/report :

Then go back and connect, and you’ll see something like this:

It looks like certain status info can be scraped from strings if desired, such as these:

{
  "mc_print": {
    "param": "[BMC] Print percent:83.00%,0h34m left line=263739",
    "command": "push_info",
    "sequence_id": "80550"
  }
}
01/22/2023 6:14:41 PM 
{"mc_print":{"param":"[AMS][TASK]tray_exist:0x0;tray_read_done:0x0,vailed:0x0,reading:0x0","command":"push_info","sequence_id":"80575"}}
01/22/2023 6:14:41 PM(-0 seconds) 
{"mc_print":{"param":"[AMS][TASK]ams num:0,ams_exist:0x0,tray_now: 255","command":"push_info","sequence_id":"80574"}}
01/22/2023 6:14:41 PM(-0 seconds) 
{"mc_print":{"param":"[AMS][Period]:len=0.000m;buf=0.00;hall_e=20mV,cut=1547mV","command":"push_info","sequence_id":"80573"}}
01/22/2023 6:14:41 PM(-0 seconds) 
{"mc_print":{"param":"[AMS][Period]:bldc_i=0.00,u=0.00,spd=0.00;dw_spd=0.00;bdc_i=0.00,u=0.00,spd=0.00","command":"push_info","sequence_id":"80572"}}
3 Likes