Just in case someone is curious how to establish the connection using an MQTT client, here are some screenshots from MQTTX client:
So it’s quite easy. After the coming firmware update it will probably require you to set printer to “Lan only” mode to make this work.
Possible commands are following…
Start printing 3mf file (which is already on the SD):
{
"print": {
"command": "project_file",
"url": "file:///sdcard/your_file_name.gcode.3mf",
"param": "Metadata/plate_1.gcode",
"subtask_id": "0",
"use_ams": false,
"timelapse": false,
"flow_cali": false,
"bed_leveling": true,
"layer_inspect": true,
"vibration_cali": false
}
}
Run GCODE lines:
"print": {
"command": "gcode_line",
"param": "
G0 X10 ; \n
...
G0 X20 ; \n
",
"sequence_id": "0"
}
}
Stop print
{
"print": {
"command": "stop",
"param": "",
"sequence_id": "20917",
"reason": "success",
"result": "success"
}
}
Pause print
{
"print": {
"command": "pause",
"sequence_id": "0"
}
}
Resume printing:
{
"print": {
"command": "resume",
"sequence_id": "0"
}
}
set speed:
{
"print":{
"sequence_id":"2004",
"command":"print_speed",
"param":"1"
},
"user_id":"1234567890"
}
Turn light ON/OFF
{
"system": {
"sequence_id": "0",
"command": "ledctrl",
"led_node": "chamber_light",
"led_mode": "on",
"led_on_time": 500,
"led_off_time": 500,
"loop_times": 0,
"interval_time": 0
}
}
{
"system": {
"command": "ledctrl",
"led_node": "chamber_light",
"led_mode": "on"
}
}


