Show normalized payload in the Console #5758
Labels
c/console
This is related to the Console
in progress
We're working on it
needs/ux
This needs UX design / approval
Milestone
Summary
Show normalized payload in the Console
References #5752 (review)
Current Situation
The new
normalized_payload
field inApplicationUplink
andApplicationNormalizedUplink
contain a known data schema: JSON Schema and documentation.There is now very basic support for showing
air
andwind
(425b41a), showing values as JSON.The payload code editor shows
normalized_payload{_warnings}
as returned fields, but not as prominently as decoded uplink data.Why do we need this? Who uses it, and when?
I think it would be good UX to show normalized payload if it's available.
Proposed Implementation
Low hanging fruit would be to show the normalized payload nicely in the payload editor. This would need its own code editor. If the normalized payload is present, it might be shown more prominent than decoded payload (but one does not replace the other).
What would be nice in the event view, is to show the values nicely. For example:
Air: 25.4 ℃, wind: 4 bft (NNE)
(if thenormalized_payload
were to contain{"air":{"temperature":25.4},"wind":{"speed":6.1,"direction":15}}
.Cherry on the pie would be to render temperature graphs based on historical data retrieved from the storage integration. We still don't want to be come an IoT platform, so this is a sliding edge, but it would be cool.
Contributing
Code of Conduct
The text was updated successfully, but these errors were encountered: