This commit is contained in:
Maik Hofmann 2021-02-14 17:29:09 +01:00
commit ed74654b41
1 changed files with 51 additions and 2 deletions

View File

@ -1,8 +1,57 @@
# HCPBridge
emulates Hörmann HAP 1 HCP on ESP8622
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
- Schalten eines Relay mit der Beleuchtung
WebInterface:<br/>
**WebInterface:**<br/>
<kbd>
![alt text](https://github.com/hkiam/HCPBridge/raw/master/Images/webinterface.PNG)
</kbd>
<br/>
**WebService:**<br/>
<kbd>
Aktion ausführen<br/>
http://deviceip//command?action=id
| Action | Beschreibung |
| --- | --- |
| 0 | schließe Tor |
| 1 | öffne Tor |
| 2 | stoppe Tor |
| 3 | Lüftungsstellung |
| 4 | 1/2 öffnen |
| 5 | Lampe an/an |
<br/>
Status abfragen<br/>
http://deviceip/status
</kbd>
<br/>
**Pinout RS485 (Plug):**<br/>
<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)
6. +25V (White)
</kbd>
<br/>
**RS485 Adapter:**<br/>
<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/>