Introducción
En entornos de Raspberry Digital Signage, disponer de un almacenamiento en la nube con interfaz de línea de comandos (CLI) es fundamental para automatizar subidas y descargas de contenidos multimedia, sincronizar carpetas y garantizar actualizaciones remotas de señales digitales. En este artículo repasamos los mejores servicios cloud con CLI que funcionan en distribuciones Linux de Raspberry Pi, comparándolos, detallando recomendaciones y explicando cómo usarlos.
Servicios recomendados
- pCloud (https://www.pcloud.com)
- MEGA (https://mega.io)
- Proton Drive (https://proton.me/drive)
- Filen (https://filen.io)
- Tresorit (https://tresorit.com)
- Icedrive (https://icedrive.net)
- Dropbox (https://www.dropbox.com)
- Google Drive (https://www.google.com/drive)
- Nextcloud (autoalojado) (https://nextcloud.com)
Comparativa
| Servicio | CLI oficial / rclone | Almacenamiento gratis | Encriptación | P. entrada (€ / mes) | Enlace |
|---|---|---|---|---|---|
| pCloud | no oficial / rclone | 10 GB | opcional cliente | 4,99 | pcloud.com |
| MEGA | megacmd | 20 GB bonos | end-to-end | 4,99 | mega.io |
| Proton Drive | proton-drive-cli | 1 GB | end-to-end | 3,99 | proton.me/drive |
| Filen | filencli | 10 GB | end-to-end | 2,50 | filen.io |
| Tresorit | t3x-cli | 3 GB | end-to-end | 10,00 | tresorit.com |
| Icedrive | no oficial / rclone | 10 GB | opcional cliente | 1,67 | icedrive.net |
| Dropbox | dropbox-cli / rclone | 2 GB | servidor-side | 9,99 | dropbox.com |
| Google Drive | gdrive / rclone | 15 GB | servidor-side | 1,99 (100 GB) | google.com/drive |
| Nextcloud | nextcloud-client | depende | depende | autoalojado | nextcloud.com |
¿Cuál elegir?
- Para mejor relación precio/encriptación: Filen o Proton Drive.
- Para máxima cuota gratis: MEGA (20 GB iniciales).
- Para integración sencilla con rclone y scripts: Google Drive y Dropbox.
- Para desplegar tu propio servidor: Nextcloud (control total).
- Para señales digitales con alta seguridad y endpoint compartido: Tresorit.
Instalación y uso con CLI
1. pCloud (rclone)
rclone soporta pCloud sin cliente oficial. Instalar:
curl https://rclone.org/install.sh sudo bash
Configurar cuenta:
rclone config # > n (nuevo remote) # name: pcloud # storage: pcloud # client_id/secret: (opcional) # token: abrir enlace, autorizar y pegar JSON
Subir carpeta:
rclone copy /home/pi/signage pcloud:signage --verbose
Problemas típicos:
- Token expira si no usas refreshtoken.
- Limites API: reduce velocidad con –bwlimit.
2. MEGA (megacmd)
Instalación:
sudo apt update sudo apt install snapd sudo snap install megacmd
Login y comandos:
mega-login tu-email@mail.com mega-sync /home/pi/signage /Root/signage mega-upload /home/pi/video.mp4 /Root/videos
Problemas:
- Sincronización bidireccional lenta en Pi Zero.
- Error “quota exceeded” si superas 50 GB sin verificar cuenta.
3. Proton Drive (proton-drive-cli)
Instalación (requiere Python3):
sudo apt update sudo apt install python3-pip pip3 install proton-drive-cli
Autenticación:
proton-drive login # Aparecerá enlace, loguea y pega código
Subir archivo:
proton-drive upload /home/pi/signage.png --folder-id YOUR_FOLDER_ID
Problemas:
- Rate limit en descargas concurrentes.
- Gestión de ID de carpetas puede ser confusa.
4. Filen (filencli)
Instalación:
curl -sSL https://filen.io/install.sh bash
Configuración:
filencli login filencli folder create signage
filencli put /home/pi/image.jpg signage
Problemas:
- Timeout en Raspberry Pi 3, ajustar –timeout.
5. Tresorit (t3x-cli)
Instalación:
wget https://download.tresorit.com/t3x/cli/apt/Release.key -O - sudo apt-key add - echo deb [arch=armhf] https://download.tresorit.com/t3x/cli/apt/ stable main sudo tee /etc/apt/sources.list.d/tresorit.list sudo apt update sudo apt install t3x-cli
Uso:
t3x login t3x vault sync --local /home/pi/signage --remote SignageVault
Problemas:
- Requiere Vault inicial cargado desde GUI o Windows.
6. Icedrive (rclone)
Configurar con rclone:
rclone config # n, name: icedrive, storage: icedrive # client_id/secret: (obtenidos del panel) # token: pegar JSON
Ejemplo:
rclone sync /home/pi/videos icedrive:videos
7. Dropbox / Google Drive / Nextcloud
Con rclone o clientes nativos:
# Dropbox rclone config # storage: dropbox rclone copy test.txt dropbox:Backup # Google Drive rclone config # storage: drive rclone sync /home/pi osofi-drive:Signage # Nextcloud sudo apt install nextcloud-client nextcloud --user tuusuario --password tupass sync /home/pi/signage https://mi.nextcloud/remote.php/dav/files/tuusuario/signage
Problemas frecuentes:
- OAuth requiere navegador (usar device code si no hay GUI).
- ESPACIO en SD: montar cache en USB.
Conclusiones y consejos
- Para despliegues simples y gratuitos, MEGA con
megacmdo Google Drive con rclone. - Para alta seguridad, Proton Drive o Tresorit.
- Para máxima flexibilidad y control, Nextcloud autoalojado.
- Automatiza tus sincronizaciones con cron y ajusta límites de ancho de banda (
--bwlimiten rclone). - Monitorea logs y usa retries en scripts (
sleep 30 ampamp retry).
Con estas opciones tendrás tu Raspberry Digital Signage siempre actualizada, segura y sincronizada desde cualquier lugar mediante CLI.
Sé el primero en dejar un comentario