1

Adding custom sensor data to a WiaTag tracked vehicle

Тема: Adding custom sensor data to a WiaTag tracked vehicle

We have a vehicle tablet system running Android 9.0 with WiaTag currently doing the tracking. This is working really well.

We want to capture OBD2 and other external sensor data via RS485 etc, via a custom external application that runs as a service on the same device.

How do we send data to Wialon so that it appears as part of the data for the same vehicle? We are using the IMEI of the device as the unique ID.

Ha ha, very funny Scotty, now beam down my clothes.
2

Adding custom sensor data to a WiaTag tracked vehicle

Re: Adding custom sensor data to a WiaTag tracked vehicle

Hello, you may send data to the Wialon platform with the help of WiatagKit.

3

Adding custom sensor data to a WiaTag tracked vehicle

Re: Adding custom sensor data to a WiaTag tracked vehicle

Oleg Poroshin пишет:

Hello, you may send data to the Wialon platform with the help of WiatagKit.

Perfect, that should work just fine. I'll give it a try this week.

Ha ha, very funny Scotty, now beam down my clothes.
4

Adding custom sensor data to a WiaTag tracked vehicle

Re: Adding custom sensor data to a WiaTag tracked vehicle

V8dave пишет:

We want to capture OBD2 and other external sensor data via RS485 etc, via a custom external application that runs as a service on the same device.

Which application do you want to use?

5

Adding custom sensor data to a WiaTag tracked vehicle

Re: Adding custom sensor data to a WiaTag tracked vehicle

kalaschnikow пишет:

[
Which application do you want to use?

It is a custom in-house developed app to collect data from Modbus pressure sensors.

Ha ha, very funny Scotty, now beam down my clothes.
6

Adding custom sensor data to a WiaTag tracked vehicle

Re: Adding custom sensor data to a WiaTag tracked vehicle

V8dave пишет:

It is a custom in-house developed app to collect data from Modbus pressure sensors.

Thank you for your answer, V8dave.
I'm also using an OBD2 library  for one of my Android applications. But this library is not in active development any more. Since a couple of years. So I'm searching for a replacement. Could you recommend some library which can help to read OBD2 data?

7

Adding custom sensor data to a WiaTag tracked vehicle

Re: Adding custom sensor data to a WiaTag tracked vehicle

I got this one to work after modifying the setup commands to remove the timeout setting.

This works with both V1.5 and V2.1

https://github.com/md-sohrab-alam/android-obd-reader

I installed it as part of my app instead of using the gradle option as I needed to modify it.

I've only tested with a Freematics OBD2 Simulator and will soon test with a real car next week.

Ha ha, very funny Scotty, now beam down my clothes.
8

Adding custom sensor data to a WiaTag tracked vehicle

Re: Adding custom sensor data to a WiaTag tracked vehicle

Thank you, V8dave!