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

Add configuration key for MQTT client ID #220

Merged
merged 1 commit into from
Aug 15, 2020

Conversation

kpfleming
Copy link
Contributor

The id key in the mqtt section of the configuration can be used to
supply a unique ID for each service instance.

When multiple insteon-mqtt services are connected to the same MQTT broker,
they could be configured to use separate topics, but not separate client IDs.
This resulted in the broker breaking the connections as the services connected
and reconnected.

The `id` key in the `mqtt` section of the configuration can be used to
supply a unique ID for each service instance.

When multiple insteon-mqtt services are connected to the same MQTT broker,
they could be configured to use separate topics, but not separate client IDs.
This resulted in the broker breaking the connections as the services connected
and reconnected.

Signed-off-by: Kevin P. Fleming <[email protected]>
@TD22057 TD22057 merged commit cdc0099 into TD22057:dev Aug 15, 2020
@TD22057
Copy link
Owner

TD22057 commented Aug 15, 2020

Thanks. I'm going to add a commented out id input in the sample config.yaml file. That's the only doc's for the yaml entries right now - otherwise no one will know that this option exists. I'll also add this into the release notes.

@kpfleming
Copy link
Contributor Author

You're very welcome! This project is fantastic, I've got two instances running on my network now (house and garage, using 2413U PLMs) and it's fast and easy to configure.

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

Successfully merging this pull request may close these issues.

2 participants