1
0

README ergänzt, HA-Benachrichtigung optional

This commit is contained in:
Anna Christina Naß
2025-07-16 10:11:20 +02:00
parent fdc2eb6c07
commit d48080da27
3 changed files with 75 additions and 11 deletions

View File

@@ -1,7 +1,16 @@
<?php
$hawebhook = "http://homie:8123/api/webhook/plweb"; // Webhook-URL von Home Assistant
# Benachrichtigung via Home Assistant
# Hier die Webhook-URL eintragen:
$hawebhook = "http://homie:8123/api/webhook/plweb";
# Alternativ: Feld leer lassen, um Benachrichtigung zu deaktivieren:
# $hawebhook = ""; // HA-Benachrichtigung deaktivieren
# Datenbank-Verbindung:
$dbconnstring = "host=localhost dbname=plweb user=plweb password=plweb";
# URL zu PlusLifeWeb, wird für die Home Assistant-Benachrichtigung benutzt.
# Ans Ende wird die ID des Tests angefügt.
$test_url = "https://sinclair.narnia.lan/plweb/test.php?id=";
?>