„README.md“ ändern

This commit is contained in:
Manuel Kamper 2023-04-09 16:10:25 +00:00
parent fa02b5cb38
commit 8737920133
1 changed files with 20 additions and 1 deletions

View File

@ -88,7 +88,10 @@ ringdoor - Sends "ring doorbell" message to TCS:Bus
ringfrontdoor - Sends "ring front doorbell" message to TCS:Bus
## FHEM API
Not implemented yet. Until I implement it, you can use HTTPMOD to control the TCS2FHEM device from FHEM, using the above API commands. See this following basic example:
With the FHEM API you interconnect your FHEM instance with your TCS2FHEM device. It allows you for example control the door trigger via FHEM or handle incoming TCS:Bus messages within FHEM to send you a notification or anything else. In this example configuration, we set up a HTTPMOD device in FHEM to control your TCS2FHEM device within FHEM, using the above API commands.
### Exampe of a HTTPMOD device in FHEM to control TCS2FHEM via API
```
define TCS2FHEM HTTPMOD 0
@ -107,5 +110,21 @@ attr TCS2FHEM set03URL http://servername/api_key/togglepartymode
attr TCS2FHEM webCmd triggerDoor:triggerLight:togglePartyMode
```
### Example of Notify and Dummy device in FHEM to send a message to your smartphone
```
define TCS_Door dummy
setuuid TCS_Door 63a1c02e-f33f-1b7d-29b2-21917943a9d12101
attr TCS_Door room TCS
attr TCS_Door setList idle ringed
```
```
define n_TCS_Door notify TCS_Door:ringed set Talk msg Jemand hat an der Wohnungstür angeläutet;; set TCS_Door idle
setuuid n_TCS_Door 63a1c0c2-f33f-1b7d-fe89-1e89dde293580eb1
attr n_TCS_Door disabledAfterTrigger 10
attr n_TCS_Door room TCS
```
## Legal remarks
I am not affiliated to TCSAG and/or any of their brands and/or trademarks, nor do I have any business information on the proprietary TCS:Bus. I just reverse engineered it, to include my intercom system into my home automation and shared my research here. All Rights to the possible Trademark TCS:Bus and all things connected, remain untouched by this open source project.