2021-02-14 12:08:37 +00:00
|
|
|
# HCPBridge
|
2021-02-14 14:29:20 +00:00
|
|
|
emuliert ein Hörmann HAP 1 HCP auf dem ESP8622.<br/>
|
|
|
|
**Funktionen:**
|
|
|
|
- Abrufen des aktuellen Status (Tor, Licht)
|
|
|
|
- Aulösen der Aktionen (Licht an/aus, Tor öffen, schließen, stoppen sowie Lüftungsstellung
|
|
|
|
- WebInterface
|
|
|
|
- WebService
|
2021-02-14 14:39:03 +00:00
|
|
|
- Schalten eines Relay mit der Beleuchtung
|
2021-02-14 12:33:02 +00:00
|
|
|
|
2021-02-14 14:29:20 +00:00
|
|
|
**WebInterface:**<br/>
|
2021-02-14 12:55:20 +00:00
|
|
|
<kbd>
|
|
|
|
![alt text](https://github.com/hkiam/HCPBridge/raw/master/Images/webinterface.PNG)
|
|
|
|
</kbd>
|
2021-02-14 13:46:07 +00:00
|
|
|
<br/>
|
2021-02-14 12:33:02 +00:00
|
|
|
|
2021-02-14 14:29:20 +00:00
|
|
|
**WebService:**<br/>
|
|
|
|
<kbd>
|
2021-02-14 14:39:03 +00:00
|
|
|
Aktion ausführen<br/>
|
|
|
|
http://deviceip//command?action=id
|
2021-02-14 14:29:20 +00:00
|
|
|
| Action | Beschreibung |
|
|
|
|
| --- | --- |
|
|
|
|
| 0 | schließe Tor |
|
|
|
|
| 1 | öffne Tor |
|
|
|
|
| 2 | stoppe Tor |
|
|
|
|
| 3 | Lüftungsstellung |
|
|
|
|
| 4 | 1/2 öffnen |
|
|
|
|
| 5 | Lampe an/an |
|
|
|
|
|
|
|
|
<br/>
|
2021-02-14 14:39:03 +00:00
|
|
|
Status abfragen<br/>
|
|
|
|
http://deviceip/status
|
2021-02-14 14:29:20 +00:00
|
|
|
|
|
|
|
</kbd>
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
**Pinout RS485 (Plug):**<br/>
|
2021-02-14 13:46:07 +00:00
|
|
|
<kbd>
|
|
|
|
![alt text](https://github.com/hkiam/HCPBridge/raw/master/Images/plug-min.png)
|
|
|
|
</kbd>
|
|
|
|
1. GND (Blue)
|
|
|
|
2. GND (Yellow)
|
|
|
|
3. B- (Green)
|
|
|
|
4. A+ (Red)
|
|
|
|
5. +25V (Black)
|
2021-02-14 13:46:35 +00:00
|
|
|
6. +25V (White)
|
2021-02-14 13:46:07 +00:00
|
|
|
</kbd>
|
|
|
|
<br/>
|
|
|
|
|
2021-02-14 14:29:20 +00:00
|
|
|
**RS485 Adapter:**<br/>
|
2021-02-14 13:46:07 +00:00
|
|
|
<kbd>
|
|
|
|
![alt text](https://github.com/hkiam/HCPBridge/raw/master/Images/rs485board-min.png)
|
|
|
|
</kbd>
|
|
|
|
<br/>
|
|
|
|
Zwischen A+ (Red) und B- (Green) ist ein 120 Ohm Widerstand zum terminieren des BUS!
|
|
|
|
<br/>
|