Replies: 3 comments 2 replies
-
|
It clearly is a feature request to have an additional topic that combines Suggested topic
|
Beta Was this translation helpful? Give feedback.
-
|
I 100% agree. This has been bugging me for a while too. Please create a pull request to do this :-) IIRC this would need adding a new field to the summary struct: https://github.com/teslamate-org/teslamate/blob/master/lib/teslamate/vehicles/vehicle/summary.ex#L8 And then generate the field here: I believe all fields in the summary struct then automatically get sent using mqtt. Although take note we don't publish nil values unless they are in the Also ideally need to update |
Beta Was this translation helpful? Give feedback.
-
|
Question: What is the best output encoding? comma separated values? Or maybe json? Or something else? Don't particularly care, whatever is easiest to parse I guess. Less likely to confuse latitude/longitude with json, but the size of the data increases also. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there an existing issue for this?
What happened?
Each time the car's location updates, longitude and latitude are published as individual messages, which means every consumer of this data needs to implement synchronization logic to not mix old longitudes with new latitudes and vice versa.
Expected Behavior
I would like to see the location published in a single message. Splitting lat/lon with a comma or a space would be easier to deal with.
Steps To Reproduce
No response
Relevant log output
Screenshots
No response
Additional data
No response
Type of installation
Docker
Version
1.22.0
Beta Was this translation helpful? Give feedback.
All reactions