iwfcam4hermes
Hermes-Plugin für Wi-Fi-Überwachungskameras (iWFCam/ESNTD & Z-IOT/ZIOTA).
Struktur
plugin.py— Kernlogik, Datenmodelle, Konfiguration, CLImanager.py— CameraManager (High-Level-API)hermes_plugin.py— Hermes-Plugin-Wrapperplugin.json— Plugin-Manifestziota_adapter.py— WebSocket/STUN-Adapter für Z-IOTiwfcam_adapter.py— ctypes/strings-Adapter für iWFCamiwfcam_p2p.py— Python-API für iWFCam P2Piwfcam_jni_stubs.py— 271 JNI-Stubsstun_client.py— STUN-Client (RFC 5389)stream_proxy.py— HTTP-Stream-Proxymsg_analyzer.py— WebSocket-Nachrichtenanalyseconfig.example.json— Beispielkonfiguration__init__.py— ExporteTASKS.md— Aufgabenliste
Unterstützte Kameratypen
| Typ | Protokoll | Status |
|---|---|---|
| iWFCam / ESNTD | proprietäres P2P (libZGP2PComm.so) | Metadaten + Stream-URL |
| Z-IOT / ZIOTA | STUN/WebSocket P2P | Metadaten + Stream-URL |
Verwendung
python3 -m iwfcam4hermes.plugin list --config config.json
python3 -m iwfcam4hermes.plugin show --config config.json --device cam1
python3 -m iwfcam4hermes.plugin stream-url --config config.json --device cam1
Nächste Schritte
- P2P-Adapter für beide Kameratypen
- Snapshot-Abruf
- Live-Stream-Verteilung
- Hermes-UI-Integration