Update README.md
This commit is contained in:
parent
ed74654b41
commit
157b2fa5e9
36
README.md
36
README.md
@ -1,22 +1,23 @@
|
|||||||
# HCPBridge
|
# HCPBridge
|
||||||
emuliert ein Hörmann HAP 1 HCP auf dem ESP8622.<br/>
|
emuliert ein Hörmann HAP 1 HCP auf dem ESP8622.<br/>
|
||||||
**Funktionen:**
|
## Funktionen:
|
||||||
- Abrufen des aktuellen Status (Tor, Licht)
|
- Abrufen des aktuellen Status (Tor, Licht)
|
||||||
- Aulösen der Aktionen (Licht an/aus, Tor öffen, schließen, stoppen sowie Lüftungsstellung
|
- Aulösen der Aktionen (Licht an/aus, Tor öffen, schließen, stoppen sowie Lüftungsstellung
|
||||||
- WebInterface
|
- WebInterface
|
||||||
- WebService
|
- WebService
|
||||||
- Schalten eines Relay mit der Beleuchtung
|
- Schalten eines Relay mit der Beleuchtung
|
||||||
|
|
||||||
**WebInterface:**<br/>
|
## WebInterface:
|
||||||
|
<br/>
|
||||||
<kbd>
|
<kbd>
|
||||||
![alt text](https://github.com/hkiam/HCPBridge/raw/master/Images/webinterface.PNG)
|
![alt text](https://github.com/hkiam/HCPBridge/raw/master/Images/webinterface.PNG)
|
||||||
</kbd>
|
</kbd>
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
**WebService:**<br/>
|
## WebService:
|
||||||
<kbd>
|
<br/>
|
||||||
Aktion ausführen<br/>
|
Aktion ausführen<br/>
|
||||||
http://deviceip//command?action=id
|
http://<deviceip>/command?action=<id>
|
||||||
| Action | Beschreibung |
|
| Action | Beschreibung |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
| 0 | schließe Tor |
|
| 0 | schließe Tor |
|
||||||
@ -28,14 +29,30 @@ http://deviceip//command?action=id
|
|||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
Status abfragen<br/>
|
Status abfragen<br/>
|
||||||
http://deviceip/status
|
http://<deviceip>/status
|
||||||
|
<br/>
|
||||||
|
Response:
|
||||||
|
<br/>
|
||||||
|
```
|
||||||
|
{
|
||||||
|
"valid" : true,
|
||||||
|
"doorstate" : 1,
|
||||||
|
"doorposition" : 0,
|
||||||
|
"doortarget" : 0,
|
||||||
|
"lamp" : true,
|
||||||
|
"debug" : 0,
|
||||||
|
"lastresponse" : 0
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
</kbd>
|
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
**Pinout RS485 (Plug):**<br/>
|
## Pinout RS485 (Plug):
|
||||||
|
<br/>
|
||||||
<kbd>
|
<kbd>
|
||||||
![alt text](https://github.com/hkiam/HCPBridge/raw/master/Images/plug-min.png)
|
![alt text](https://github.com/hkiam/HCPBridge/raw/master/Images/plug-min.png)
|
||||||
</kbd>
|
</kbd>
|
||||||
@ -48,7 +65,8 @@ http://deviceip/status
|
|||||||
</kbd>
|
</kbd>
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
**RS485 Adapter:**<br/>
|
## RS485 Adapter:
|
||||||
|
<br/>
|
||||||
<kbd>
|
<kbd>
|
||||||
![alt text](https://github.com/hkiam/HCPBridge/raw/master/Images/rs485board-min.png)
|
![alt text](https://github.com/hkiam/HCPBridge/raw/master/Images/rs485board-min.png)
|
||||||
</kbd>
|
</kbd>
|
||||||
|
Loading…
Reference in New Issue
Block a user