Edwin Noorlander 29dd118dc3 Initial Arduino UNO Q template with LED Matrix functionality
- Complete MPU-MCU communication setup
- LED Matrix text display with configurable parameters
- Configuration management with personal data protection
- Git template with .gitignore for sensitive data
- Automated build and deployment scripts
- SSH key management and service scripts
2025-11-13 12:26:47 +01:00

15 lines
485 B
Bash
Executable File

#!/bin/bash
# Logs script using config.json
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
PROJECT_ROOT="$(dirname "$SCRIPT_DIR")"
PYTHONPATH="$PROJECT_ROOT/lib:$PYTHONPATH"
python3 -c "
import sys
sys.path.insert(0, '$PROJECT_ROOT/lib')
from config_loader import config
arduino_config = config.get_arduino_config()
print(f'ssh -i {arduino_config[\"ssh_key\"]} {arduino_config[\"user\"]}@{arduino_config[\"hostname\"]} \"journalctl --user -u arduino-unoq -f\"')
" | bash