DYI tracker

Leif Neland3 years ago

I have ordered a esp8266 GSM/GPRS/GPS/Wifi-board, and want to create a tracker.
Besides the GPS location, I want to have bidirectional communication, to set relays for motor inhibition, supplementary heater, and to measure temperature, battery voltage etc.

Has this been done before, any code available?

What protocol could I use? A protocol that also allows getting data and sending commands besides the location?

I use to use mqtt to send and receive data from ESP iot-devices. I guess I could send all data including location over mqtt to node-red, and then let node-red send data to traccar.

Anton Tananaev3 years ago

You can use one of the protocols from here:

https://www.traccar.org/protocols/

Leif Neland3 years ago

Yeah, but some are bidirectional, some not, and some easier than others.
But no recommendation, I guess.

Anton Tananaev3 years ago

Well, someone had to look through the protocols to see if everything you want is supported. And you haven't even listed all the featured you need:

measure temperature, battery voltage etc

What is "etc"? It can be anything.