Update README.md
This commit is contained in:
parent
157b2fa5e9
commit
41d699859f
33
README.md
33
README.md
@ -8,15 +8,10 @@ emuliert ein Hörmann HAP 1 HCP auf dem ESP8622.<br/>
|
|||||||
- Schalten eines Relay mit der Beleuchtung
|
- Schalten eines Relay mit der Beleuchtung
|
||||||
|
|
||||||
## WebInterface:
|
## WebInterface:
|
||||||
<br/>
|
|
||||||
<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>
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
## WebService:
|
## WebService:
|
||||||
<br/>
|
### Aktion ausführen
|
||||||
Aktion ausführen<br/>
|
|
||||||
http://<deviceip>/command?action=<id>
|
http://<deviceip>/command?action=<id>
|
||||||
| Action | Beschreibung |
|
| Action | Beschreibung |
|
||||||
| --- | --- |
|
| --- | --- |
|
||||||
@ -27,12 +22,11 @@ http://<deviceip>/command?action=<id>
|
|||||||
| 4 | 1/2 öffnen |
|
| 4 | 1/2 öffnen |
|
||||||
| 5 | Lampe an/an |
|
| 5 | Lampe an/an |
|
||||||
|
|
||||||
<br/>
|
|
||||||
Status abfragen<br/>
|
### Status abfragen:
|
||||||
http://<deviceip>/status
|
http://<deviceip>/status
|
||||||
<br/>
|
|
||||||
Response:
|
Response:
|
||||||
<br/>
|
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
"valid" : true,
|
"valid" : true,
|
||||||
@ -44,32 +38,17 @@ Response:
|
|||||||
"lastresponse" : 0
|
"lastresponse" : 0
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Pinout RS485 (Plug):
|
## Pinout RS485 (Plug):
|
||||||
<br/>
|
|
||||||
<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>
|
|
||||||
1. GND (Blue)
|
1. GND (Blue)
|
||||||
2. GND (Yellow)
|
2. GND (Yellow)
|
||||||
3. B- (Green)
|
3. B- (Green)
|
||||||
4. A+ (Red)
|
4. A+ (Red)
|
||||||
5. +25V (Black)
|
5. +25V (Black)
|
||||||
6. +25V (White)
|
6. +25V (White)
|
||||||
</kbd>
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
## RS485 Adapter:
|
## RS485 Adapter:
|
||||||
<br/>
|
![alt text](https://github.com/hkiam/HCPBridge/raw/master/Images/rs485board-min.png)
|
||||||
<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!
|
Zwischen A+ (Red) und B- (Green) ist ein 120 Ohm Widerstand zum terminieren des BUS!
|
||||||
<br/>
|
|
||||||
|
Loading…
Reference in New Issue
Block a user