diff --git a/front/plugins/arp_scan/config.json b/front/plugins/arp_scan/config.json
index 0a0d241a..88d4d0b0 100755
--- a/front/plugins/arp_scan/config.json
+++ b/front/plugins/arp_scan/config.json
@@ -53,7 +53,7 @@
}],
"description": [{
"language_code":"en_us",
- "string" : "When enabled, ONCE is the preferred option. It runs at startup and after every save of the config here.
Changes will only show in the devices after the next scan!"
+ "string" : "Specify when your Network-discovery scan will run. Typical setting would be schedule and then you specify a cron-like schedule in the ARPSCAN_RUN_SCHDsetting "
}]
},
{
diff --git a/front/plugins/pihole_scan/config.json b/front/plugins/pihole_scan/config.json
index 1898f013..d1e849d7 100755
--- a/front/plugins/pihole_scan/config.json
+++ b/front/plugins/pihole_scan/config.json
@@ -48,7 +48,7 @@
{
"function": "RUN",
"type": "text.select",
- "default_value":"schedule",
+ "default_value":"disabled",
"options": ["disabled", "once", "schedule", "always_after_scan", "on_new_device"],
"localized": ["name", "description"],
"name" :[{
@@ -57,7 +57,7 @@
}],
"description": [{
"language_code":"en_us",
- "string" : "When enabled, ONCE is the preferred option. It runs at startup and after every save of the config here.
Changes will only show in the devices after the next scan!"
+ "string" : "Specify when your PiHole device import from the PiHole databse will run. The typical setting would be schedule and then you specify a cron-like schedule in the PIHOLE_RUN_SCHDsetting. If enabled, you must map the pihole db into your container to the /etc/pihole/pihole-FTL.db mount path."
}]
},
@@ -99,7 +99,7 @@
{
"function": "RUN_SCHD",
"type": "text",
- "default_value":"*/3 * * * *",
+ "default_value":"*/30 * * * *",
"options": [],
"localized": ["name", "description"],
"name" : [{
@@ -108,7 +108,7 @@
}],
"description": [{
"language_code":"en_us",
- "string" : "Only enabled if you select schedule in the ARPSCAN_RUN setting. Make sure you enter the schedule in the correct cron-like format (e.g. validate at crontab.guru). For example entering */3 * * * * will run the scan every 3 minutes. Will be run NEXT time the time passes."
+ "string" : "Only enabled if you select schedule in the ARPSCAN_RUN setting. Make sure you enter the schedule in the correct cron-like format (e.g. validate at crontab.guru). For example entering */30 * * * * will run the scan every 30 minutes. Will be run NEXT time the time passes."
}]
},
{
diff --git a/pialert/plugin.py b/pialert/plugin.py
index 5d996dae..6e1d938c 100755
--- a/pialert/plugin.py
+++ b/pialert/plugin.py
@@ -1,4 +1,5 @@
import os
+import sqlite3
import json
import subprocess
import datetime