I have issue setting up this plugin. After digging into the logs it appears that MQTT gets quickly disconnected after a few seconds and and the CrealityCloud App shows the printer as offline while it's actually connected and functioning.
The respective error in the logs is
2022-05-15 10:33:07,364 - tb_device_mqtt - DEBUG - Disconnected client: <paho.mqtt.client.Client object at 0x6f9ff4f0>, user data: None, result code: 7
The only way to initiate the connection is to restart the OctoPrint server, but it gets disconnected again after a few seconds.
I have issue setting up this plugin. After digging into the logs it appears that MQTT gets quickly disconnected after a few seconds and and the CrealityCloud App shows the printer as offline while it's actually connected and functioning.
The respective error in the logs is
2022-05-15 10:33:07,364 - tb_device_mqtt - DEBUG - Disconnected client: <paho.mqtt.client.Client object at 0x6f9ff4f0>, user data: None, result code: 7
The only way to initiate the connection is to restart the OctoPrint server, but it gets disconnected again after a few seconds.