-
Notifications
You must be signed in to change notification settings - Fork 17
Description
It would be great if it was possible to login to the mqtt server with username and password. I plan on implementing the printer in HomeAssistant for basic monitoring and control. For now I switched to MQTT with anonymous login but it would be best if it was possible to have credentials because default MQTT broker for HA does not allow anonymous login.
Since I dont know enough about python I told the latest ChatGPT Model to implement login with credentials but it does not work. I get this:
Sent 1 packets. 15:52:05,68 INFO: Sent MQTT connection command to printer at 192.168.1.102:3000 with username and password.
but in reality the server never received a request from this IP. Trying to login without credentials there is at least a log entry for a failed attempt.
I'll include the modified files for you in case that helps.
Thank you very much for sharing this project!!