question

Geert-2090 avatar image
0 Votes"
Geert-2090 asked Maak-5931 commented

Teltonika FMB003

We would like to test Azure IoT Hub as an alternative to Flespi. We are testing a few Teltonika FMB003 devices and are a bit stuck on how to get the devices to send data to the Azure IoT Hub.

Any tips, hints would be much appreciated.

azure-iot-hub
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@Geert-2090 Did you get a chance to see Sander's suggestions below?

If an answer is helpful, please "Accept answer" or "Up-Vote" for the same which might be beneficial to other community members reading this thread.

0 Votes 0 ·

1 Answer

SandervandeVelde42 avatar image
0 Votes"
SandervandeVelde42 answered Maak-5931 commented

Hello @Geert-2090 ,

It seems you are referencing these OBD Tracker with Bluetooth and GPS technology. It seems capable to send messages to a central server using GPRS.

I've seen similar solutions where data sent to an HTTPS endpoint. Check out how to set up a 'bridge' between device and the SaaS version of IoT Hub, IoT Central. Additional message conversions could be needed because the device sends out messages in a specific format.

In case you want to use Bluetooth, you need a device that is capable of making the Bluetooth connection and can send incoming data as messages to the IoTHub.

This could be a mobile device or a constraint device.

Check out this collection of Azure IoT modules for Azure IoT (hands-on) training on MS Learn.


· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

It is indeed an OBD2 Tracker and yes, it sends data via GPRS using an IoT SIM card. We are currently testing the device on the Flespi IoT Hub (https://flespi.com) as they had an easy onboarding https://flespi.com/blog/configuring-teltonika-devices-with-flespi

We wondered how difficult it would be to point to the FMB003 OBD2 Tracker to Azure IoT Hub instead.

I will have a look at the "bridge" thing you mentioned. Do you know of a similar OBD2 Azure IoT Device Template?


0 Votes 0 ·

Hello @Geert-2090,

The example you provide shows a web UI where all the heavy lifting is done already.

Microsoft provides a generic solution so it's up to you to connect the dots.

99159-image.png

From what I see, the device just sends out a message in the JSON format:

So, the Azure Function (written in NodeJS) needs some logic to transform the incoming messages to the format accepted by IoT Central.

It should look like this:

99160-image.png

Regards,

Sander


0 Votes 0 ·
image.png (94.8 KiB)
image.png (7.6 KiB)

Hello @Geert-2090 ,

I am looking to the same answer now. Did you manage to make it work with Teltonika telematic device and saw data on IoT HUB?

0 Votes 0 ·