Skip to content

Instantly share code, notes, and snippets.

@Tech500
Created March 16, 2026 00:19
Show Gist options
  • Select an option

  • Save Tech500/e0577c8a07ff6ae76eafb00f49085e6e to your computer and use it in GitHub Desktop.

Select an option

Save Tech500/e0577c8a07ff6ae76eafb00f49085e6e to your computer and use it in GitHub Desktop.
Middle ware to send weather station data to multiple destinations

[Config]
LOX_IP = none
LOX_PORT = none
LB_IP = 192.168.12.15
LBU_PORT = 12340
LBH_PORT = 8082
LOX_TIME = False
USE_METRIC = True
IGNORE_EMPTY = True
UDP_ENABLE = False
UDP_IGNORE =
UDP_MAXLEN =
UDP_STATRESEND = 0
LANGUAGE = ENG
AUTH_PWD =
DEF_SID =
REBOOT_ENABLE = False
RESTART_ENABLE = False
SVC_NAME = foshkplugin

[Weatherstation]
WS_IP = 192.168.12.15
WS_PORT = 45000
WS_INTERVAL = 30

[Export]
EVAL_VALUES = True
ADD_ITEMS =
OUT_TEMP =
OUT_HUM =
OUT_TIME = False
FIX_LIGHTNING = True
UDP_MINMAX = True

[Forward]
FWD_ENABLE = True
FWD_CMT = weewx
FWD_URL = http://192.168.12.15:8000
FWD_INTERVAL = 60
FWD_IGNORE =
FWD_TYPE = EW
FWD_SID =
FWD_PWD =
FWD_STATUS = False
FWD_MQTTCYCLE = 0
FWD_EXEC =

[Forward-1]
FWD_ENABLE = True
FWD_CMT = Cumulus MX
FWD_URL = http://192.168.12.187:8998/station/ecowitt
FWD_INTERVAL = 20
FWD_IGNORE =
FWD_TYPE = EW
FWD_SID =
FWD_PWD =
FWD_STATUS = False
FWD_MQTTCYCLE = 0
FWD_EXEC =

[Forward-2]
FWD_TYPE = EW
FWD_URL = http://cwop.aprs.net:14580
FWD_SID = FW9019
FWD_PWD =
FWD_ENABLE = True
FWD_INTERVAL = 300

[Forward-3]
FWD_ENABLE = True
FWD_CMT = Apache
FWD_URL = http://192.168.12.15:80
FWD_INTERVAL = 60
FWD_IGNORE =
FWD_TYPE = EW
FWD_SID =
FWD_PWD =
FWD_STATUS = False
FWD_MQTTCYCLE = 0
FWD_EXEC =

[CSV]
CSV_NAME =
CSV_FIELDS =
CSV_INTERVAL =
CSV_DAYFILE =

[Warning]
WSDOG_WARNING = True
WSDOG_INTERVAL = 3
WSDOG_RESTART = 0
SENSOR_WARNING = False
SENSOR_MANDATORY = wh65batt
BATTERY_WARNING = True
STORM_WARNING = True
STORM_WARNDIFF = 1.75
STORM_WARNDIFF3H = 3.75
STORM_EXPIRE = 60
TSTORM_WARNING = True
TSTORM_WARNCOUNT = 1
TSTORM_WARNDIST = 30
TSTORM_EXPIRE = 15
LEAKAGE_WARNING = False
CO2_WARNING = False
CO2_WARNLEVEL = 1000

[Logging]
logfile = /opt/FOSHKplugin/log-foshkplugin.log
rawfile = /opt/FOSHKplugin/raw-foshkplugin.log
sndfile = /opt/FOSHKplugin/snd-foshkplugin.log
IGNORE_LOG =
LOG_LEVEL = ALL

[Update]
UPD_CHECK = True
UPD_INTERVAL = 86400

[Pushover]
PO_ENABLE = False
PO_URL =
PO_TOKEN =
PO_USER =

[Coordinates]
ALT = 791
LAT = 39.907072
LON = -86.14464837

[Status]
StopTime = 1773601732
inStormWarning = True
inStorm3h = False
inStormWarnStart = 1773581641
inStormTime = 1773581641

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment