-
Notifications
You must be signed in to change notification settings - Fork 986
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
Switch to actually maintained thingsboard pubsubclient #5204
base: master
Are you sure you want to change the base?
Conversation
Did not work out of the box. Marking as draft :-( |
I read the background and it does look like this is the one to move to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move forward with this and make it work :-)
https://github.com/thingsboard/pubsubclient/releases/tag/v2.11.0 fixed an issue with sending the credentials in the initial connection. Maybe this works now? It passed all the unit tests from #5724 and seems to be working on my heltec-v3 with my local MQTT server. I'll send them a PR and see if we can make some of the methods virtual, for use in those tests. |
Our MQTT library of choice is without a maintainer and hasn't been updated in 4 years. Pretty depressing thread:
knolleary/pubsubclient#1045
Thingsboard has taken up the most involved fork of this and seems to have already integrated some good changes, even as recent as 2 weeks ago.