MQTT Esp security credentials

I Zerynth team,
I've a nodemcu v2 board, and I would like create a MQTT connection with a broker. The Broker credentials are clientid, username and password.
I've read mqtt library doc, and there is no methods that allow me to set password and username for connection. Isn't it true?How can i do?


  • Hello Cosimo,
    unfortunately I forgot to document the
    my_client.set_username_pw(username, password)
    method  :o
    We will fix as soon as possible,
    anyway you can call this method before
    Let me know if everything works :smile:
    Lorenzo Rizzello
    Zerynth Support Team

Sign In or Register to comment.

ZERYNTH Community

@ 2016, all rights reserved.