jim-easterbrook / pywws

Python software for USB Wireless WeatherStations
https://pywws.readthedocs.io/
GNU General Public License v2.0
204 stars 62 forks source link

new version of paho-mqtt breaks mqtt messaging within pywws #116

Open rick165 opened 6 months ago

rick165 commented 6 months ago

It seems the new version of paho-mqtt (v2.0.0) breaks the mqtt messaging within pywws.

pywws.service.mqtt:Unsupported callback API version: version 2.0 added a callback_api_version, see migrations.md for details Work around is to install v1.6.1 of paho-mqtt

sudo pip install paho-mqtt==1.6.1

GeekyTim commented 1 month ago

I'll put that on my list to fix, alongside the self-cert issue.

GeekyTim commented 1 month ago

I've got a REALLY simple fix to this paho-mqtt version issue, as well as allowing self-certs. I'll send a pull request once I've tested a few more things.