Get an Arduino Device using Osmand protocol to cut-off a oil pump relay (i.e. react to Server Commands)

Leo5 years ago

Hi there,

I am implementing a TraccarClient in Arduino. I can get its position and other attributes shown in the Web interface using the Osmand protocol - which is great!

However, what would be the easier way to make it capable of reacting to Server Commands?

Do I need to implement a protocol that supports Commands just for that? If so, is there any open source code I could use or base my own code on?
Or is there a possibility of adding a response to the Osmand end point? Or an easy way of implementing a different end point just for that?

I am just trying to not reinvent the wheel... Osmand protocol is working great so far (and making my development really fast) so I don't know how to proceed now...

Thanks,

dagobar5 years ago

Hello.
Do you have a link with the project ?
I'm also interested.
Thanks

Leo5 years ago

The project is not open source dagobar, I am sorry.

In any case, a similar one that is open source and you might be interested is:
https://github.com/fortebit