From 5bd372de8893fe4547d849a3aa6507da07db72e7 Mon Sep 17 00:00:00 2001 From: jokob-sk <96159884+jokob-sk@users.noreply.github.com> Date: Sun, 4 Dec 2022 18:03:01 +1100 Subject: [PATCH] MQTT PUSHPROD --- config/pialert.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/pialert.conf b/config/pialert.conf index e9103741..bc4e1690 100755 --- a/config/pialert.conf +++ b/config/pialert.conf @@ -17,6 +17,7 @@ PIALERT_WEB_PROTECTION = False PIALERT_WEB_PASSWORD = '8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12020c923adc6c92' # Specifies which events trigger notofications. Remove the event type(s) you don't want to get notified on (overrides device-specific settings in the UI). INCLUDED_SECTIONS = ['internet', 'new_devices', 'down_devices', 'events'] +SCAN_CYCLE_MINUTES = 5 # delay between scans # EMAIL settings # ---------------------- @@ -24,7 +25,7 @@ SMTP_SERVER = 'smtp.gmail.com' SMTP_PORT = 587 SMTP_USER = 'user@gmail.com' SMTP_PASS = 'password' -SMTP_SKIP_TLS = False +SMTP_SKIP_TLS = False SMTP_SKIP_LOGIN = False REPORT_MAIL = False @@ -73,6 +74,7 @@ MQTT_PORT = 1883 MQTT_USER = 'mqtt' MQTT_PASSWORD = 'passw0rd' MQTT_QOS = 0 +MQTT_DELAY_SEC = 2 # delay in seconds, increase if not all devices are created in Home Assistant # DynDNS # ----------------------