FWIW 
Successfully ran integration tests on Ubuntu 22, python 3.12 with paho-mqtt 
v2.0.0 and v1.6.1.

On Sunday 11 February 2024 at 16:49:25 UTC-5 bell...@gmail.com wrote:

> I've pretty much settled on this approach. Minimally tested
>
>         try:
>             callback_api_version = mqtt.CallbackAPIVersion.VERSION1
>             self.client = 
> mqtt.Client(callback_api_version=callback_api_version,
>                                     client_id=mqtt_options['clientid'],
>                                     userdata=self.userdata,
>                                     
> clean_session=mqtt_options['clean_session'])
>         except AttributeError:
>             self.client = mqtt.Client(client_id=mqtt_options['clientid'],
>                                     userdata=self.userdata,
>                                     
> clean_session=mqtt_options['clean_session'])
>
> rich
> On Sunday 11 February 2024 at 15:21:58 UTC-5 matthew wall wrote:
>
>> On Sunday, February 11, 2024 at 1:37:20 PM UTC-5 bell...@gmail.com wrote:
>>
>> It currently will not work with paho mqtt 2.0.0 or higher.
>>
>>
>> rich, i too am interested in what you learn, as i will probably have to 
>> update weewx-mqtt as well. m
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/9a43f501-7476-4065-be9d-05e1ba6c2a03n%40googlegroups.com.

Reply via email to