FUP-Anemometer/start_fup_anemometer.sh
2024-06-25 00:37:17 +02:00

12 lines
374 B
Bash

#!/bin/sh
INSTALL_DIR="fup_anamometer"
METEOBRIDGE_URL="http://192.168.0.39/"
METEOBRIDGE_USER="meteobridge"
METEOBRIDGE_PASSWD="meteobridge"
MAX_HOST="localhost"
MAX_PORT=2222
cd $HOME/$INSTALL_DIR
source $HOME/$INSTALL_DIR/bin/activate
cd $HOME/$INSTALL_DIR
./fup-anemometer.py -url $METEOBRIDGE_URL -u $METEOBRIDGE_USER -p $METEOBRIDGE_PASSWD -mh $MAX_HOST -mp $MAX_PORT