weewx-mqtt
weewx-mqtt copied to clipboard
v0.24 Installs but Fails at WeeWX Startup (paho-mqtt update to v2 is the culprit)
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
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
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.
@matthewwall Are there any plans to update this extension to support paho-mqtt 2.0.0?