Question: How to intregrate a Mqtt Client into Bleak #671
Unanswered
GitCodeMischer
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Which MQTT library are you using? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Hello, I have a question about how do I solve to integrate a Mqtt client make work in combination with the Bleak Library
What I Did
I try to connect it like this
when a message came from the mqtt client i try to connect every time with the Bleak Client async (that takes 4-7 seconds). I know that is not the right way but i dont`t know to stay connect once (global) and accessing it without reconnecting every time.
P.S i hope its correct to post Mqtt Client stuff here in a Bleak Issue.
Preciate your help or Solution
Beta Was this translation helpful? Give feedback.
All reactions