sudo nc -l 55Where 55 is the port we entered earlier in the WeatherSleuth setup. If you chose a different port, use that.
Wait for a few minutes and some stuff should appear, here is an example from my setup: You will see the ID=weather&PASSWORD=password. Remember we entered that into the weather station earlier, this is why you don't want to use anything sensitive. The host 192.168.45.100 is the IP address of my computer running weewx, which we also entered in the same place.
GET /weatherstation/updateweatherstation.php?ID=weather&PASSWORD=password&tempf=39.7&humidity=86&dewptf=36.0&windchillf=39.7&winddir=255&windspeedmph=0.00&windgustmph=0.00&rainin=0.00&dailyrainin=0.00&weeklyrainin=0.00&monthlyrainin=0.00&yearlyrainin=0.00&solarradiation=0.00&UV=0&indoortempf=67.8&indoorhumidity=46&baromin=30.08&lowbatt=0&dateutc=2016-4-30%2022:7:9&softwaretype=Weather%20logger%20V2.1.9&action=updateraw&realtime=1&rtfreq=5 HTTP/1.0
Accept: */*
Host: 192.168.45.100
Connection: Close
If all looks well then install the interceptor driver in weewx:
Instructions here: https://github.com/matthewwall/weewx-interceptor
Follow the instructions on downloading, installing, and configuring in weewx.
Here is the relevant part of my weewx.conf
I'm using the Python-installer version so mine is here:
/home/weewx/weewx.conf
[Interceptor]
# This section is for the network traffic interceptor driver.
# Specify the hardware device to capture. Options include:
# acurite-bridge - acurite internet bridge
# observer - fine offset WH2600/HP1000/HP1003, aka 'observer'
# lw30x - oregon scientific LW301/LW302
# lacross-bridge - lacross GW1000U/C84612 internet bridge
# netatmo - netatmo weather stations
device_type = observer
port = 55
# The driver to use:
driver = user.interceptorAnd in my case, I modify the [StdReport] section to reflect my own tastes, including wind speed in knots being a bit of a plane geek/plane spotter!
[StdReport]
# Where the skins reside, relative to WEEWX_ROOT
SKIN_ROOT = skins
# Where the generated reports should go, relative to WEEWX_ROOT
HTML_ROOT = public_html
# The database binding indicates which data should be used in reports.
data_binding = wx_binding
# Each of the following subsections defines a report that will be run.
[[StandardReport]]
# See the customizing guide to change the units, plot types and line
# colors, modify the fonts, display additional sensor data, and other
# customizations. Many of those changes can be made here by overriding
# parameters, or by modifying templates within the skin itself.
# The StandardReport uses the 'Standard' skin, which contains the
# images, templates and plots for the report.
skin = Standard
[[[Units]]]
[[[[Groups]]]]
group_altitude = meter
group_speed2 = knot2
group_pressure = hPa
group_rain = mm
group_rainrate = mm_per_hour
group_temperature = degree_C
group_degree_day = degree_C_day
group_speed = knotThat should be about it. By default it seems to update weewx every 5 mins or so. I expect this is configurable should that be too much, too often, either in the Interceptor driver options and/or elsewhere within weewx.
I have included some pictures of the WeatherSleuth base station.
My weather station, courtesy of Weewx, is here: http://www.achinton.co.uk/weather
Questions, corrections & suggestions welcome.
Regards,
Ashley
--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
GET /weatherstation/updateweatherstation.php?ID=Weather&PASSWORD=XXXX&tempf=36.5&humidity=79&dewptf=30.6&windchillf=32.2&winddir=75&windspeedmph=5.14&windgustmph=7.38&rainin=0.00&dailyrainin=0.00&weeklyrainin=0.00&monthyrainin=4.49&yearlyrainin=6.28&solarradiation=128.86&UV=1&indoortempf=53.2&indoorhumidity=62&baromin=30.27&lowbatt=0&dateutc=2016-11-29%2010:39:16&softwaretype=Weather%20logger%20V2.1.9&action=updateraw&realtime=1&rtfreq=5 HTTP/1.0
| Name |
Designation |
Unit |
Value type |
Decimal (+ separator) |
|
ID |
Station name In Weather logger, it's Weather Network/Station ID |
- |
Text |
- |
|
PASSWORD |
Password In Weather logger, it's Weather Network/Password |
- |
Text (clear !!) |
- |
|
tempf |
Outdoor temperature |
°F |
Numeric |
1 (.) |
|
humidity |
Outdoor humidity |
% |
Numeric |
- |
|
dewptf |
Dew Point |
°F |
Numeric |
1 (.) |
|
windchillf |
Wind chill |
°F |
Numeric |
1 (.) |
|
winddir |
Wind direction |
Angle value |
Numeric |
- |
|
windspeedmph |
Wind speed |
MPH |
Numeric |
2 (.) |
|
windgustmph |
Wind gust |
MPH |
Numeric |
2 (.) |
|
rainin |
Current rain |
In |
Numeric |
2 (.) |
|
dailyrainin |
Daily rain |
In |
Numeric |
2 (.) |
|
weeklyrainin |
Weekly Rain |
In |
Numeric |
2 (.) |
|
monthlyrainin |
Monthly rain |
In |
Numeric |
2 (.) |
|
yearlyrainin |
Yearly rain |
In |
Numeric |
2 (.) |
|
solarradiation |
Solar Radiation |
W/m² |
Numeric |
2 (.) |
|
UV |
UV Index |
Index |
Numeric |
- |
|
indoortempf |
Inside Temperature |
°F |
Numeric |
1 (.) |
|
indoorhumidity |
Inside humidity |
% |
Numeric |
- |
|
baromin |
Barometer |
In ? |
Numeric |
2 (.) |
|
lowbatt |
Battery status |
- |
Boolean ? |
- |
|
dateutc |
Time / Date |
UTC |
Timestamp/Text |
- |
|
softwaretype |
Model and firmware version |
- |
Text |
- |
|
action |
HTML GET action |
- |
Text / Updateraw |
- |
|
realtime |
Is it a live report ? |
- |
Boolean ? |
- |
|
rtfreq |
Refresh time ? |
- |
Minutes ? |
- |
[StdCalibrate] [[Corrections]] # For each type, an arbitrary calibration expression can be given. # It should be in the units defined in the StdConvert section. # Example: foo = foo + 0.2 windGustDir = windDir