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

v0.24 Installs but Fails at WeeWX Startup (paho-mqtt update to v2 is the culprit) #42

Open
gary-hammer opened this issue Feb 11, 2024 · 3 comments

Comments

@gary-hammer
Copy link

I just installed WeeWX 5.02 using pip and venv into a new Debian 12 instance.
After running the simulator driver for a cycle, I deleted the HTML and archive.
With the venv activated with the proper user, I installed weewx-mqtt using
"weectl extension install https://github.com/matthewwall/weewx-mqtt/archive/master.zip"

Edited the weewx.conf for the proper values, saved then started weewx.
I get the errors shown in the attached file, weewx-mqtt-deb12-4-error.txt. No MQTT values are ever sent to my mosquitto server of course.
This extension did work under the alphas, betas, and RCs

weewx-mqtt-deb12-4-error.txt

@gary-hammer
Copy link
Author

Enabling the venv and downgrading paho-mqtt solves the issue. This extension doesn't like paho-mqtt 2.0.0 it seems. Or vice versa
pip install paho-mqtt==1.6.1

@gary-hammer gary-hammer changed the title v0.24 Installs but Fails at WeeWX Startup v0.24 Installs but Fails at WeeWX Startup (paho-mqtt update to v2 is the culprit) Feb 11, 2024
@baudfather
Copy link

Thanks for this @gary-hammer - had the same issue. @matthewwall is a new release possible to support the current paho-mqtt? At the very least a note in the readme.md file to install the specific version for new installs.

@baudfather
Copy link

@matthewwall Are there any plans to update this extension to support paho-mqtt 2.0.0?

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