Patrick Schurig 9eee067829 feat: docs-as-code — générateur, literate-nav, badges, CI Gitea Actions
- PORTING_STATUS.yaml : source de vérité canal APT + placement nav
- scripts/gen_device_reference.py : génération matrice + fiches + SUMMARY.md
  depuis integrationplugin*.json + meta.json ; nightly sans JSON = invisible
- mkdocs.yml : plugin literate-nav, nav 6 sections, Appareils via SUMMARY.md
- .gitea/workflows/docs.yml : CI complet — fetch JSON (branche auto-détectée),
  génération, build --strict, check idempotence, rsync deploy
- Badges HTML (stable/testing/nightly + consumer/community + ok/part/road)
- Fiches appareils : Eastron, ABB B2x, ABB Terra, Keba, Waveshare
- requirements.txt : mkdocs-material, mkdocs-literate-nav, PyYAML

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-02 08:53:54 +02:00

65 lines
2.0 KiB
Markdown
Raw 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
<span class="badge testing">TESTING</span> <span class="badge consumer">CONSUMER</span>
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 :** `waveshare-relay-d8`
#### Modèles pris en charge
| Modèle | Rôle | Transport | Ajout | Grandeurs |
| --- | --- | --- | --- | --- |
| **Waveshare 8-Channel Relay (RS485)** | — | Modbus RTU | Ajout manuel | 9 |
#### Détail par modèle
??? abstract "Waveshare 8-Channel Relay (RS485) — `waveshareRelayD8`"
_Réglages :_
| Clé | Libellé | Type | Plage | Défaut | Lecture seule |
| --- | --- | --- | --- | --- | --- |
| `modbusMasterUuid` | Modbus RTU master | QUuid | — | — | oui |
| `slaveAddress` | Slave address | uint | 1247 | `1` | non |
_Grandeurs mesurées :_
| Clé | Grandeur | Type | Unité |
| --- | --- | --- | --- |
| `connected` | Connected | bool | — |
| `relay1` | Relay 1 | bool | — |
| `relay2` | Relay 2 | bool | — |
| `relay3` | Relay 3 | bool | — |
| `relay4` | Relay 4 | bool | — |
| `relay5` | Relay 5 | bool | — |
| `relay6` | Relay 6 | bool | — |
| `relay7` | Relay 7 | bool | — |
| `relay8` | Relay 8 | bool | — |
<!-- END GENERATED -->