Remote AppControl with TeamViewer IoT - TeamViewer Support
<main>
<article class="userContent">
<p><em>This article applies to all TeamViewer IoT users.</em></p><p>Remote AppControl lets you access a custom user interface for any device or system that comes without a GUI. The UI is created as a HTML page stored directly on the device.</p><p>The known features within a remote control session like file transfer or others are not available.</p><p><strong>Hint</strong>: If you have a Premium or Corporate license linked to your TeamViewer account, you are also able to log sessions for reporting via the <a href="https://login.teamviewer.com/LogOn" rel="nofollow noreferrer ugc">TeamViewer Management Console</a>.</p><h3 data-id="requirements">Requirements</h3><p>These requirements must be fulfilled to remotely access the IoT device via TeamViewer:</p><ul><li>The remote device must be set up with a TeamViewer IoT agent</li><li>A webserver including web applications need to be set up on the remote device</li><li>The remote device must be connected to the Internet</li></ul><h3 data-id="web-servers">Web servers</h3><p>As an example, you can find a description on how to set up a webserver on an ARM based Raspberry Pi.</p><p>To run a web server on a Raspberry Pi, first an operating system must be loaded on the Pi. Installing Operating System from an image is easy, the details can be found on the below link along with the guidelines for installation. It is recommended to use the official Raspbian OS.</p><ul><li>Raspberry Pi Documentation on installing OS images: <a href="https://www.raspberrypi.org/documentation/installation/installing-images/README.md" rel="nofollow noreferrer ugc">https://www.raspberrypi.org/documentation/installation/installing-images/README.md</a></li></ul><p>Once the Raspbian OS (or any other OS) is up and running, a webserver can be installed and configured on the Pi. Various web servers are available, with different advantages for usage. Below you can find several guides for different web servers installations.</p><ul><li>Apache Web Server setup guide: <a href="https://www.raspberrypi.org/documentation/remote-access/web-server/apache.md" rel="nofollow noreferrer ugc">https://www.raspberrypi.org/documentation/remote-access/web-server/apache.md</a></li><li>NGINX Web Server setup guide: <a href="https://www.raspberrypi.org/documentation/remote-access/web-server/nginx.md" rel="nofollow noreferrer ugc">https://www.raspberrypi.org/documentation/remote-access/web-server/nginx.md</a></li><li>Python Web Server setup guide: <a href="https://projects.raspberrypi.org/en/projects/python-web-server-with-flask" rel="nofollow noreferrer ugc">https://projects.raspberrypi.org/en/projects/python-web-server-with-flask</a></li><li>Node.JS Web Server setup guide: <a href="https://tutorials-raspberrypi.com/setup-raspberry-pi-node-js-webserver-control-gpios/" rel="nofollow noreferrer ugc">https://tutorials-raspberrypi.com/setup-raspberry-pi-node-js-webserver-control-gpios/</a></li></ul><p>Additional to these, other web servers that can listen on port 80 are also supported.</p><h3 data-id="set-up-the-web-server-on-device-for-remote-appcontrol">Set up the web server on device for Remote AppControl</h3><p>As an example, we will install <em>Apache Web Server</em> on<em> Raspberry 4</em>.</p><p>Open <em>TeamViewer Application</em> connect to the device and then use <em>Remote Terminal</em>.</p><p>Alternately you can connect to the device via a SSH client.</p><p> </p><div class="embedExternal embedImage display-large float-none">
<div class="embedExternal-content">
<a class="embedImage-link" href="https://us.v-cdn.net/6032394/uploads/lithium_attachments/14669i3BC58355A3AB64DF.jpg" rel="nofollow noreferrer noopener ugc" target="_blank">
<img class="embedImage-img" src="https://us.v-cdn.net/6032394/uploads/lithium_attachments/14669i3BC58355A3AB64DF.jpg" alt="remote_ter.png" height="180" width="320" loading="lazy" data-display-size="large" data-float="none"></img></a>
</div>
</div>
<p><br></p><p> </p><p>Then, run these commands:</p><pre class="code codeBlock" spellcheck="false" tabindex="0">sudo apt update
sudo apt install apache2 -y
</pre><p>Now, if you select Remote AppContol you see that <em>Apache Web Server</em> is running</p><p> </p><div class="embedExternal embedImage display-large float-none">
<div class="embedExternal-content">
<a class="embedImage-link" href="https://us.v-cdn.net/6032394/uploads/lithium_attachments/14675i87096E9126F4FC48.jpg" rel="nofollow noreferrer noopener ugc" target="_blank">
<img class="embedImage-img" src="https://us.v-cdn.net/6032394/uploads/lithium_attachments/14675i87096E9126F4FC48.jpg" alt="apache.png" height="180" width="320" loading="lazy" data-display-size="large" data-float="none"></img></a>
</div>
</div>
<p><br></p><p> </p><p><strong><em>Note: This is default web page of the Apache Web Server. You need to create your web page or put your own HTML files on the device depending on your requirements. </em></strong></p><p>The example below is a web page of a digital twin of a pump. So, you can control and read data from the pump directly in Team Viewer application.</p><div class="embedExternal embedImage display-large float-none">
<div class="embedExternal-content">
<a class="embedImage-link" href="https://us.v-cdn.net/6032394/uploads/lithium_attachments/14674i6EF10676F74F9FBC.jpg" rel="nofollow noreferrer noopener ugc" target="_blank">
<img class="embedImage-img" src="https://us.v-cdn.net/6032394/uploads/lithium_attachments/14674i6EF10676F74F9FBC.jpg" alt="2020-04-16 15_24_03-Demo - Pump - TeamViewer.png" height="180" width="320" loading="lazy" data-display-size="large" data-float="none"></img></a>
</div>
</div>
<p><br></p>
</article>
</main>