AVLA Station Setup Guide
1) Connect to the Station (SSH)
Connect to your station over the local network. Default user is usually pi.
# via mDNS
ssh [email protected]
# or via IP
ssh pi@<STATION_IP>
- Change username and port if needed.
- First connect may ask for host key fingerprint confirmation.
2) Download the App Package
Download the latest signed versioned zip and extract it.
curl -L -o avla-station.zip https://avla.talivio.com/downloads/latest
unzip -q avla-station.zip -d avla-station
cd avla-flutter/station
sha256sum avla-manager.zipGet-FileHash .\avla-manager.zip -Algorithm SHA256sha256 field for the corresponding version in https://avla.talivio.com/downloads/manifest.json.3) Station (Raspberry Pi) Setup
Requires Python 3.9+. Run these on the Pi.
# One-shot auto install (run as root)
sudo bash flutter/install.sh
# Then adjust config
nano ~/avla-manager/flutter/config.json
- Fill
X-Station-IdandX-Station-Keyinconfig.json. - Backend URL:
https://avla.talivio.com/api/v1/
4) Start the Service
cd ~/avla-manager/station && source .venv/bin/activate && python main.py
In production, run the station as a systemd service.
5) Updates (OTA and Manual)
Ensure config.json → update.enabled=true and public_key is configured. The station checks hourly, verifies signature and SHA256, then applies atomic update.
# Stop systemd service (if any)
sudo systemctl stop iot-station || true
# Download and extract in a temp dir
mkdir -p /tmp/avla_update && cd /tmp/avla_update
curl -L -o avla-station.zip https://avla.talivio.com/downloads/latest
unzip -q avla-station.zip
# Update only the station folder (preserve current structure)
cp -a avla-flutter/flutter/* ~/avla-manager/flutter/
# Update dependencies
cd ~/avla-manager/station
source .venv/bin/activate
pip install -U pip setuptools wheel
pip install -r requirements.txt
# Start service (or run in foreground)
sudo systemctl start iot-station || python main.py
Note: Back up ~/avla-manager before manual updates.
Troubleshooting
- Camera not working: Enable camera via
raspi-config; add user tovideogroup. - I²C devices missing: Enable I²C and scan with
sudo i2cdetect -y 1. - pip/venv issues: Ensure
python3-venvis installed; recreate the virtualenv.