Skip to content
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 - Unsupported callback API version: version 2.0 added a callback_api_version #560

Open
MiRoCZ opened this issue Feb 20, 2024 · 2 comments

Comments

@MiRoCZ
Copy link

MiRoCZ commented Feb 20, 2024

Hello @RichieB2B,

I finally moved forward with clean manual instalation of the main branch, but getting following error when MQTT enabled:

image

I found this article - https://stackoverflow.com/questions/77984857/paho-mqtt-unsupported-callback-api-version-error

Is the error caused on my side or there is a need to modify instalation towards new 2.0 version as mentioned by comment in the article - "Release 2.0.0 of the Paho Python MQTT includes breaking changes; this means that code written for v1.x will not work without some (minimal) modifications. As v2.0.0 was only released a few days ago (11th Feb 2024) most examples"

Thank you for your time and response.
Have a nice day.

@RichieB2B
Copy link

RichieB2B commented Feb 20, 2024

We will fix MQTT in TWCManager, but for now you can downgrade your MQTT python library manually using:

pip3 install -U 'paho-mqtt<2.0.0'

@MiRoCZ
Copy link
Author

MiRoCZ commented Feb 20, 2024

We will fix MQTT in TWCManager, but for now you can downgrade your MQTT python library manually using:

pip3 install -U 'paho-mqtt<2.0.0'

Ok, thank you. I run sudo pip3 install -U 'paho-mqtt<2.0.0' and MQTT is OK now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants