add proxy debug tool for bambu printers
This commit is contained in:
parent
62ed1e053a
commit
23a289e4fa
3 changed files with 218 additions and 1 deletions
|
|
@ -162,6 +162,10 @@ client.on("connect", () => {
|
|||
});
|
||||
});
|
||||
|
||||
client.on("error", (error) => {
|
||||
log("mqtt error", error);
|
||||
});
|
||||
|
||||
client.on("message", (topic, message) => {
|
||||
log(JSON.parse(message.toString()));
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue