stlehmann / Flask-MQTT

Flask Extension for the MQTT protocol
MIT License
207 stars 71 forks source link

Connect to multiple MQTT Servers #143

Closed MattiaudaNicolasCN closed 1 year ago

MattiaudaNicolasCN commented 1 year ago

Hi guys,

I would like to ask you when will be available the possibility of connect to multiple MQTT Servers because in the Github README I have seen it but in the release version i'm not able to do it yet. Or How could I use it?

Thank you for your time!

Sohaib90 commented 1 year ago

Have you tried using the latest release (1.1.2) from the repository?

https://github.com/stlehmann/Flask-MQTT/tree/1.1.2

MattiaudaNicolasCN commented 1 year ago

Yes but there is no parameter called config_prefix when initializing Mqtt(), so I couldn'use it with multiple MQTT Servers

Sohaib90 commented 1 year ago

Oh yes I see that the latest release does not include the functionality of connecting to multiple MQTT servers. I will rectify that and make a new release soon :)

Thank you for pointing it out

MattiaudaNicolasCN commented 1 year ago

Ok perfect thank you, I'll wait for the new release! 😄

MattiaudaNicolasCN commented 1 year ago

Any update?

Sohaib90 commented 1 year ago

Apologies for the delay. I was stuck with some work and havent been active lately. I will do it soon :)

Sohaib90 commented 1 year ago

@MattiaudaNicolasCN

I have released a new version 1.2.0 Check it out and see if everything is up to date and working. Otherwise, create a pull request and I will review it :)