gromet

command module
v0.0.0-...-0332955 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2024 License: MIT Imports: 15 Imported by: 0

README

gromet: the go MET server

gromet is a small server for multiplexing access to Paroscientific, Inc. MET3/4/4A Meteorological Measurement System and Vaisala WMT70x Ultrasonic Wind Sensors. It currenlty only supports Perle serial-to-ethernet converter, though local serial connections or other s2e devices may be added upon request.

Installation

(You must have the go language installed. With FSLx this is usually done with fsadapt as root.)

As root:

cd /usr2
git clone https://github.com/nvi-inc/gromet.git
chmod -R prog.rtx gromet

As prog:

cat <<EOF >>~/.profile
export GOPATH=~/go
PATH="$GOPATH/bin:/usr/local/go/bin:$PATH"
EOF
. ~/.profile
cd /usr2/gromet
make

As root:

git config --global --add safe.directory /usr2/gromet
make install

This installs gromet and configures it to run on startup.

Then edit the configuration in /usr2/control/gromet.yml point to your serial-to-ethernet converter, and start gromet with

systemctl start gromet

Note, this installation assumes you are using standard FS Linux directories (under /usr2) and user oper and that you are using a systemd based OS. If this do not match your setup, edit the Makefile appropriately.

Upgrading

To upgrade, fetch the new source and reinstall

cd /usr2/gromet
git pull
make

If an update to the service is needed, then as root:

make install
systemctl restart gromet

You will be prompted to overwrite your configuration or not. Typically, you don't want to overwrite /usr2/control/gromet.yml but it may need to be updated.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL