This article applies to all TeamViewer IoT users.
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.
The known features within a remote control session like file transfer or others are not available.
Hint: If you have a Premium or Corporate license linked to your TeamViewer account, you are also able to log sessions for reporting via the TeamViewer Management Console.
Requirements
These requirements must be fulfilled to remotely access the IoT device via TeamViewer:
- The remote device must be set up with a TeamViewer IoT agent
- A webserver including web applications need to be set up on the remote device
- The remote device must be connected to the Internet
Web servers
As an example, you can find a description on how to set up a webserver on an ARM based Raspberry Pi.
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.
- Raspberry Pi Documentation on installing OS images: https://www.raspberrypi.org/documentation/installation/installing-images/README.md
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.
- Apache Web Server setup guide: https://www.raspberrypi.org/documentation/remote-access/web-server/apache.md
- NGINX Web Server setup guide: https://www.raspberrypi.org/documentation/remote-access/web-server/nginx.md
- Python Web Server setup guide: https://projects.raspberrypi.org/en/projects/python-web-server-with-flask
- Node.JS Web Server setup guide: https://tutorials-raspberrypi.com/setup-raspberry-pi-node-js-webserver-control-gpios/
Additional to these, other web servers that can listen on port 80 are also supported.
Set up the web server on device for Remote AppControl
As an example, we will install Apache Web Server on Raspberry 4.
Open TeamViewer Application connect to the device and then use Remote Terminal.
Alternately you can connect to the device via a SSH client.
Then, run these commands:
sudo apt update sudo apt install apache2 -y
Now, if you select Remote AppContol you see that Apache Web Server is running
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.
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.