-
Notifications
You must be signed in to change notification settings - Fork 72
Measurement with unit - C8y mapper #3243
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Sending measurements with units does not work correctly for Cumulocity. The measurement is transmitted and displayed in Cumulocity, but the units do not appear on the graph.
To Reproduce
- Simply create a device and set the unit of e.g. temperature.
tedge mqtt pub -r 'te/device/test///m/environment/meta' '{
"units": {
"tavg": "°C"
}
}'- Then, publish some data:
tedge mqtt pub -r 'te/device/test///m/environment' '{
"time": "2024-11-12T20:00:00",
"tavg": 32
}'The temperature value is displayed as expected, but without any units.
Expected behavior
The units should be displayed alongside the data.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working