Skip to content

Conversation

@unlifelike
Copy link

When URI_MAC=true, value returned from function name_uri appends the MAC suffix as uppercase to an otherwise lowercase camera name (e.g., backyard-camera-ABCD). This results in "duplicate" MQTT endpoints; one with a lowercase and one with an uppercase MAC suffix, causing MQTT commands to fail. This fixes changes the function so that the return result will be entirely lowercase.

Resolves: #1382

BREAKING CHANGE:

URI change to all lowercase for consistency with current conventions

Users whose config includes URI_MAC=true will need to update URIs

When URI_MAC=true, value returned from function name_uri appends the 
MAC suffix as uppercase to an otherwise lowercase camera name (e.g., 
backyard-camera-ABCD). This results in "duplicate" MQTT endpoints; 
one with a lowercase and one with an uppercase MAC suffix, causing 
MQTT commands to fail. This fixes changes the function so that the 
return result will be entirely lowercase.

Resolves: mrlt8#1382

BREAKING CHANGE: 

URI change to all lowercase for consistency with current conventions

Users whose config includes URI_MAC=true will need to update URIs
@IDisposable
Copy link

Since mrlt8 has been busy of late, I created a fork and merged the PR changes that have been pending for a while. Not trying to steal thunder, but I needed a stable source for updates.

The repo does all the Docker Hub publishing and everything, so feel free to click the ADD ADD-ON REPOSITORY button in the repo or grab the new docker image from here

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.

BUG: URI_MAC attribute causing multiple MQTT endpoints

3 participants