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

Cannot connect 2 devices simultaneously #3112

Open
sunsetseatime opened this issue Sep 20, 2024 · 6 comments
Open

Cannot connect 2 devices simultaneously #3112

sunsetseatime opened this issue Sep 20, 2024 · 6 comments

Comments

@sunsetseatime
Copy link

sunsetseatime commented Sep 20, 2024

Im having an issue connecting mosquito to two devices. One works fine but cant get it to communicate with the other entity.
It currently works fine with solar assistant. It was working fine with Frigate however it doesn't seem to connect with frigate anymore.
Im running home assistant OS with everything up to date.
I cant seem to find any documentation on how to setup mosquito to communicate with more than one entity. This would be very helpful. Thank you

@sunsetseatime sunsetseatime changed the title Cannot connect or i2 devices Cannot connect 2 devices simultaneously Sep 20, 2024
@ptjm
Copy link

ptjm commented Sep 22, 2024

You're not giving a lot of information here. Look for error information in the mosquitto logs. You might want to try running mosquitto in verbose mode (-v flag) while you're debugging the issue.

Taking a wild guess based on the use of "simultaneously" in the topic, make sure that each of your clients is using a unique client ID. User IDs can be shared, but mosquitto will allow only one simultaneous connection for a given client ID.

@sunsetseatime
Copy link
Author

Thank you for the response. The issue is there is no documentation on how to set this up in home assistant. Perhaps im looking in the wrong place here

@Daedaluz
Copy link
Contributor

Daedaluz commented Oct 6, 2024

I'm not sure if this ever was solved, but without more information on what you have tried / trying to do / logs or something I don't think this issue will move forward.
Could we close or do you want more help?`

@sunsetseatime
Copy link
Author

I'm not sure if this ever was solved, but without more information on what you have tried / trying to do / logs or something I don't think this issue will move forward. Could we close or do you want more help?`

I'm having an issue connecting mosquito to two devices. One works fine but cant get it to communicate with the other entity.
It currently works fine with solar assistant. It was working fine with Frigate however it doesn't seem to connect with frigate anymore.
Im running home assistant OS with everything up to date.
I cant seem to find any documentation on how to setup mosquito to communicate with more than one entity. This would be very helpful. Thank you

@ralight
Copy link
Contributor

ralight commented Oct 8, 2024

The most common reason for this is that two different clients are connecting with the same client id. I'm afraid I don't know about that in the context of homeassistant though.

@sunsetseatime
Copy link
Author

The most common reason for this is that two different clients are connecting with the same client id. I'm afraid I don't know about that in the context of homeassistant though.

Makes sense. I think this is more related to home assistant and how to set it up there. Wonder where i couls get this sorted

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

4 participants