Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
be3ebdb
feat: Auto-enable SPI interface for e-paper HAT during installation
mverteuil Oct 24, 2025
5d13266
feat: Add retry logic for network failures during dependency installa…
mverteuil Oct 24, 2025
83bef17
fix: Use sudo for Redis config file permission checks
mverteuil Oct 24, 2025
a579034
fix: Correct SPI detection logic to check all lines properly
mverteuil Oct 24, 2025
f7fb0f8
feat: Auto-detect device specs for Redis memory limits
mverteuil Oct 25, 2025
db3fbce
feat: Disable unnecessary services on low-memory devices
mverteuil Oct 25, 2025
cede465
feat: Disable swap on low-memory devices
mverteuil Oct 25, 2025
152d3b1
refactor: Move uv and dependency installation to install.sh
mverteuil Oct 25, 2025
ea9749b
feat: Enable SPI early in install.sh with immediate reboot
mverteuil Oct 25, 2025
828b961
feat: Add profile support, Le Potato support, SPI option, and network…
mverteuil Oct 25, 2025
776026d
fix: Use venv python directly to avoid permission issues
mverteuil Oct 27, 2025
9fa164c
fix: Add network readiness check before dependency installation
mverteuil Oct 27, 2025
5083742
fix: Test DNS with git ls-remote before dependency installation
mverteuil Oct 27, 2025
48b5ba8
feat: Add retry message after wait delay
mverteuil Oct 27, 2025
cbd0e19
feat: Add ePaper HAT support and offline installation improvements
mverteuil Oct 28, 2025
eccef59
fix: Improve Le Potato oneshot.sh patching with warning
mverteuil Oct 28, 2025
cee6803
fix: Add missing gpiozero and Pillow dependencies for ePaper HAT
mverteuil Oct 28, 2025
40f33e3
fix: Add progress indicator for Waveshare library download
mverteuil Oct 28, 2025
8790b04
fix: Use sparse-checkout to reduce Waveshare library size
mverteuil Oct 28, 2025
0a785f7
fix: Work around expired LibreComputer GPG key
mverteuil Oct 28, 2025
33e8d8e
fix: Copy Waveshare library to writable location before building
mverteuil Oct 28, 2025
fc4eae9
fix: Make all apt-get operations non-fatal in Le Potato script
mverteuil Oct 28, 2025
b5effa9
fix: Regenerate lockfile after patching Waveshare source
mverteuil Oct 28, 2025
c9ada2d
fix: Update Le Potato apt patch to match 'apt' not just 'apt-get'
mverteuil Oct 28, 2025
5fca4c7
fix: Add lgpio for proper GPIO support on Raspberry Pi OS Bookworm
mverteuil Oct 28, 2025
0c1310e
feat: Add three-color ePaper display models to detection
mverteuil Oct 28, 2025
cb18807
fix: Handle three-color ePaper displays requiring dual buffers
mverteuil Oct 28, 2025
f28d4b5
fix: Add spi and gpio groups to birdnetpi user for ePaper HAT access
mverteuil Oct 28, 2025
2b3ffbe
fix: Install updated LibreComputer keyring for Le Potato GPG key issues
mverteuil Oct 28, 2025
ad33435
fix: Add network wait and validation for LibreComputer keyring download
mverteuil Oct 28, 2025
e2f4887
fix: Correct Waveshare library download size message
mverteuil Oct 28, 2025
ee62e81
fix: Prevent oneshot.sh from overwriting updated LibreComputer GPG keys
mverteuil Oct 28, 2025
157222d
fix: Properly comment out wget line for expired GPG key
mverteuil Oct 28, 2025
8e186b1
fix: Bypass SSL certificate check for keyring download on first boot
mverteuil Oct 28, 2025
108f8b4
fix: Make grub-install non-fatal for Le Potato (uses u-boot)
mverteuil Oct 28, 2025
f483d3c
(fix) Fix variable name referring to birdnet instead of birdnetpi
mverteuil Oct 30, 2025
a467013
fix: Parse API port from config for ePaper health checks
mverteuil Oct 30, 2025
3b8e87d
feat: Add partial refresh support for ePaper displays
mverteuil Oct 30, 2025
c59e6b0
refactor: Reduce _update_display complexity by extracting helper methods
mverteuil Oct 30, 2025
8e3342e
feat: Add timezone support and update timing info to ePaper display
mverteuil Oct 30, 2025
195d485
feat: Set system timezone from config during setup
mverteuil Oct 30, 2025
f96995d
feat: Enable installer to run as root user
mverteuil Nov 2, 2025
4f20a5f
fix: Properly strip sudo flags in subprocess wrapper
mverteuil Nov 2, 2025
e47ef41
fix: Convert sudo -u to su when running setup_app.py as root
mverteuil Nov 2, 2025
98c4f63
fix: Add DBus fallback for timezone setting on DietPi
mverteuil Nov 2, 2025
55aa72a
refactor: Add ServiceRegistry to centralize service management
mverteuil Nov 2, 2025
1afe7a8
refactor: Complete SD card flasher TUI with profile management
mverteuil Nov 2, 2025
b701e55
fix: Add type ignore comments for textual imports in flasher TUI
mverteuil Nov 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions config_templates/redis.conf.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Redis configuration for BirdNET-Pi
# Memory-only mode - no persistence to protect SD card
# Generated for: {{ device_type }} ({{ total_ram_mb }}MB RAM)

# Network settings
bind 127.0.0.1 ::1
protected-mode yes
port 6379
tcp-backlog 511
tcp-keepalive 300
timeout 0

# Memory management
# {{ memory_comment }}
maxmemory {{ maxmemory }}
maxmemory-policy allkeys-lru

# Persistence - DISABLED for memory-only mode
save ""
stop-writes-on-bgsave-error no
rdbcompression no
rdbchecksum no
appendonly no

# Logging
loglevel notice
logfile ""
syslog-enabled no
databases 1

# Performance tuning for small devices
slowlog-log-slower-than 10000
slowlog-max-len 128
latency-monitor-threshold 0
notify-keyspace-events ""
hash-max-ziplist-entries 512
hash-max-ziplist-value 64
list-max-ziplist-size -2
list-compress-depth 0
set-max-intset-entries 512
zset-max-ziplist-entries 128
zset-max-ziplist-value 64
hll-sparse-max-bytes 3000
stream-node-max-bytes 4096
stream-node-max-entries 100
activerehashing yes
client-output-buffer-limit normal 0 0 0
client-output-buffer-limit replica 256mb 64mb 60
client-output-buffer-limit pubsub 32mb 8mb 60
hz 10
dynamic-hz yes

# Disable dangerous commands in production
rename-command FLUSHDB ""
rename-command FLUSHALL ""
rename-command CONFIG "CONFIG_birdnetpi_2024"
Loading
Loading