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

Avoid leading slash in default MQTT topics #208

Closed
xoseperez opened this issue Sep 7, 2017 · 2 comments
Closed

Avoid leading slash in default MQTT topics #208

xoseperez opened this issue Sep 7, 2017 · 2 comments

Comments

@xoseperez
Copy link
Owner

Originally reported by: Sven Kopetzki (Bitbucket: TriCX, GitHub: TriCX)


According to HiveMQ MQTT Essentials the use of a leading forward slash should be avoided.

... It is allowed to use a leading forward slash in MQTT, for example /myhome/groundfloor/livingroom. But that introduces a unnecessary topic level with a zero character at the front. That should be avoided, because it doesn’t provide any benefit and often leads to confusion.
...

May I request to change the default MQTT topic generation without leading "/"?
It is also in conflict with most of the other home automatisation frameworks out threre.

Thanks!

@xoseperez
Copy link
Owner Author

As of 1.9.6 default base topic is "{identifier}" without leading slashes

@xoseperez
Copy link
Owner Author

Removing milestone: 1.9.6 (automated comment)

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

No branches or pull requests

1 participant