22.08.2024

Easy GPS broadcast on wordpress site

Свежие комментарии

No comments to show.

Recent Posts

Recent Comments

    How to Set Up GPS Broadcast on WordPress Website Using Plugins from GitHub
     

    Hello, friends!

    Today I will share with you a way to easily set up GPS broadcast on WordPress website using plugins from my GitHub repository. This process will help you to track your kids or employees in real time using data received from smartwatches or mobile devices.

     

    Why do you need it?
    Real-time location tracking is not only a trendy hobby, but also a practical necessity. I decided to do this to track my kids’ movements during their orienteering training. Using GPS broadcast, I can be sure that they are safe and do not deviate from the route.

     

    How does it work?
    You will need:

     

    Step 1: Installing the plugins
    First of all, download and install the plugins from my GitHub repository: 

    • Tracking Orient Plugins. You will find two main plugins there:
    • OwnTracks Data Receiver: This plugin receives location data and stores it in the WordPress database.
    • Tracking Live Display: This plugin displays the received data on your site in a table and on a map.
       

    1.1 Installing the plugins
    Go to the repository page and download the archive with the plugins.
    In the WordPress admin panel, go to Plugins > Add New.
    Click Upload Plugin and select the downloaded archive.
    Activate both plugins.
     

    Step 2: Configuring OwnTracks Data Receiver
    Once you have installed the OwnTracks Data Receiver plugin, you will need to configure it to receive data from your device.

    Go to Settings > OwnTracks Data Receiver in your WordPress dashboard.
    Make sure that all the necessary parameters are configured correctly. 

    The plugin will accept POST requests from your OwnTracks application and save the data to the database.
     

    Step 3: Setting up Tracking Live Display
    The Tracking Live Display plugin is responsible for visualizing data on your website.

    Go to Settings > Tracking Live Display.
    Configure the data display settings, such as refresh rate and presentation format.
     

    3.1 Using shortcodes
    To display data on the website, use the following shortcodes:

    Data table: Use the shortcode [display_live_data_table] on the desired pages or posts to display a table with the latest location updates.

    Track map: To display the track on the map, use the shortcode [display_tracking_map id="DEVICE_ID"], where DEVICE_ID is the ID of the device from which you want to display data. You can find this ID in Settings > OwnTracks Data Receiver or in the plugin database. Make sure you specify the correct device ID so that the map displays its track correctly.

     

    What does it look like?
    After configuring the plugins and using the shortcodes correctly, you will be able to see the data on the movements of your site in real time. The table will display the latest updates, and the map will show the track and current location of the selected device.

     

    Using the plugins from my GitHub repository makes it easy to organize a GPS broadcast on your WordPress site. This is a great solution for monitoring the movements of your loved ones or employees. If you have any questions or need help, do not hesitate to contact me!

    I hope this guide will help you create an effective tracking system. Good luck!

    Leave a comment

    Next Entry