Open zsoltmazlo opened 6 years ago
As @hegyibalint pointed out, to discuss this issue it's enough to request review with tagging users a comment, thus all unnecessary assignment was removed and hereby I'm requesting review from the following users: @hegyibalint @imbur @baloghlaszlo @benedekh.
New json message added on "\modes3\locomotives" mqtt channel.
{ "sender": "sensor02", "time": 100, "locomotive": "Vagon", "length": 15.1454, "speed": 29.88464, "unit": "cm" }
In this wiki page, the messages are sent individually for each train and wagon, which is a difficult task to collect in a receiver component. Thus, I'm suggesting the following format:
Message format:
Wagon object:
An example message when a Taurus locomotive with two Red wagon passed by the sensor (disclaimer: the example data might not be real):
This message format is open for discuss, please, comment on this issue if you have any ideas.