We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This feature enables re-publishing metrics of Sparkplug Data messages to dedicated topics.
When receiving a data message on spBv1.0/DairyPlant/NDATA/Refrigeration each metric will be republished on a corresponding topic:
spBv1.0/DairyPlant/NDATA/Refrigeration
{ "timestamp": 1486144502122, "metrics": [{ "name": "Inputs/Temperature", "timestamp": 1486144502122, "dataType": "Float", "value": 29.2 }, { "name": "Inputs/Humidity", "timestamp": 1486144502122, "dataType": "Float", "value": 55.9 }], "seq": 0 }
The first metric will be published on spBv1.0/DairyPlant/NDATA/Refrigeration/Inputs/Temperature:
spBv1.0/DairyPlant/NDATA/Refrigeration/Inputs/Temperature
{ "name": "Inputs/Temperature", "timestamp": 1486144502122, "dataType": "Float", "value": 29.2 }
The second metric will be published on: spBv1.0/DairyPlant/NDATA/Refrigeration/Inputs/Humidity
spBv1.0/DairyPlant/NDATA/Refrigeration/Inputs/Humidity
{ "name": "Inputs/Humidity", "timestamp": 1486144502122, "dataType": "Float", "value": 55.9 }
The text was updated successfully, but these errors were encountered:
Merge pull request #19 from hivemq/feature/metric-2-topic
18204c8
#18 Feature/metric 2 topic
skobow
Successfully merging a pull request may close this issue.
This feature enables re-publishing metrics of Sparkplug Data messages to dedicated topics.
When receiving a data message on
spBv1.0/DairyPlant/NDATA/Refrigeration
each metric will be republished on a corresponding topic:The first metric will be published on
spBv1.0/DairyPlant/NDATA/Refrigeration/Inputs/Temperature
:The second metric will be published on:
spBv1.0/DairyPlant/NDATA/Refrigeration/Inputs/Humidity
The text was updated successfully, but these errors were encountered: