Patrick Schurig 66aa71c990
Some checks failed
Build & Deploy docs / build-deploy (push) Failing after 10m46s
mise a jour
2026-06-06 09:51:43 +02:00

78 lines
2.5 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Waveshare relais
<!-- BEGIN GENERATED: __badges_waveshare-relay-d8__ -->
<span class="badge testing">TESTING</span> <span class="badge origin-etm">ETM</span> <span class="badge experimental">EXPERIMENTAL</span>
<!-- END GENERATED -->
Module de relais Waveshare (modèle 8 canaux RS485), pilotage via **Modbus RTU**.
## 1. Matériel requis
- Module Waveshare 8-Channel Relay (RS485)
- Adaptateur USB↔RS485 côté hub
- Alimentation 12 V DC + câble bus (A/B)
## 2. Raccordement RS485
A↔A, B↔B, masse commune, terminaison **120 Ω** en bout de bus.
Alimentation 12 V DC sur les bornes VCC/GND du module.
## 3. Adressage Modbus
Adresse par défaut : **1**. Configurable via l'utilitaire Waveshare ou par
commande Modbus de changement d'adresse.
Paramètres : **9600 bps, 8N1**.
## 4. Ajout dans PowerSync
Ajout manuel (port série, adresse esclave).
Voir [Ajouter un appareil](../../installation/application.md).
---
## Référence
<!-- BEGIN GENERATED: integrationpluginwaveshare-relay-d8.json -->
**Fabricant :** Waveshare
**Plugin :** `WaveshareRelayD8`
#### Modèles pris en charge
| Modèle | Rôle | Transport | Ajout | Grandeurs |
| --- | --- | --- | --- | --- |
| **Waveshare Relay D8** | — | Modbus RTU | Découverte automatique | 17 |
#### Détail par modèle
??? abstract "Waveshare Relay D8 — `waveshareRelayD8`"
_Réglages :_
| Clé | Libellé | Type | Plage | Défaut | Lecture seule |
| --- | --- | --- | --- | --- | --- |
| `rtuMaster` | Modbus RTU master UUID | QString | — | — | non |
| `slaveAddress` | Modbus slave address | int | 1247 | `1` | non |
_Grandeurs mesurées :_
| Clé | Grandeur | Type | Unité |
| --- | --- | --- | --- |
| `connected` | Connected | bool | — |
| `relay1State` | Relay 1 | bool | — |
| `relay2State` | Relay 2 | bool | — |
| `relay3State` | Relay 3 | bool | — |
| `relay4State` | Relay 4 | bool | — |
| `relay5State` | Relay 5 | bool | — |
| `relay6State` | Relay 6 | bool | — |
| `relay7State` | Relay 7 | bool | — |
| `relay8State` | Relay 8 | bool | — |
| `input1State` | Input 1 | bool | — |
| `input2State` | Input 2 | bool | — |
| `input3State` | Input 3 | bool | — |
| `input4State` | Input 4 | bool | — |
| `input5State` | Input 5 | bool | — |
| `input6State` | Input 6 | bool | — |
| `input7State` | Input 7 | bool | — |
| `input8State` | Input 8 | bool | — |
<!-- END GENERATED -->