Community discussions

MikroTik App
 
majdichebil
just joined
Topic Author
Posts: 6
Joined: Mon Nov 08, 2021 9:03 am

Transfer GPS data over MQTT or HTTPS

Mon Nov 29, 2021 5:37 pm

Hello everyone,

I want to write a script that has the ability to send GPS data (Results of "system gps monitor").
The idea I got is to save the result of this command "system gps monitor" in a file and then send that file to the cloud(AWS in my case) but actually I haven't found a way to do that.

Any help? or any idea to send the GPS data to the cloud?


Thank you very much
 
spynappels
Member Candidate
Member Candidate
Posts: 106
Joined: Mon Oct 25, 2021 12:32 pm
Location: Northern Ireland
Contact:

Re: Transfer GPS data over MQTT or HTTPS

Mon Nov 29, 2021 5:50 pm

Have a look at https://help.mikrotik.com/docs/display/ROS/MQTT

It can publish, so you should be able to write a script which does what you want, not store values locally but publish them directly when you trigger the script.

Who is online

Users browsing this forum: No registered users and 14 guests