live-telemetry icon indicating copy to clipboard operation
live-telemetry copied to clipboard

HTTP with JSON or UDP with Binary interface implementation

Open mime29 opened this issue 5 years ago • 11 comments

As a discussion, I would like to know if some people are interested in having a network interface to be able to display all the telemetry on wireless devices such as smartphones? If yes, what would be the preference from the main developers json for easy decoding or udp + binary (similar to ACTI eventually)?

mime29 avatar Jun 03 '20 01:06 mime29

The connection protocol does not define the data within, it could send a JSON data in a UDP package.

albertowd avatar Jun 03 '20 01:06 albertowd

yes, that is correct. Is it a functionality that would be interesting for anybody?

mime29 avatar Jun 03 '20 05:06 mime29

I was thinking making a simple executable that reads the CSV files (engine and tires) and returns the latest data when a client request them

mime29 avatar Jun 03 '20 10:06 mime29

I could place a UDP config window to send broadcast data, so any program on the network can receive the package.

albertowd avatar Jun 03 '20 16:06 albertowd

One other thing: there is the OBD-II standards to send vehicle data, it could be useful to make compatible with the game data to use on already developed telemetry software.

albertowd avatar Jun 03 '20 16:06 albertowd

With this specifications, I can implement the default ones and add new data types to the not used codes left in the protocol.

https://en.wikipedia.org/wiki/OBD-II_PIDs

albertowd avatar Jun 04 '20 03:06 albertowd

This is interesting but I don't see tires information in there neither suspensions data. Other than that I think it's a really good idea. And correct me if I'm wrong but I think that if you want to have a complete set of information, you might need to add the gear in your data set. I didn't see that data from your reposition.

Amazing, man!

mime29 avatar Jun 04 '20 07:06 mime29

This is interesting but I don't see tires information in there neither suspensions data. Other than that I think it's a really good idea. And correct me if I'm wrong but I think that if you want to have a complete set of information, you might need to add the gear in your data set. I didn't see that data from your reposition.

Amazing, man!

I do not use any gear in my app data, but it's possible to add it to the log file. There is much more information in the game API to fetch in real time.

albertowd avatar Jun 04 '20 07:06 albertowd

Sounds good to me. One optional question in the side if you don't mind, do you do that all for free? How do you get paid for your amazing work?

mime29 avatar Jun 05 '20 09:06 mime29

Sounds good to me. One optional question in the side if you don't mind, do you do that all for free? How do you get paid for your amazing work?

This app I build by myself as a hobby and to my friends that practice more than I to use. But I've already made other private AC plugins, if you're interested in hire me. ;)

I'm a software architect, so for me is a pleasure to code when I'm at home at this time of chaos...hehe

albertowd avatar Jun 05 '20 16:06 albertowd

I totally get it, I just wish there was a way to tip developers for all hours spent on such a project. Donation don't really work with paypal and making paid apps refrain some people to use the software ^^ In any case, I'm not sure yet about what to do with the udp interface. I know that some other apps like Project Cars 2 on console, F1 2018 have pre-made formats for UDP. So I assume that it would be easy to connect with existing smartphone dashboards if the format was following one of those games. I saw apps like RS Dash on ios that support those format. If you make an easy to implement interface, I'm ok to do an iOS version to display the telemetry data (free or paid). A designer would be welcome to deliver some sexy UI that I could implement.

I've already built one app (that is not on the store yet) using ACTI UDP interface but it doesn't offer enough real-time technical data to my taste.

mime29 avatar Jun 06 '20 13:06 mime29