azure-iot-sdk-python icon indicating copy to clipboard operation
azure-iot-sdk-python copied to clipboard

Support paho.mqtt > 2.1.x

Open espenairmine opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe. We are currently developing a solution were we need to bridge from IoThub to a local mqtt broker, and would like to use aiomqtt to connect to the local mqtth broker (https://pypi.org/project/aiomqtt/)

Describe the solution you'd like Support for paho.mqtt >2.1.x in azure-iot-device: azure-iot-device 2.14.0 requires paho-mqtt<2.0.0,>=1.6.1, but you have paho-mqtt 2.1.0 which is incompatible.

Describe alternatives you've considered We can port the other code we have to paho 1.6.x, but aiomqtt provide a nice and clean (and simpler) approach

espenairmine avatar Sep 27 '24 20:09 espenairmine

Hi @espenairmine,

At this time we are not making any changes to this codebase unless they are stability or security related. Are you seeing any issues in Paho v1.6.1?

ryanwinter avatar Oct 15 '24 22:10 ryanwinter

Hi, can you please prioritize this upgrade ? From now Home assistant requires paho-mqtt >= 2.0, so all the HA integrations which rely on the library to access Azure cloud data (and there are many) are broken As an example : https://github.com/KaSroka/Toshiba-AC-control/issues/65, https://github.com/h4de5/home-assistant-toshiba_ac/issues/220

Thank you

albaintor avatar Mar 06 '25 09:03 albaintor

@albaintor Seems that you have to accept the license to have your pull request to be accepted.

xylone avatar Mar 10 '25 09:03 xylone