You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the rpi, @time-trader made a readme (see below) for aspects of how to connect to different things. I'll be wiping this soon (and anyway raspberry pis shouldn't be considered permanent storage, their SSDs are notoriously unreliable).
Here's the text, it should be merged into the relevant bits of the docs
To connect to RaspPI, contact Juri, to get VPN keys:
Option 1: Husarnet
ssh pi@base-station
Option 2: WireGuard VPN:
ssh [email protected]
Pass: REDACTED
To use the gateway:
1.Activate a virtual environment:
source /home/pi/flasks/gateway/bin/activate
2.Use gateway command:
gateway
2.2 For the gateway to store data into the BigQuery SQL database, make sure the "installation" exists. The instalation is defined in the configuration json file.
If one wishes to make a new installation:
gateway create-installation --config-file="/home/pi/data_gateway_configurations/.json"
2.3
EXAMPLES:
To start gateway with upload to cloud, and a pre-defined routine:
gateway start --gcp-project-name=aerosense-twined --gcp-bucket-name=aerosense-ingress-eu --config-file="/home/pi/data_gateway_configurations/configuration.json" --routine-file="/home/pi/data_gateway_configurations/routine-pret4.json"--window-size=60
IF you wish to run in interactive mode (no upload to cloud) :
gateway start --config-file="/home/pi/data_gateway_configurations/configuration.json" --window-size=60 -l -nc -i
The text was updated successfully, but these errors were encountered:
Feature request
On the rpi, @time-trader made a readme (see below) for aspects of how to connect to different things. I'll be wiping this soon (and anyway raspberry pis shouldn't be considered permanent storage, their SSDs are notoriously unreliable).
Here's the text, it should be merged into the relevant bits of the docs
To connect to RaspPI, contact Juri, to get VPN keys: Option 1: Husarnet ssh pi@base-station Option 2: WireGuard VPN: ssh [email protected]Pass: REDACTED
To use the gateway:
1.Activate a virtual environment:
source /home/pi/flasks/gateway/bin/activate
2.Use gateway command:
gateway
2.1
For help:
gateway --help
gateway start --help
gateway create-installation --help
2.2 For the gateway to store data into the BigQuery SQL database, make sure the "installation" exists. The instalation is defined in the configuration json file.
....
"installation_data": {
"installation_reference": "ost-wt-evaluation",
"longitude": "001",
"latitude": "001",
"turbine_id": "OST_WIND",
"blade_id": "BAV01",
"hardware_version": "2.1",
"sensor_coordinates": {.....}
}
....
If one wishes to make a new installation:
gateway create-installation --config-file="/home/pi/data_gateway_configurations/.json"
2.3
EXAMPLES:
To start gateway with upload to cloud, and a pre-defined routine:
gateway start --gcp-project-name=aerosense-twined --gcp-bucket-name=aerosense-ingress-eu --config-file="/home/pi/data_gateway_configurations/configuration.json" --routine-file="/home/pi/data_gateway_configurations/routine-pret4.json"--window-size=60
IF you wish to run in interactive mode (no upload to cloud) :
gateway start --config-file="/home/pi/data_gateway_configurations/configuration.json" --window-size=60 -l -nc -i
The text was updated successfully, but these errors were encountered: