feat: add v3 hardware case and update hub network
CI/CD / lint-and-typecheck (pull_request) Failing after 14m12s
CI/CD / test (pull_request) Has been cancelled
CI/CD / build (pull_request) Has been cancelled
CI/CD / deploy (pull_request) Has been cancelled

This commit is contained in:
2026-05-22 16:58:11 -04:00
parent f4bf37d6a3
commit c5cbeabd92
17 changed files with 314 additions and 36 deletions
+7 -7
View File
@@ -9,8 +9,8 @@
# Options:
# --config PATH Path to config.yaml template to copy to /opt/remoterig/
# --service-user USER Systemd service user (default: pi)
# --static-ip IP Static IP for wlan0 (default: 192.168.4.10/24)
# --gateway IP Gateway for wlan0 (default: 192.168.4.1)
# --static-ip IP Static IP for wlan0 (default: 10.60.1.56/24)
# --gateway IP Gateway for wlan0 (default: 10.60.1.1)
# --help Show this help
set -euo pipefail
@@ -20,8 +20,8 @@ set -euo pipefail
# ---------------------------------------------------------------------------
CONFIG_TEMPLATE=""
SERVICE_USER="pi"
STATIC_IP="192.168.4.10/24"
GATEWAY="192.168.4.1"
STATIC_IP="10.60.1.56/24"
GATEWAY="10.60.1.1"
MOSQUITTO_PKG="mosquitto mosquitto-clients"
DEPLOY_DIR="/opt/remoterig"
SERVICE_NAME="remoterig"
@@ -324,13 +324,13 @@ echo " Next steps:"
echo " 1. Build the remoterig binary for ARM64:"
echo " GOOS=linux GOARCH=arm64 go build -o remoterig ./cmd/server"
echo " 2. Copy binary to Pi:"
echo " scp remoterig pi@192.168.4.10:/opt/remoterig/"
echo " scp remoterig pi@10.60.1.56:/opt/remoterig/"
echo " 3. Copy config if needed:"
echo " scp config.yaml pi@192.168.4.10:/opt/remoterig/"
echo " scp config.yaml pi@10.60.1.56:/opt/remoterig/"
echo " 4. Start the service:"
echo " sudo systemctl start remoterig"
echo " 5. Check health:"
echo " curl http://192.168.4.10:8080/health"
echo " curl http://10.60.1.56:8080/health"
echo ""
echo " To deploy updates, use: scripts/deploy.sh"
echo "=============================================="