# Présentation

Pilotage - Supervision - Communication

# Présentation fonctionnelle

Le 2PIO est un module d’automatisation IP compact avec serveur Web intégré, conçu pour automatiser et piloter des équipements techniques, ainsi que pour communiquer avec d’autres systèmes.

### 1- Programmation graphique et boucle d'exécution

Le 2PIO intègre une interface graphique de programmation permettant de créer des automatismes sans écrire de code.   
Les scénarios sont construits à partir de **blocs fonctionnels.**

Les principales fonctions comprennent :

- **La gestion des entrées et des sorties** : acquisition des états et des mesures, commande des équipements raccordés et suivi de leur fonctionnement
- **La gestion des variables** : mémorisation, traitement et échange d’informations utilisées par les automatismes
- **L’exécution des scénarios** : réalisation des actions selon les conditions et la logique configurées
- **La planification** : programmation d’actions en fonction de dates ou d’horaires
- **Le pilotage par widgets** : commande des équipements et visualisation des informations depuis le tableau de bord

Les blocs fonctionnels permettant de définir :

- **des tests** : vérification d’un changement d’état d’une entrée, d’une modification de variable, d’une valeur mesurée, d’une date ou d’un horaire
- **des actions** : commande des relais, modification des variables, envoi de notifications, pilotage d’ouvrants avec gestion et suivi de la position
- **des temporisations** : gestion des délais et des durées selon la logique configurée.
- **de la régulation** : régulation de grandeurs telles que la température ou la luminosité, en mode tout ou rien (TOR) ou par modulation de largeur d’impulsion (PWM), avec fonction d’auto-apprentissage
- **des compteurs** : incrémentation ou décrémentation d’une valeur pour comptabiliser des événements ou suivre une quantité

*Pour plus d'informations sur les blocs de fonction, consultez : [Utiliser les blocs de fonction](https://modlink.fr/help/link/220#bkmrk-page-title)*

Les scénarios s’exécutent **en boucle de manière continue**. Ils analysent les entrées, les mesures, les sorties et les variables du système afin d’appliquer les actions prévues par la logique configurée.

Les tests sont évalués dans l’ordre défini et les actions correspondantes sont exécutées lorsque les conditions requises sont remplies.

Chaque module peut gérer jusqu’à **3 scénarios indépendants**, exécutés de façon autonome et pouvant être activés ou désactivés individuellement selon les besoins de l’application.

<p class="callout success">Tel un agent de sécurité qui effectue des rondes, un scénario vérifie en permanence différents points de contrôle dans un ordre défini :  
**Les entrées** : boutons, détecteurs, capteurs et mesures environnementales  
**Les sorties** : éclairage, vannes, équipements commandés ou dispositifs d’alerte  
**Les variables** : informations et états utilisés par les scénarios (rapports des agents précédents)  
*Lorsque les conditions définies sont remplies, les actions correspondantes sont exécutées. Le scénario poursuit ensuite ses vérifications et recommence le cycle en continu*</p>

### 2- Fonctionnement autonome : Edge Automation

Le 2PIO repose sur une architecture d’**Edge Automation** : les données sont traitées et les scénarios exécutés directement par le module, au plus près des équipements pilotés.

Les automatismes locaux peuvent ainsi continuer à fonctionner sans connexion Internet et sans dépendre d’un serveur central ou d’un service SaaS, sous réserve que les équipements et les ressources nécessaires à leur fonctionnement restent disponibles.

Le module peut fonctionner de manière autonome ou s’intégrer à un réseau de modules ModLink grâce au partage de variables.

### 3- Gestion et partage de variables

Les variables permettent de **mémoriser et d’échanger des informations** utilisées par les scénarios : état d'un équipement, valeur d'une mesure, résultat d’un calcul ou état intermédiaire d’un automatisme.  
Lorsqu’elles sont partagées entre plusieurs modules, elles permettent à leurs scénarios respectifs d’échanger des informations et de coordonner leurs actions sans nécessiter de serveur central en cloud.

Ce mécanisme contribue à une **architecture d’automatisation décentralisée**, dans laquelle chaque module exécute ses propres scénarios tout en pouvant interagir avec les autres modules du réseau.

### 4- Connectivité IP et découverte des modules

Le 2PIO communique sur un réseau **Wi-Fi utilisant les protocoles TCP/IP**. L’intégration au réseau est facilitée par le **DHCP**, qui permet l’attribution automatique des adresses IP, et le **mDNS**, qui permet de découvrir les équipements sur le réseau local sans avoir à saisir leur adresse IP.

Ces mécanismes facilitent l’accès au module et la communication entre les équipements du réseau.

*Pour plus d'information sur l'accès au module [Accès au module](https://modlink.fr/help/link/211#bkmrk-page-title) et sur les modalités de découverte des modules, consultez [Rechercher un module](https://modlink.fr/help/link/257#bkmrk-page-title)*

### 5. Accès distant sécurisé

Le 2PIO intègre un mécanisme d’accès distant reposant sur un **tunnel SSH sécurisé**, qui permet d’accéder au module via Internet sans nécessiter de redirection de ports sur le routeur.

Lorsque le tunnel SSH est activé et autorisé, l’interface Web du module est accessible à distance depuis un navigateur Web, sans logiciel spécifique à installer.

*Pour plus d'informations sur le tunnel SSH consultez : [Utilisation du tunnel SSH](https://modlink.fr/help/link/259#bkmrk-5.2--utilisation-du-)*

### 6- Communication et intégration

Grâce à sa connectivité IP et à ses interfaces de communication, le 2PIO peut échanger des données avec des équipements et des systèmes tiers, notamment dans les domaines de l’automatisation, de la gestion technique du bâtiment (GTB/GTC), de la supervision et de la domotique.

Selon la configuration et les interfaces utilisées, les possibilités d’intégration comprennent notamment :

- **Home Assistant**, pour exploiter les données du module dans une installation domotique ;
- **Modbus TCP**, pour échanger des données avec des équipements et des systèmes compatibles ;
- **OPC UA**, pour l’intégration à des systèmes de supervision et de gestion technique ;
- **HTTP**, pour transmettre des informations ou déclencher des actions sur des systèmes tiers.

Le 2PIO conserve sa propre logique d’automatisation : son fonctionnement local ne nécessite pas qu’un système externe assure en permanence le pilotage des scénarios.

Pour plus d'informations sur la communication, consultez : [Protocoles de communication et interopérabilité](https://modlink.fr/help/books/2-pio/page/protocoles-de-communication-et-interoperabilite "Protocoles de communication et interopérabilité")

<p class="callout warning">**Pour être utilisées par un système tiers, les variables concernées doivent être préalablement exposées** dans la configuration du 2PIO, conformément aux paramètres requis par l’interface de communication utilisée</p>

### 7- Architecture réseau[![architecture 2PIO.png](https://modlink.fr/help/uploads/images/gallery/2026-10/scaled-1680-/architecture-2pio.png)](https://modlink.fr/help/uploads/images/gallery/2026-10/architecture-2pio.png)

# Schéma d'architecture

[![schema-2pio.webp](https://modlink.fr/help/uploads/images/gallery/2026-10/scaled-1680-/XNTschema-2pio.webp)](https://modlink.fr/help/uploads/images/gallery/2026-10/XNTschema-2pio.webp)

# Description du boîtier

### 1- Etat des voyants

Le dispositif comporte **6 voyants LED** permettant de visualiser l’état du système, des communications et des entrées / sorties.

[![2pi_capot.jpg](https://modlink.fr/help/uploads/images/gallery/2026-10/2pi-capot.jpg)](https://modlink.fr/help/uploads/images/gallery/2026-02/2pio3.jpeg)

#### 1.1- <span style="color: rgb(0, 0, 0);">Voyant "Process information" - S</span><span style="color: rgb(0, 0, 0);">cénario </span>

<div class="TyagGW_tableContainer" id="bkmrk-%C3%89tat-du-voyant-signi"><div class="group TyagGW_tableWrapper flex flex-col-reverse w-fit" tabindex="-1"><table border="1" class="w-fit min-w-(--thread-content-width)" data-end="768" data-start="445" style="width: 109.048%; height: 122.4px; border-collapse: collapse; border-color: rgb(0, 0, 0);"><thead data-end="500" data-start="445"><tr data-end="500" data-start="445" style="height: 29.6px; background-color: rgb(206, 212, 217);"><th class="align-center" data-col-size="sm" data-end="462" data-start="445" style="width: 26.95%; height: 29.6px; border-color: rgb(0, 0, 0);">**<span style="color: rgb(0, 0, 0);">État du voyant</span>**</th><th class="align-center" data-col-size="sm" data-end="478" data-start="462" style="width: 28.3539%; height: 29.6px; border-color: rgb(0, 0, 0);">**<span style="color: rgb(0, 0, 0);">Signification</span>**</th><th data-col-size="md" data-end="500" data-start="478" style="width: 44.6961%; height: 29.6px; border-color: rgb(0, 0, 0);">**<span style="color: rgb(0, 0, 0);">Action recommandée</span>**</th></tr></thead><tbody data-end="768" data-start="555"><tr data-end="651" data-start="555" style="height: 33.6px;"><td data-col-size="sm" data-end="577" data-start="555" style="width: 26.95%; height: 33.6px; background-color: rgb(45, 194, 107); border-color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">vert</span>**<span style="color: rgb(0, 0, 0);"> clignotant</span>**</td><td data-col-size="sm" data-end="612" data-start="577" style="width: 28.3539%; height: 33.6px; border-color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">Démarrage</span></td><td data-col-size="md" data-end="651" data-start="612" style="width: 44.6961%; height: 33.6px; border-color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">Attendre la fin de l’initialisation</span></td></tr><tr><td style="width: 26.95%; background-color: rgb(45, 194, 107); border-color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">vert **fixe**</span></td><td style="width: 28.3539%; border-color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">Fonctionnement normal</span></td><td style="width: 44.6961%; border-color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">  
</span></td></tr><tr style="height: 29.6px;"><td style="width: 26.95%; height: 29.6px; background-color: rgb(224, 62, 45); border-color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">rouge **clignotant**</span></td><td style="width: 28.3539%; height: 29.6px; border-color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">Erreur survenue</span></td><td style="width: 44.6961%; height: 29.6px; border-color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">Réinitialiser le voyant depuis le menu "Paramètres"</span></td></tr></tbody></table>

</div></div>#### <span style="color: rgb(0, 0, 0);">1.2- Voyant "Wireless mode" - T</span><span style="color: rgb(0, 0, 0);">ransmissions vers les autres modules </span>


<table border="1" class="w-fit min-w-(--thread-content-width)" data-end="768" data-start="445" id="bkmrk-%C3%89tat-du-voyant-signi-1" style="width: 99.881%; height: 118.892px; border-collapse: collapse; border-color: rgb(0, 0, 0);"><thead><tr data-end="500" data-start="445" style="height: 29.7869px; background-color: rgb(206, 212, 217);"><td class="align-center" data-col-size="sm" data-end="462" data-start="445" style="width: 38.0597%; height: 29.7869px; border-color: rgb(0, 0, 0);">**<span style="color: rgb(0, 0, 0);">État du voyant</span>**</td><td class="align-center" data-col-size="sm" data-end="478" data-start="462" style="width: 61.9403%; height: 29.7869px; border-color: rgb(0, 0, 0);">**<span style="color: rgb(0, 0, 0);">Signification</span>**</td></tr></thead><tbody data-end="768" data-start="555"><tr style="height: 29.7017px;"><td style="width: 38.0597%; background-color: rgb(53, 152, 219); border-color: rgb(0, 0, 0); height: 29.7017px;"><span style="color: rgb(0, 0, 0);">bleu **fixe**</span></td><td style="width: 61.9403%; border-color: rgb(0, 0, 0); height: 29.7017px;"><span style="color: rgb(0, 0, 0);">Transmissions activées </span></td></tr><tr style="height: 29.7017px;"><td style="width: 38.0597%; background-color: rgb(53, 152, 219); border-color: rgb(0, 0, 0); height: 29.7017px;"><span style="color: rgb(0, 0, 0);">bleu **clignotant**</span></td><td style="width: 61.9403%; border-color: rgb(0, 0, 0); height: 29.7017px;"><span style="color: rgb(0, 0, 0);">mode "appairage"</span></td></tr><tr style="height: 29.7017px;"><td style="width: 38.0597%; background-color: rgb(224, 62, 45); border-color: rgb(0, 0, 0); height: 29.7017px;"><span style="color: rgb(0, 0, 0);">rouge **fixe**</span></td><td style="width: 61.9403%; border-color: rgb(0, 0, 0); height: 29.7017px;"><span style="color: rgb(0, 0, 0);">Transmissions désactivées</span></td></tr></tbody></table>

#### <span style="color: rgb(0, 0, 0);">1.3- Voyant "Wi-Fi mode" - Connectivité</span>  


<table border="1" id="bkmrk-%C3%89tat-du-voyant-signi-2" style="border-collapse: collapse; width: 100%; height: 148.736px; border-width: 1px; border-color: rgb(0, 0, 0);"><colgroup><col style="width: 37.779%;"></col><col style="width: 62.2102%;"></col></colgroup><thead><tr style="background-color: rgb(206, 212, 217); height: 29.7585px;"><td class="align-center" data-col-size="sm" data-end="462" data-start="445" style="width: 18.5234%; height: 29.7585px; border-color: rgb(0, 0, 0);">**<span style="color: rgb(0, 0, 0);">État du voyant</span>**</td><td class="align-center" data-col-size="sm" data-end="478" data-start="462" style="width: 45.98%; height: 29.7585px; border-color: rgb(0, 0, 0);">**<span style="color: rgb(0, 0, 0);">Signification</span>**</td></tr></thead><tbody><tr style="height: 29.7585px;"><td style="height: 29.7585px; background-color: rgb(45, 194, 107); border-color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">vert **fixe**</span></td><td style="height: 29.7585px; border-color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">Connexion Wi-Fi active</span></td></tr><tr style="height: 29.7585px;"><td style="height: 29.7585px; background-color: rgb(45, 194, 107); border-color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">vert **clignotant**</span></td><td style="height: 29.7585px; border-color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">mode AP - routeur </span></td></tr><tr style="height: 29.7585px;"><td style="height: 29.7585px; background-color: rgb(185, 106, 217); border-color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">violet **fixe**</span></td><td style="height: 29.7585px; border-color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">Tunnel SSH actif</span></td></tr><tr style="height: 29.7017px;"><td style="height: 29.7017px; border-color: rgb(0, 0, 0); background-color: rgb(230, 126, 35);"><span style="color: rgb(0, 0, 0);">orange **clignotant**</span>

</td><td style="height: 29.7017px; border-color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">Tunnel SSH inactif</span></td></tr><tr><td style="border-color: rgb(0, 0, 0); background-color: rgb(224, 62, 45);"><span style="color: rgb(0, 0, 0);">rouge **fixe**</span>

</td><td style="border-color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">absence de connexion Wi-Fi</span></td></tr></tbody></table>

#### <span style="color: rgb(0, 0, 0);">1.4- Voyant "Out" - Relais</span>

<table border="1" id="bkmrk-%C3%89tat-du-voyant-signi-3" style="border-collapse: collapse; width: 100%; height: 148.508px; border-width: 1px; border-color: rgb(0, 0, 0);"><colgroup><col style="width: 37.1824%;"></col><col style="width: 62.8176%;"></col></colgroup><thead><tr style="height: 29.7017px; background-color: rgb(206, 212, 217);"><td class="align-center" data-col-size="sm" data-end="462" data-start="445" style="width: 18.5234%; height: 29.7017px; border-color: rgb(0, 0, 0);">**<span style="color: rgb(0, 0, 0);">État du voyant</span>**</td><td class="align-center" data-col-size="sm" data-end="478" data-start="462" style="width: 45.98%; height: 29.7017px; border-color: rgb(0, 0, 0);">**<span style="color: rgb(0, 0, 0);">Signification</span>**</td></tr></thead><tbody><tr style="height: 29.7017px;"><td style="border-color: rgb(0, 0, 0); height: 29.7017px;">**<span style="color: rgb(0, 0, 0);">Eteint</span>**</td><td style="border-color: rgb(0, 0, 0); height: 29.7017px;"><span style="color: rgb(0, 0, 0);">contacts 1 et 2 ouverts</span></td></tr><tr style="height: 29.7017px;"><td style="border-color: rgb(0, 0, 0); background-color: rgb(224, 62, 45); height: 29.7017px;"><span style="color: rgb(0, 0, 0);">rouge **fixe**</span></td><td style="border-color: rgb(0, 0, 0); height: 29.7017px;"><span style="color: rgb(0, 0, 0);">contact 1 fermé / contact 2 ouvert</span></td></tr><tr style="height: 29.7017px;"><td style="border-color: rgb(0, 0, 0); background-color: rgb(53, 152, 219); height: 29.7017px;"><span style="color: rgb(0, 0, 0);">bleu **fixe**</span></td><td style="border-color: rgb(0, 0, 0); height: 29.7017px;"><span style="color: rgb(0, 0, 0);">contact 2 fermé / contact 1 ouvert</span>

</td></tr><tr style="height: 29.7017px;"><td style="height: 29.7017px; border-color: rgb(0, 0, 0); background-color: rgb(185, 106, 217);"><span style="color: rgb(0, 0, 0);">violet **fixe**</span></td><td style="height: 29.7017px; border-color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">contacts 1 et 2 fermés</span></td></tr></tbody></table>

#### <span style="color: rgb(0, 0, 0);">1.5- Voyant "IN BT" - En</span><span style="color: rgb(0, 0, 0);">trées basse tension 24V </span>

<table border="1" id="bkmrk-%C3%89tat-du-voyant-signi-4" style="border-collapse: collapse; width: 100%; height: 148.508px; border-width: 1px; border-color: rgb(0, 0, 0);"><colgroup><col style="width: 37.183%;"></col><col style="width: 62.817%;"></col></colgroup><thead><tr style="height: 29.7017px; background-color: rgb(206, 212, 217);"><td class="align-center" data-col-size="sm" data-end="462" data-start="445" style="width: 18.5234%; height: 29.7017px; border-color: rgb(0, 0, 0);">**<span style="color: rgb(0, 0, 0);">État du voyant</span>**</td><td class="align-center" data-col-size="sm" data-end="478" data-start="462" style="width: 45.98%; height: 29.7017px; border-color: rgb(0, 0, 0);">**<span style="color: rgb(0, 0, 0);">Signification</span>**</td></tr></thead><tbody><tr style="height: 29.7017px;"><td style="height: 29.7017px; border-color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">**Eteint**</span>

</td><td style="height: 29.7017px; border-color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">entrée 1 et 2 ouvertes</span></td></tr><tr style="height: 29.7017px;"><td style="height: 29.7017px; background-color: rgb(224, 62, 45); border-color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">rouge **fixe**</span>

</td><td style="height: 29.7017px; border-color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">entrée 1 fermée / entrée 2 ouverte</span></td></tr><tr style="height: 29.7017px;"><td style="background-color: rgb(53, 152, 219); border-color: rgb(0, 0, 0); height: 29.7017px;"><span style="color: rgb(0, 0, 0);">bleu **fixe**</span>

</td><td style="border-color: rgb(0, 0, 0); height: 29.7017px;"><span style="color: rgb(0, 0, 0);">entrée 2 fermée / entrée 1 ouverte</span></td></tr><tr style="height: 29.7017px;"><td style="background-color: rgb(185, 106, 217); border-color: rgb(0, 0, 0); height: 29.7017px;"><span style="color: rgb(0, 0, 0);">Violet **fixe**</span>

</td><td style="border-color: rgb(0, 0, 0); height: 29.7017px;"><span style="color: rgb(0, 0, 0);">entrée 1 et 2 fermées</span></td></tr></tbody></table>

#### <span style="color: rgb(0, 0, 0);">1.6- Voyant "IN AC" - E</span><span style="color: rgb(0, 0, 0);">ntrées 220 V</span>

<table border="1" id="bkmrk-%C3%89tat-du-voyant-signi-5" style="border-collapse: collapse; width: 100%; height: 119.188px; border-width: 1px; border-color: rgb(0, 0, 0);"><colgroup><col style="width: 37.5409%;"></col><col style="width: 62.4591%;"></col></colgroup><thead><tr style="background-color: rgb(206, 212, 217); height: 29.7969px;"><td class="align-center" data-col-size="sm" data-end="462" data-start="445" style="width: 18.5234%; height: 29.7969px; border-color: rgb(0, 0, 0);">**<span style="color: rgb(0, 0, 0);">État du voyant</span>**</td><td class="align-center" data-col-size="sm" data-end="478" data-start="462" style="width: 45.98%; height: 29.7969px; border-color: rgb(0, 0, 0);">**<span style="color: rgb(0, 0, 0);">Signification</span>**</td></tr></thead><tbody><tr><td style="border-color: rgb(0, 0, 0);">**<span style="color: rgb(0, 0, 0);">Eteint</span>**</td><td style="border-color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">entrées 1 et 2 ouvertes</span></td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px; border-color: rgb(0, 0, 0); background-color: rgb(224, 62, 45);"><span style="color: rgb(0, 0, 0);">rouge **fixe**</span></td><td style="height: 29.7969px; border-color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">entrée 1 fermée / entrée 2 ouverte</span></td></tr><tr><td style="border-color: rgb(0, 0, 0); background-color: rgb(53, 152, 219);"><span style="color: rgb(0, 0, 0);">bleu **fixe**</span></td><td style="border-color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">entrée 2 fermée / entrée 1 ouverte</span></td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px; border-color: rgb(0, 0, 0); background-color: rgb(185, 106, 217);"><span style="color: rgb(0, 0, 0);">violet **fixe**</span></td><td style="height: 29.7969px; border-color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">entrée 1 et 2 fermées</span></td></tr></tbody></table>

### 2- Bloc de jonction à insertion

Le bloc de jonction à ressort est composé de 18 bornes réparties sur 2 rangées :

- Rangée du haut : bornes A1 à A9
- Rangée du bas : bornes B1 à B9

Il permet le raccordement rapide et sans vis (insertion directe) des alimentations, entrées, sorties relais et commandes.

[![Borniers.jpg](https://modlink.fr/help/uploads/images/gallery/2026-04/scaled-1680-/borniers.jpg)](https://modlink.fr/help/uploads/images/gallery/2026-04/borniers.jpg)

#### 2.1- Affectation des bornes

<table border="1" id="bkmrk-18%C2%A0-%C2%A0-230-ac-%C2%A0-rla-1" style="border-collapse: collapse; width: 100%; border-width: 1px; height: 283px;"><colgroup><col style="width: 8.5796%;"></col><col style="width: 10.367%;"></col><col style="width: 10.4862%;"></col><col style="width: 10.0095%;"></col><col style="width: 10.9633%;"></col><col style="width: 12.154%;"></col><col style="width: 9.53289%;"></col><col style="width: 14.1802%;"></col><col style="width: 13.4652%;"></col></colgroup><tbody><tr style="background-color: rgb(236, 240, 241);"><td class="align-center" colspan="9"><span style="color: rgb(0, 0, 0);">*rangée haute*</span></td></tr><tr style="height: 29.7017px; background-color: rgb(230, 126, 35);"><td style="height: 29.7017px; border-color: rgb(255, 255, 255); border-style: solid; background-color: rgb(174, 100, 35);">**<span style="color: rgb(255, 255, 255);">A1</span>**

**<span style="color: rgb(0, 0, 0);">Phase</span>**

</td><td style="height: 29.7017px; border-color: rgb(236, 240, 241); border-style: solid; background-color: rgb(186, 55, 42);">**<span style="color: rgb(255, 255, 255);">A2</span>**

**<span style="color: rgb(0, 0, 0);">Relais 1 COM</span>**

</td><td style="height: 29.7017px; border-color: rgb(236, 240, 241); border-style: solid; background-color: rgb(186, 55, 42);">**<span style="color: rgb(255, 255, 255);">A3</span>**

**<span style="color: rgb(0, 0, 0);">Relais 1  
NO</span>**

</td><td class="align-center" style="height: 29.7017px; background-color: rgb(224, 62, 45);">**<span style="color: rgb(255, 255, 255);">A4</span>**

**<span style="color: rgb(0, 0, 0);">Relais 2</span>**

**<span style="color: rgb(0, 0, 0);">COM</span>**

</td><td class="align-center" style="height: 29.7017px; background-color: rgb(224, 62, 45);">**<span style="color: rgb(255, 255, 255);">A5</span>**

**<span style="color: rgb(0, 0, 0);">Relais 2</span>**

**<span style="color: rgb(0, 0, 0);">NO</span>**

</td><td class="align-center" style="height: 29.7017px;">**<span style="color: rgb(255, 255, 255);">A6</span>**

**<span style="color: rgb(0, 0, 0);">Entrée 220V</span>**

**<span style="color: rgb(0, 0, 0);">1</span>**

</td><td style="height: 29.7017px; background-color: rgb(126, 140, 141);">**<span style="color: rgb(255, 255, 255);">A7</span>**

**<span style="color: rgb(0, 0, 0);">GND</span>**

</td><td class="align-center" style="height: 29.7017px; background-color: rgb(243, 162, 26);">**<span style="color: rgb(255, 255, 255);">A8</span>**

**<span style="color: rgb(0, 0, 0);">Alim 24V 1</span>**

</td><td class="align-center" style="height: 29.7017px; background-color: rgb(243, 162, 26);">**<span style="color: rgb(255, 255, 255);">A9</span>**

**<span style="color: rgb(0, 0, 0);">Alim 24V 2</span>**

</td></tr><tr style="background-color: rgb(236, 240, 241);"><td class="align-center" colspan="9" style="border-color: rgb(236, 240, 241); border-style: solid;"><span style="color: rgb(0, 0, 0);">*rangée basse*</span></td></tr><tr style="height: 29.7017px; background-color: rgb(230, 126, 35);"><td style="height: 29.7017px; border-color: rgb(255, 255, 255); border-style: solid; background-color: rgb(53, 152, 219);">**<span style="color: rgb(255, 255, 255);">B1</span>**

**<span style="color: rgb(0, 0, 0);">Neutre</span>**

</td><td class="align-center" style="height: 29.7017px; border-color: rgb(236, 240, 241); border-style: solid; background-color: rgb(186, 55, 42);">**<span style="color: rgb(255, 255, 255);">B2</span>**

**<span style="color: rgb(0, 0, 0);">Relais 1</span>**

**<span style="color: rgb(0, 0, 0);">COM</span>**

</td><td class="align-center" style="height: 29.7017px; border-color: rgb(236, 240, 241); border-style: solid; background-color: rgb(186, 55, 42);">**<span style="color: rgb(255, 255, 255);">B3</span>**

**<span style="color: rgb(0, 0, 0);">Relais 1</span>**

**<span style="color: rgb(0, 0, 0);">NO</span>**

</td><td class="align-center" style="height: 29.7017px; background-color: rgb(224, 62, 45);">**<span style="color: rgb(255, 255, 255);">B4</span>**

**<span style="color: rgb(0, 0, 0);">R</span><span style="color: rgb(0, 0, 0);">elais 2</span>**

**<span style="color: rgb(0, 0, 0);">COM</span>**

</td><td class="align-center" style="height: 29.7017px; background-color: rgb(224, 62, 45);">**<span style="color: rgb(255, 255, 255);">B5</span>**

**<span style="color: rgb(0, 0, 0);">Relais 2</span>**

**<span style="color: rgb(0, 0, 0);">NO</span>**

</td><td class="align-center" style="height: 29.7017px;">**<span style="color: rgb(255, 255, 255);">B6</span>**

**<span style="color: rgb(0, 0, 0);">Entrée 220V</span>**

**<span style="color: rgb(0, 0, 0);">2</span>**

</td><td style="height: 29.7017px; background-color: rgb(126, 140, 141);">**<span style="color: rgb(255, 255, 255);">B7</span>**

**<span style="color: rgb(0, 0, 0);">GND</span>**

</td><td class="align-center" style="height: 29.7017px; background-color: rgb(243, 162, 26);">**<span style="color: rgb(255, 255, 255);">B8</span>**

**<span style="color: rgb(0, 0, 0);">Entrée BT 1</span>**

</td><td class="align-center" style="height: 29.7017px; background-color: rgb(243, 162, 26);">**<span style="color: rgb(255, 255, 255);">B9</span>**

**<span style="color: rgb(0, 0, 0);">E</span><span style="color: rgb(0, 0, 0);">ntrée BT 2</span>**

</td></tr><tr style="background-color: rgb(22, 145, 121);"><td class="align-center" style="height: 29.7017px;"><span style="color: rgb(236, 240, 241);">**230 AC**</span>

</td><td class="align-center" style="height: 29.7017px;"><span style="color: rgb(236, 240, 241);">**RLA 1**</span>

</td><td class="align-center" style="height: 29.7017px;"><span style="color: rgb(236, 240, 241);">**RLA 1**</span>

</td><td class="align-center" style="height: 29.7017px;"><span style="color: rgb(236, 240, 241);">**RLA 2**</span>

</td><td class="align-center" style="height: 29.7017px;"><span style="color: rgb(236, 240, 241);">**RLA 2**</span>

</td><td class="align-center" style="height: 29.7017px;"><span style="color: rgb(236, 240, 241);">**2 in AC**</span>

</td><td class="align-center" style="height: 29.7017px;"><span style="color: rgb(236, 240, 241);">**GND**</span>

</td><td class="align-center" style="height: 29.7017px;"><span style="color: rgb(236, 240, 241);">**in 1 BT**</span>

</td><td class="align-center" style="height: 29.7017px;"><span style="color: rgb(236, 240, 241);">**in 2 BT**</span>

</td></tr></tbody></table>

- <span style="color: rgb(0, 0, 0);">Vérifier la **correspondance des tensions** avant raccordement (notamment l’entrée 230 V)</span>
- <span style="color: rgb(0, 0, 0);">Respecter les **sections de câbles** adaptées au courant utilisé</span>
- <span style="color: rgb(0, 0, 0);">S’assurer du bon enclenchement des conducteurs dans les bornes à ressort</span>
- <span style="color: rgb(0, 0, 0);">Couper l’alimentation avant toute intervention</span>

Voir [Raccordement électrique](https://modlink.fr/help/link/128#bkmrk-page-title)

### 3- Navigation avec le bouton de configuration

<div id="bkmrk--4">  
</div>Chaque module est équipé d'un bouton permettant d'exécuter certaines fonctions directement sur l'appareil, sans passer par l'interface Web.

<span style="background-color: rgb(251, 238, 184);">(photo du bouton)</span>

La navigation s'effectue à l'aide de différents types d'appuis sur le bouton :

- **Appui simple**
- **Double appui**
- **Appui long**

Le tableau ci-dessous récapitule les différentes actions disponibles

<table id="bkmrk-%C3%89tat-action-sur-le-b"><thead><tr><th><span style="color: rgb(52, 73, 94);">État</span></th><th>Action sur le bouton</th><th>Fonction</th><th>LED</th></tr></thead><tbody><tr><td>***hors menu***</td><td class="align-left">Double appui</td><td>Accès au **menu 1**</td><td>bleu foncé</td></tr><tr><td>**menu 1**</td><td class="align-left">Appui simple</td><td>Accès au **menu 2**</td><td>jaune</td></tr><tr><td> </td><td class="align-left">Double appui</td><td>Lance le mode appairage</td><td>bleu clignotant</td></tr><tr><td> </td><td class="align-left">Appui long</td><td>Transfert de la configuration Wi-Fi (SSID et mot de passe) ainsi que de la clé de chiffrement</td><td>  
</td></tr><tr><td>**menu 2**</td><td class="align-left">Appui simple</td><td>Accès au **menu 3**</td><td>violet</td></tr><tr><td> </td><td class="align-left">Double appui</td><td>Quitte le mode **Slave/Wireless**</td><td>  
</td></tr><tr><td> </td><td class="align-left">Appui long</td><td>Redémarre le module</td><td>  
</td></tr><tr><td>**menu 3**</td><td class="align-left">Appui simple</td><td>Quitte le menu</td><td>bleu clair</td></tr><tr><td> </td><td class="align-left">Double appui</td><td>Active ou désactive le mode **Wireless**,  
puis quitte le mode **Slave**</td><td>  
</td></tr><tr><td> </td><td class="align-left">Appui long</td><td>Réinitialisation complète du module  
(configuration usine)</td><td>  
</td></tr></tbody></table>

# Caractéristiques techniques

### Matériel (hardware)

- **Microcontrôleur** double cœur (dual core)

<span style="color: rgb(34, 34, 34); font-family: 'Noto Sans', sans-serif; font-size: 2.333em; font-weight: 400;">Entrées et sorties</span>

- **Entrées basse tension** : 2 entrées configurables en TOR (tout ou rien) ou en courant 4–20 mA, avec alimentation capteurs 24 V CC (25 mA max. par entrée)
- **Entrées secteur** : 2 entrées TOR 230 V CA, activées par application de la tension secteur
- **Sorties relais de puissance** : 2 relais bistables à contacts libres de potentiel
    
    
    - Courant maximal par sortie : 32 A pour les charges résistives et capacitives ; 25 A pour les charges inductives.
    - Tension maximale de commutation : 277 V CA
    - Mesure intégrée du courant en continu (DC) et en alternatif (AC)
    - Commutation synchronisée sur le zéro de la tension de référence du module, afin de réduire les pics de courant et les arcs électriques
    - Durée de vie électrique : 200 000 cycles

### Automatisation et fonctions intégrées

- **Edge automation** : scénarios exécutés en boucle continue, avec stockage local (pas de cloud) [Scénario](https://modlink.fr/help/link/243#bkmrk-page-title)
- **Interface Web** : pilotage et visualisation depuis un navigateur Web, avec prise en charge du mode PWA (application Web progressive)
- **Horloge temps réel (RTC)** : horloge intégrée avec batterie rechargeable
- **Watchdog matériel** : redémarrage automatique du microcontrôleur en cas de blocage
- **Planification des actions** : programmation journalière, hebdomadaire, mensuelle et annuelle, avec prise en compte des jours fériés et gestion des priorités
- **Notifications** : envoi de notifications par e-mail et SMS

### Connectivité et protocoles de communication

- **Réseau IP** : communication TCP/IP via Wi-Fi
- **Connectivité Wi-Fi** : IEEE 802.11 b/g/n, bande de fréquence 2,4 GHz
- **Configuration réseau** : adressage IP automatique par DHCP et découverte des équipements par mDNS
- **Protocoles de communication** : TCP/IP, HTTP/HTTPS, Modbus TCP (serveur), SMTP et OPC UA (serveur)
- **Intégration** : Home assistant
- **API HTTP** : interface de programmation permettant l’échange de données et l’interaction avec le module via les méthodes HTTP GET, POST, PUT et DELETE
- **Communication intermodules** : échanges directs de données en pair-à-pair (*peer-to-peer*), avec découverte automatique par mDNS et partage de variables sur le réseau local, sans serveur central
- **Accès distant sécurisé** : tunnel SSH sortant, sans redirection de ports sur le routeur ni dépendance à un cloud public

### Sécurité des communications

- **Chiffrement AES-128** des échanges
- **Protection anti-rejeu (anti replay) par nonce et compteur de séquence**

### Alimentation et consommation

- **Tension d’alimentation** : 230 V CA
- **Puissance consommée** : 6 W

### Caractéristiques physiques

- **Montage** : rail DIN
- **Température de fonctionnement** : −20 °C à +60 °C
- **Dimensions (L × H × P)** : 54 × 90 × 60 mm
- **Poids** : 200 g
- **Boîtier** : polycarbonate, classement de réaction au feu UL 94 V-0

### Garantie 2 ans

# Consignes de sécurité

- - Ne démontez pas le boîtier et manipulez-le avec précaution lorsqu'il est sous tension  
    \- L'appareil doit être installé par du personnel qualifié  
    \- L'appareil ne doit pas être installé directement à l'extérieur  
    \- L'appareil ne doit pas être utilisé à des fins médicales, pour sauver des vies ou à toute autre fin où sa défaillance pourrait causer des blessures graves ou la mort  
      
    **Le non-respect de ces consignes entraîne l’annulation de la garantie du matériel**

#### Remarques relatives à la sécurité

De par sa conception, 2PIO est très sécurisé. Il ne prend pas en charge les programmes de transfert de fichiers ou de terminaux tels que telnet, ftp, ssh, etc. Cela signifie qu'il est impossible pour quiconque de « s'introduire » dans le module ni d'accéder à d'autres appareils sur votre réseau local.

2PIO prend en charge la mise à jour à distance du micrologiciel de manière très sécurisée, rendant impossible l'installation à distance de logiciels malveillants.   
La simplicité de 2PIO en fait un appareil très sécurisé. Comme pour tout appareil à installer sur un réseau, certaines précautions de sécurité doivent être respectées. S'il est installé sur Internet, il est recommandé de changer le mot de passe par défaut pour l'accès à l'interface Web. Veillez à utiliser des mots de passe sécurisés composés d'au moins 8 caractères et d'une combinaison de lettres majuscules, de lettres minuscules et de chiffres. N'utilisez pas de mots de passe faciles à deviner.   
Pour plus de sécurité, nous vous conseillons de mettre en place un pare-feu sur le routeur utilisé pour la connexion Internet du module (pour limiter l'accès à certaines adresses IP).