Enable GPS receiver on the Starter Kit - TeamViewer Support
<main>
<article class="userContent">
<h2 data-id="general">General</h2><p>All the gateways of the TeamViewer IoT Starter Kit come with built-in GPS receiver. If the Starter Kit that you have received does not have the "Location" client in the "API Clients" list you can simply enable it using this article.</p><h2 data-id="requirements">Requirements</h2><p>TeamViewer IoT Starter Kit</p><h3 data-id="how-to-enable-gps-receiver">How To Enable GPS receiver</h3><p>From TeamViewer desktop client connect to the Starter Kit then switch to the "Remote Terminal" tab. Another way is to use a remote SSH client to the Dell gateway.</p><p>For the SSH credentials use "admin" for the user name and password from your Starter Kit account.</p><p>Install python3-pip package</p><pre class="code codeBlock" spellcheck="false" tabindex="0">sudo apt-get update
sudo apt-get install -y python3-pip
</pre><p>Wait for the completion of the installation. At some point, you will receive a message to stop some services. Accept it and continue.</p><p>Download the Starter Kit configuration package and install it.</p><pre class="code codeBlock" spellcheck="false" tabindex="0">wget -q https://download.teamviewer-iot.com/teamviewer-iot-kit/v2.0.1/teamviewer_iot_kit-2.0.1-py3-none-any.whl
sudo -H pip3 install teamviewer_iot_kit-2.0.1-py3-none-any.whl
</pre><p>Configure the location receiver of the gateway.</p><pre class="code codeBlock" spellcheck="false" tabindex="0">sudo teamviewer-iot-kit -e location_receiver
</pre><p>Wait for the configuration process to complete.</p><h3 data-id="configuration-on-teamviewer-edge-device-management">Configuration On TeamViewer Edge Device Management</h3><ul><li>Switch to the "Remote AppControl" tab and check the "API Clients". You will find the "Location" client which contains data from the location receiver.</li><li>Make sure that the WiFi antenna is connected to the gateway. The WiFi antenna is also being used for the GPS receiver. Place the gateway next to the window so it will have the sky view.</li><li>Go to the "Metrics" tab, and pin "Latitude", "Longitude" and "Mode" metrics to the dashboard. Switch to the "Dashboard" tab and configure newly added widgets.</li><li>You should be receiving data from the location receiver. As soon as "Mode" becomes 2 or 3 you will receive accurate "Altitude" and "Longitude" values.</li></ul><h3 data-id="extra-information%3A">Extra Information:</h3><ul><li>The GPS data is "NMEA 0183" formatted and packed into a JSON object called "NMEA 0183: TPV". In the "Metrics" tab you will find the data in the raw format as well as dedicated metrics for each parameter.</li><li>The location receiver provides the "NMEA 0183: SKY" object as well which is not presented in the Starter Kit. From that object, two metrics are being calculated and presented separately with the names "In View" and "Used".</li><li>The below table represents all the available parameters/metrics and their descriptions of the location receiver.</li></ul><p><strong>Name</strong> <strong>Always</strong> <strong>Type</strong> <strong>Description</strong> Time No string Time/date stamp in ISO8601 format, UTC. May have a fractional part of up to .001sec precision. May be absent if the mode is not 2 or 3 NMEA 0183: TPV</p><p> Yes string NMEA 0183 formatted JSON data of the TPV class</p><p> Mode Yes numeric NMEA mode: %d, 0=no mode value yet seen, 1=no fix, 2=2D, 3=3D Estimated timestamp error No numeric Estimated timestamp error in seconds. Present if time is present Latitude No numeric Latitude in degrees: +/- signifies North/South. Present when the mode is 2 or 3 Estimated latitude error No numeric Latitude error estimate in meters. Present if the mode is 2 or 3 and DOPs can be calculated from the satellite view Longitude No numeric Longitude in degrees: +/- signifies East/West. Present when the mode is 2 or 3 Estimated longitude error</p><p> No numeric Longitude error estimate in meters. Present if the mode is 2D or 3D and DOPs can be calculated from the satellite view Altitude</p><p> No numeric Altitude in meters. Present if the mode is 3 Estimated vertical error</p><p> No numeric Estimated vertical error in meters. Present if the mode is 3 and DOPs can be calculated from the satellite view Speed No numeric Speed over ground, meters per second Estimated speed error</p><p> No numeric Estimated speed error in meters per second. Present for consecutive 2D or 3D fixes. Climb No numeric Climb (positive) or sink (negative) rate, meters per second Estimated vertical error</p><p> No numeric Estimated climb error in meters per second. Present if consecutive 3D fixes. Track No numeric Course over ground, degrees from true north In View No numeric Number of satellites which are in view of the location receiver Used No numeric Number of satellites to which the location receiver is locked </p><p> </p>
</article>
</main>