Scan the devices connected to your WIFI / LAN and alert you the connection of unknown devices. It also warns if a "always connected" device disconnects. In addition, it is possible to check web services for availability. For this purpose HTTP status codes and the response time of the service are evaluated.
[X] I have searched the existing issues and the Help/FAQ section of Pi.Alert
Current Behavior
First of all, happy 2-year anniversary of this great project! Congratulations!
There's a bug with the AUTO_DB_BACKUP_KEEP setting. It doesn't work well for DB file backups; it works well for .conf file backups.
I have this setting in pialert.conf:
AUTO_DB_BACKUP = True
AUTO_DB_BACKUP_CRON = '3 19 /2 *'
AUTO_DB_BACKUP_KEEP = 9
The backups work fine for both DB backup & .conf backup as you can see from the attached screenshots, but the AUTO_DB_BACKUP_KEEP is not working properly as it only keeps 5 copies of DB files instead of 9....for pialert.conf it works fine keeping 9 copies as expected.
Environment
OS: Raspberry Pi OS 12 bookworm , Native
Linux 6.6.28+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.28-1+rpt1 (2024-04-22) aarch64
Anything else?
Pi.Alert .conf backups (9 files OK as expected):
Pi.Alert DB backups (just 5 files, not 9 as expected):
Is there an existing issue for this?
Current Behavior
First of all, happy 2-year anniversary of this great project! Congratulations!
There's a bug with the AUTO_DB_BACKUP_KEEP setting. It doesn't work well for DB file backups; it works well for .conf file backups. I have this setting in pialert.conf: AUTO_DB_BACKUP = True AUTO_DB_BACKUP_CRON = '3 19 /2 *' AUTO_DB_BACKUP_KEEP = 9
The backups work fine for both DB backup & .conf backup as you can see from the attached screenshots, but the AUTO_DB_BACKUP_KEEP is not working properly as it only keeps 5 copies of DB files instead of 9....for pialert.conf it works fine keeping 9 copies as expected.
Environment
OS: Raspberry Pi OS 12 bookworm , Native Linux 6.6.28+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.28-1+rpt1 (2024-04-22) aarch64
Anything else?
Pi.Alert .conf backups (9 files OK as expected):
Pi.Alert DB backups (just 5 files, not 9 as expected):