Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenMQ conflict if used in two different HomeAssistant integrations #78

Open
rospogrigio opened this issue Sep 30, 2023 · 2 comments
Open

Comments

@rospogrigio
Copy link

rospogrigio commented Sep 30, 2023

Hi, I am facing an issue using OpenMQ. I am trying to use it in a custom integration I am developing, and I am using the official Tuya Integration at the same time.
What I am experiencing is that I have set a message listener with the openmq.add_message_listener command, but at that point, I see that some status messages are received by the official Tuya Integration's listener, and some by my integration's one: they keep stealing the messages to each other, leading to having non-consistent status for the devices in both integrations.
Note that, if I launch the same code in a script (outside HomeAssistant) at the same time, it works perfectly and receives all the messages (that are divided between the two Integrations in HomeAssistant).
So, questions:

  • is this an expected behavior or is it a bug?
  • in any case, how can I overcome it and have both Integrations receive all the messages?

Thank you

@rospogrigio
Copy link
Author

Hi, is anyone reading these Issues? Can anyone provide feedback on what I have reported?
Thank you

@azerty9971
Copy link

Hello,
That is strange, I'm in the same scenario as you and I don't have the issue...

Did you manage to find a solution? Want some help?

Have a nice day,
Azerty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants