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

Confusion in README.md in the "very simple JSON-formatted messages" support between single and double quotes #25

Closed
reind33r opened this issue Sep 21, 2021 · 1 comment

Comments

@reind33r
Copy link

Hi !

Just to let you know that the in the JSON message sent over MQTT, the key must be enclosed in double quotes and not single quotes (as it is written in the README.md). Messages with single quotes aren't recognised by the plugin at all, and it can be painful to debug such a simple mistake... especially since it's mentionned that it's the only supported format. People might want to adhere strictly to it. (no no no, it didn't happen to me 0:) )

If you could make it clearer the README.md, it might save some time to other users!

Sincerely,

Louis

atifali added a commit that referenced this issue Oct 5, 2021
@atifali
Copy link
Contributor

atifali commented Oct 5, 2021

Thank you so much for reporting this Louis. Fixed now in: https://github.com/grafana/mqtt-datasource/blob/main/README.md#known-limitations

@atifali atifali closed this as completed Oct 5, 2021
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

2 participants