HA-Webhook Beispiel korrigiert
This commit is contained in:
parent
ce5baaac35
commit
730e1a044c
@ -79,7 +79,7 @@ Das Paßwort ist hier nur *plweb* - es sollte besser ein anderes benutzt werden.
|
|||||||
In der Datei `config.php` können folgende Parameter eingestellt werden:
|
In der Datei `config.php` können folgende Parameter eingestellt werden:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$hawebhook = "http://homeassistant:8123/webhook/plweb";
|
$hawebhook = "http://homeassistant:8123/api/webhook/plweb";
|
||||||
$dbconnstring = "host=localhost dbname=plweb user=plweb password=plweb";
|
$dbconnstring = "host=localhost dbname=plweb user=plweb password=plweb";
|
||||||
$test_url = "https://example.com/plweb/test.php?";
|
$test_url = "https://example.com/plweb/test.php?";
|
||||||
```
|
```
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
$hawebhook = "http://homeassistant:8123/webhook/plweb"; // Webhook-URL von Home Assistant
|
$hawebhook = "http://homeassistant:8123/api/webhook/plweb"; // Webhook-URL von Home Assistant
|
||||||
$dbconnstring = "host=localhost dbname=plweb user=plweb password=plweb";
|
$dbconnstring = "host=localhost dbname=plweb user=plweb password=plweb";
|
||||||
$test_url = "https://example.com/plweb/test.php?";
|
$test_url = "https://example.com/plweb/test.php?";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user