Table of Contents

Project Deployment

Project Deployment

When a project is completed it has to be deployed on the server and the various clients.

When the project is modified, even slightly, it is important to transfer it to the server and to the clients. If the project version on the server does not match the version on the client, the application will not work correctly.

There are two ways to deploy a project:

By clicking on the “Deploy” button, the following options will be displayed:

When you export the project for the Apps using this feature, the Configurator will create a snapshot of the project at the time you press the button. If you make modifications to the project and you want to actualize the apps content you need to press again the deploy button so that you will be able to download the new snapshot with all the modifications.

This feature will work only when the PC running the configurator is on the same network of the device running the App. It is useful when internet is not available or during the test phase of the project. When the project is finished it is advisable to use the Cloud feature that will guarantee that all the clients will use the same project version.

Deploy project using the local network

This method should be used when the Thinknx server is connected to a local network but has no access to the Internet. However, it requires the use of a PC with the Thinknx Configurator installed as well as the availability of all the client devices on site. The PC and the clients should be connected to the same network as the Thinknx server.

Step 1: Deploy project to the server

Deploying to local server

Figure 1: Deploying to Local Server

After selecting to deploy project to server, the Configurator automatically checks the system properties to confirm that a valid IP address has been set for the server; otherwise the deploy cannot be finished. If components not corresponding to the selected licences have been configured in the project, the Configurator displays a warning message. The export can still be finished but the commands related to unlicensed objects will not be working.

Step 2: Deploy project to the client

deploying to local client

Figure 2: Deploying to Local Client


Local client settings

Figure 3: Local Client Settings

Configurator downloading message

Figure 4: Configurator Downloading Message

Deploy project using Thinknx Cloud

This method is more popular than the previous one because it allows to deploy the project to server and clients remotely. The main condition to achieve this is to have the Thinknx server connected to the Internet.

Step 1: Enable Thinknx Cloud on the server

In the web interface of the Thinknx server, click on “Server” tab, select “Thinknx Cloud” from the list, and click on “Enable Thinknx Cloud”. Fill in the new password and email address and click “Enable”. The Cloud service should now be enabled, and the connection should be “available and established” as seen in the picture below.

Enable cloud on server

Figure 5: Enable Cloud on server

Cloud status

Figure 6: Cloud status

Step 2: Configure the Cloud inside the Configurator

Open project inside Thinknx Configurator and enable Thinknx Cloud in the “System” tab. Make sure to enter the same password used in the web page.
It is also important to enable “Automatic Server update” allowing the server to be updated automatically with every project upload to the Cloud.
Enabling “Automatic Authentication” will allow new users to access the mobile application without the need for an intervention on site (see section Client Authentication below).
Finally, selecting “Local and Cloud” for the “Cloud Connection Policy”, will allow the client to control the project remotely using Thinknx Cloud whenever the local connection fails.

Configure cloud inside configurator

Figure 7: Configure Cloud inside Configurator

Step 3: Upload the project to the Cloud

Inside Thinknx Configurator, click on “Deploy” and select “Upload to the Cloud”. Allow 1-2 min after upload for the server to reboot.

Upload to Cloud

Figure 8: Upload to Cloud

Step 4: Download the project onto the client device

Open Thinknx application and go to Settings. Select the Cloud icon, and enter the serial number of the server and its corresponding password (Cloud password).

If users have been created inside the Configurator, then the password entered should be the corresponding password of each user.

Download project from Cloud

Figure 9: Download project from Cloud

QR Code Download

When the project is uploaded onto the Cloud, the user can also download it on their client device by simply scanning the QR code provided by the integrator. This QR code is generated by the Configurator by accessing the Users and Groups window and clicking on the Data Summary of each user profile. For more information, check out section 2.Thinknx Configurator - Users and Groups.

The download can be accomplished by selecting the QR code icon in the Settings window on the client application. The user must allow Thinknx UP application to access the phone's camera. Scan the QR code, and the project download will automatically start. Once finished, open the project and proceed to the Authentication process below.

QR Code button on client application

Figure 10: QR code button on client application


QR Code Scanning

Figure 11: QR code scanning

Client Authentication

Whenever a client uses the Thinknx application, a connection to the server is established. The first time the client opens the loaded project, the server requests an authentication of the device.

Authentication via local network

This method only works if there is direct access to the server's web page.


Authentication request message

Figure 12: Authentication Request Message

Authentication method-1

Figure 13: Authentication Method-1

Authentication via Cloud

The authentication can be done remotely without the need to access the server's web page. It only requires the creation of the users inside the Configurator project. The username and password of each user shall be used to allow access to the project. Another requirement is to have «Thinknx Cloud» enabled, as well as «Automatic Authentication» inside Configurator.


Authentication request message

Figure 14: Authentication Request Message

Authentication method-2

Figure 15: Authentication Method-2

Authentication via OTP

This feature is available for server firmware 1.1.10.22 and above, configurator version 1.3.0.24 and above, and UP client version 1.2.24 and above.

Instead of sharing a username and password to allow users to authenticate with the server, it is possible to generate a one-time password (OTP) and send it to the client. The code generated is valid for 2 hours, after which it will no longer work.

Generating the OTP

Admin Configuration

Figure 16: Admin Configuration

Enable OTP

Figure 17: Enable OTP Authentication

Project Settings

Figure 18: Project Settings

Create User

Figure 19: Create User

OTP created

Figure 20: OTP created

Using the OTP to authenticate

OTP authentication

Figure 21: OTP Authentication

Project Export

Even if the projects are saved inside the Configurator, it is always recommended to export the files and save them for backup in case of a computer failure. It is also useful to transfer files from one Configurator to another.

To export projects, click on “Export” button in the upper bar inside the Configurator. The following options are displayed:

Export for server on file

Figure 22: Export for server on file