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

Support for System Topic ($SYS) #105

Open
ssayebee opened this issue Jun 27, 2024 · 0 comments
Open

Support for System Topic ($SYS) #105

ssayebee opened this issue Jun 27, 2024 · 0 comments

Comments

@ssayebee
Copy link

I am trying to configure a dashboard using the $SYS/# topic.

Although there is support for special characters such as # and +, the $ character is still not supported, preventing me from subscribing to the $SYS/# topic.

resolvedTopic = resolvedTopic.replace(/\#/gi, '__HASH__');
const resolvedQuery: MqttQuery = {

I do not fully understand the source code, but I am aware that special character support for + and # is provided using the following trick:

+ -> __PLUS__
# -> __HASH__

I would like to request support for the $ character as well using __DOLLAR__.

Thank you for your efforts.

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

1 participant