„README.md“ ändern

This commit is contained in:
Manuel Kamper 2023-04-09 16:20:46 +00:00
parent 8737920133
commit 8f296c049f
1 changed files with 23 additions and 1 deletions

View File

@ -91,7 +91,19 @@ ringfrontdoor - Sends "ring front doorbell" message to TCS:Bus
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
### Example Setup of FHEMWEB in FHEM for TCS2FHEM as API
You need to give yout TCS2FHEM device a static IP address within your network. Then you need to make a new FHEMWEB to work only with the static IP of your TCS2FHEM device withour the csrfToken.
```
define WEBapi FHEMWEB 8086 global
attr WEBapi csrfToken none
attr WEBapi allowfrom your-TCS2FHEM-static-IP|127.0.0.1
```
### Exampe of a HTTPMOD device in FHEM to control TCS2FHEM
This device is used to trigger actions from FHEM via TCS2FHEM API. In this Example you can trigger the door, the front door and the light.
```
define TCS2FHEM HTTPMOD 0
@ -112,6 +124,8 @@ attr TCS2FHEM webCmd triggerDoor:triggerLight:togglePartyMode
### Example of Notify and Dummy device in FHEM to send a message to your smartphone
This dummy device is used to represent the state. Idle means, there is no action. The state 'ringed' is set if someone rings your doorbell and the TCS2FHEM device sets it. The notify device in FHEM is used to see the change from idle to ringed, and you can perform your wanted action in FHEM.
```
define TCS_Door dummy
setuuid TCS_Door 63a1c02e-f33f-1b7d-29b2-21917943a9d12101
@ -126,5 +140,13 @@ attr n_TCS_Door disabledAfterTrigger 10
attr n_TCS_Door room TCS
```
### Example of Notify and Dummy device in FHEM for Partymode
If you decide to not use the builtin Partymode in your TCS2FHEM device, you can set up a Partymode in FHEM. This may be useful, if you want to trigger more actions as it would be possible with just the TCS2FHEM device.
```
coming soon...
```
## 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.