+++ /dev/null
-#
-# Copyright (C) 2010 segal.ubi.pt
-# Copyright (C) 2014 nunojpg@gmail.com
-# Copyright (C) 2015 dev@localnet.hu
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=open2300
-PKG_SOURCE_DATE:=2014-03-04
-PKG_SOURCE_VERSION:=1af8ae609da66f8e1b745533c19095c9758bfb0b
-PKG_RELEASE:=3
-
-PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=https://github.com/wezm/open2300
-PKG_MIRROR_HASH:=761a198e988bb0d64bce6a2a6699625ef0bda7459b0ab05a256e234a2cdcbc09
-
-PKG_MAINTAINER:=Gabor SZOLLOSI <dev@localnet.hu>
-PKG_LICENSE:=GPL-2.0-or-later
-PKG_LICENSE_FILES:=COPYING
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/open2300
- SECTION:=utils
- CATEGORY:=Utilities
- TITLE:=WS23XX weather station utilities
- URL:=http://www.lavrsen.dk/foswiki/bin/view/Open2300
-endef
-
-define Package/open2300/description
- This is an utility suite used to communicate with and collect data from a WS23XX weather station.
-endef
-
-MAKE_FLAGS += \
- UNAME=Linux
-
-define Package/open2300/install
- $(INSTALL_DIR) $(1)/usr/bin
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin2300 $(1)/usr/bin/
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/cw2300 $(1)/usr/bin/
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/dump2300 $(1)/usr/bin/
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/fetch2300 $(1)/usr/bin/
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/histlog2300 $(1)/usr/bin/
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/history2300 $(1)/usr/bin/
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/interval2300 $(1)/usr/bin/
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/light2300 $(1)/usr/bin/
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/log2300 $(1)/usr/bin/
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/minmax2300 $(1)/usr/bin/
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/open2300 $(1)/usr/bin/
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/wu2300 $(1)/usr/bin/
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/xml2300 $(1)/usr/bin/
-
- $(INSTALL_DIR) $(1)/etc
- $(INSTALL_DATA) ./files/open2300.conf $(1)/etc/
-
- $(INSTALL_DIR) $(1)/usr/lib
- $(INSTALL_DATA) $(PKG_BUILD_DIR)/lib2300.so.1.11 $(1)/usr/lib/
- $(LN) lib2300.so.1.11 $(1)/usr/lib/lib2300.so
-endef
-
-$(eval $(call BuildPackage,open2300))
+++ /dev/null
-# open2300.conf
-#
-# Configuration files for open2300 weather station tools
-#
-# Default locations in which the programs will search for this file:
-# Programs search in this sequence:
-# 1. Path to config file including filename given as parameter (not supported by all tools)
-# 2. ./open2300.conf (current working directory)
-# 3. /jffs/etc/open2300.conf (typical DD-WRT location)
-# 4. /etc/open2300.conf (typical Linux location)
-#
-# All names are case sensitive!!!
-
-
-# Set to your serial port and time zone
-# For Windows use COM1, COM2, COM2 etc
-# For Linux use /dev/ttyS0, /dev/ttyS1 etc
-
-SERIAL_DEVICE /dev/tts/1 # /dev/ttyS0, /dev/ttyS1, COM1, COM2 etc
-TIMEZONE 1 # Hours Relative to UTC. East is positive, west is negative
-
-
-# Units of measure (set them to your preference)
-# The units of measure are ignored by wu2300 and cw2300 because both requires specific units
-
-WIND_SPEED m/s # select MPH (miles/hour), m/s, or km/h
-TEMPERATURE C # Select C or F
-RAIN mm # Select mm or IN
-PRESSURE hPa # Select hPa, mb or INHG
-
-
-#### Citizens Weather variables (used only by cw2300)
-# Format for latitude is
-# [2 digit degrees][2 digit minutes].[2 decimals minutes - NOT seconds][N for north or S for south]
-# Format for longitude is
-# [3 digit degrees][2 digit minutes].[2 decimals minutes - NOT seconds][E for east or W for west]
-# Use leading zeros to get the format ####.##N (lat) and #####.##E (long)
-
-CITIZEN_WEATHER_ID CW0000 # CW0000 should be replaced by HAM call or actual CW number
-CITIZEN_WEATHER_LATITUDE 5540.12N # DDMM.mmN or S - example 55 deg, 40.23 minutes north
-CITIZEN_WEATHER_LONGITUDE 01224.60E # DDDMM.mmE or W - example 12 deg, 24.60 minutes east
-
-APRS_SERVER rotate.aprs.net 14580 # These are the APRS servers and ports for
-APRS_SERVER first.aprs.net 14580 # Citizens Weather reporting.
-APRS_SERVER second.aprs.net 14580 # They they are tried in the entered order
-APRS_SERVER third.aprs.net 14580 # you may enter up to 5 alternate servers
-
-
-#### WEATHER UNDERGROUND variables (used only by wu2300)
-
-WEATHER_UNDERGROUND_ID WUID # ID received from Weather Underground
-WEATHER_UNDERGROUND_PASSWORD WUPASSWORD # Password for Weather Underground
-
-
-### MYSQL Settings (only used by mysql2300)
-
-#MYSQL_HOST localhost # Localhost or IP address/host name
-#MYSQL_USERNAME open2300 # Name of the MySQL user that has access to the database
-#MYSQL_PASSWORD mysql2300 # Password for the MySQL user
-#MYSQL_DATABASE open2300 # Named of your database
-#MYSQL_PORT 0 # TCP/IP Port number. Zero means default
-
-#PGSQL_CONNECT hostaddr='127.0.0.1'dbname='open2300'user='postgres'password='sql' # Connection string
-#PGSQL_TABLE weather # Table name
-#PGSQL_STATION open2300 # Unique station id