Table of Contents

Multi-site

The Multi-site function allows multiple Thinknx servers installed in different locations to be managed through a single centralized project.

This function is designed for distributed installations, such as retail chains, shopping centers, corporate offices, separate buildings, or configurations consisting of multiple local servers. Each site retains its own Thinknx server, while a main server supervises and controls the various secondary servers.

The main project can be used to create a centralized supervision interface, import graphical objects from secondary projects, copy pages, and configure shared commands, controls, and schedules.

When to use Multi-site

The Multi-site function is recommended when multiple separate Thinknx sites need to be supervised from a single control point.

Typical applications include:

Each site retains its own secondary project and secondary server, while the main project collects the most important information and allows the required elements to be controlled from a single interface.

Operating principle

Multi sito - Supervisione centralizzata

The Multi-site system is based on a structure consisting of:

The main project contains references to the imported sites. From this project, it is possible to display, organize, and control objects belonging to the secondary servers.

Requirements

Before configuring a Multi-site system, make sure that:

The .site file must be generated from the secondary project and then imported into the main project.

Adding the Multi-site object

To use the Multi-site function, the dedicated object must be added in the Configurator.

In the Configurator, click Add and select:

System > Report & gateway > Multi-site

Multi sito - Aggiunta oggetto

Once added, the object is displayed in the project tree under System > Report & gateway.

Exporting a project for Multi-site

The secondary projects must be exported in a dedicated format before they can be used in the main project.

To export a secondary project in Multi-site format:

Multi sito - Esportazione progetto

The exported file uses the following extension:

.site

This .site file contains the information required to import the secondary project into the main project.

Importing sites into the main project

After exporting the secondary projects in .site format, they can be imported into the main project.

In the Multi-site object, open the Thinknx site management window and add the required sites.

Multi sito - Gestione impianti Thinknx

The configuration window can be used to add, clone, remove, and reorder the imported sites.

Once a site has been imported, its main properties are displayed, including:

Property Description
Project Name of the imported project.
Path Path of the linked file or project.
Serial number Serial number of the secondary server.
Public IP Public IP address of the secondary server, if used.
Local IP Local IP address of the secondary server, if used.
Port Communication port used by the server.
Cloud enabled Indicates whether the site uses a cloud connection.
Client code Client code used for the connection.
Connection port Port used for the connection.
Connection override Allows the connection method to be overridden.
Connection type Direct or Cloud.
Override policy Local & Cloud or Local & Remote & Cloud.

Importing pages and objects from sites

Once the sites have been imported into the main project, the graphical elements of the secondary projects can be used.

An arrow next to the Paste command opens the site import menu.

From this menu, select:

Import from site

Multi sito - Importa dal sito

This function opens a window containing the objects available in the imported site.

Multi sito - Selezione oggetti dal sito

This window can be used to copy pages, functions, and graphical objects from the subprojects into the main project.

The imported objects can then be used to create a centralized supervision interface while retaining their references to the secondary servers.

Direct connection to subproject objects

In addition to using the Import from site command, a graphical object can be manually linked to a subproject.

To do this, select the required graphical object and set the following property:

Bus type > Subproject

Then, in the Site field, select the secondary project from which the object must receive information or to which it must send commands.

Multi sito - Collegamento oggetto a sottoprogetto

The graphical object in the main project is now linked to an element belonging to one of the imported sites.

This method is useful when creating a customized centralized supervision interface and manually selecting which objects must be linked to the various subprojects.

Centralized supervision

The main project can contain pages dedicated to the overall supervision of the entire Multi-site system.

These pages can be used to:

This configuration keeps the individual secondary projects separate while allowing them to be controlled from a single supervision point.

The recommended workflow for configuring a Multi-site system is:

Updating sites

When a secondary project is modified, it must be exported again in .site format, and the corresponding site must be updated in the main project.

This allows the main project to use the latest version of the objects, pages, and references belonging to the subproject.

It is recommended to use clear and consistent names for exported .site files, so that the site and project version can be easily identified.

Notes

The secondary projects must be exported in .site format before they can be used with the Multi-site function.

The main server does not replace the secondary servers. It communicates with them to provide centralized management. Each secondary server continues to manage its own site, while the main project allows multiple sites to be supervised and controlled from a single interface.

The Multi-site function is particularly useful for distributed installations where local control of individual sites must be maintained together with centralized supervision.