-
Notifications
You must be signed in to change notification settings - Fork 638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mqtt user #368
Comments
Client ID is set automatically by the firmware. Why do you want it to be the same as the user? |
Original comment by kiralikbeyin (Bitbucket: kiralikbeyin, GitHub: kiralikbeyin): I changed AsyncMqttClient.cpp file
Node server uses a logic: client id and mqtt user must be the same for esp devices. So i tried to make both the same, my last 12 hours passed with uploads but couldn't success. |
I would not change the AsyncMqttClient library, you can use the setClientId method to set it from the ESPurna firmware code, look for the setServer call in mqtt.ino and try adding the following line just after it:
|
Original comment by kiralikbeyin (Bitbucket: kiralikbeyin, GitHub: kiralikbeyin): ok thanks a lot. |
Original comment by kiralikbeyin (Bitbucket: kiralikbeyin, GitHub: kiralikbeyin): Please can you confirm holding 10 secs to son off dual main button restores to factory settings because i can't... |
If you have a DUAL version 1 then no, it won't work since the button is managed by the secondary microcontroller. It will work for the Dual R2. |
I have added an option in web UI to specify the client_id. It's now in the dev branch. |
Original comment by kiralikbeyin (Bitbucket: kiralikbeyin, GitHub: kiralikbeyin): yes i have v1. is there any alternative, how to restore factory settings dual v1? |
You can telnet to it and write "factory.reset" to remove all settings. |
Original comment by kiralikbeyin (Bitbucket: kiralikbeyin, GitHub: kiralikbeyin): Thanks a lot. |
Released with 1.11.4 |
Removing milestone: 1.11.4 (automated comment) |
Originally reported by: kiralikbeyin (Bitbucket: kiralikbeyin, GitHub: kiralikbeyin)
How to set mqtt user same with clientid?
The text was updated successfully, but these errors were encountered: