Retrieves observations from a Davis station and sends them to APRS (TNC or IS (Citizen Weather Observer Program (CWOP))), Weathercloud, and Weather Underground.
$ go generate
$ go build
$ dpkg-buildpackage -uc -us -b
To build packages for other architectures add the --host-arch
option. For
Raspberry Pi use --host-arch armhf
.
The configuration file is formatted as YAML. It contains the Davis Instruments weather station information and a series of uploaders to use.
station:
addr: localhost:8080
lat: 35.7
lon: -78.7
type: DvsVP2+
uploaders:
- name: APRS-IS
type: aprs-is
interval: 3600
dial: tcp://rotate.aprs.net:14580
id: N0CALL-13
password: -1
- name: APRS-RF
type: aprs
interval: 3600
dial: direwolf:8001
id: N0CALL-13
- name: CWOP
type: aprs-is
interval: 300
dial: tcp://cwop.aprs.net:14580
id: aWnnnn
- name: Test
type: "null"
- name: Weathercloud
type: wc
interval: 600
id: 0123
password: deadbeef
- name: Windy
type: windy
interval: 300
id: 0
password: deadbeef
- name: Wunderground
type: wu
interval: 0
id: Kssssssnn
password: deadbeef
Usage of ./station-uploader:
-conf string
config file (default "station-uploader.yaml")
-debug
enable debug mode
$ ./station-uploader
Copyright (c) 2016-2020 Eric Barkie. All rights reserved.
Use of this source code is governed by the MIT license
that can be found in the LICENSE file.