Hello everyone, i recently found out about this project and wanted to
test it out to see how it would work for me, currently I'm running pywws
<https://github.com/jim-easterbrook/pywws> running on a Tp-link router with
OpenWrt. But to be honest I really wanted to update the way I get the data
from the router, from printing out a .CSV file to a more readable/user
friendly web page.
The device I'm using to run weewx is a Raspberry Pi 3 B+ and the weather
station is a Tycon TP1080WC, the problems that I'm having is reading out
the stations values, using live output I can see the program can read out
values properly. It can get the wind direction properly and the reading
from the pressure sensor but it doesn't add their value either to the web
page data , realtime.txt file or the CSV( comma separated value) file (for
the pressure sensor it adds the maximum read out as the current value).
Trying to debug the problem myself i went through and install weewx using
both the debian install guide and the setup.py method bout to the same
effect. Using the minimal knowledge I have in python I tried to edit both
the crt, csv weewx extentions to try and print out the values the programs
are reading to try and get a basic understanding of the problem i'm
getting, but sadly to no success. I've attached all the files I think will
be needed to get a basic understanding in the configuration and problem.
P.S. Don't worry about the time and date not being the same on all of the
readouts , that my fault not the programs.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/4b20336a-44af-474b-81af-0f70d2acc607%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
pi@raspberrypi:/tmp $ sudo wee_device --live
Using configuration file /etc/weewx/weewx.conf
Using FineOffsetUSB driver version 1.9 (weewx.drivers.fousb)
0130 06:47:46 {'status': 0, 'hum_out': 54, 'wind_gust': 0, 'wind_ave': 0,
'rain': 0, 'temp_in': 24.1, 'delay': 4, 'abs_pressure': 1003.7, 'hum_in': 55,
'temp_out': 24.400000000000002, 'wind_dir': 6}
0130 06:48:34 {'status': 0, 'hum_out': 54, 'wind_gust': 0, 'wind_ave': 0,
'rain': 0, 'temp_in': 24.1, 'delay': 5, 'abs_pressure': 1003.5, 'hum_in': 55,
'temp_out': 24.400000000000002, 'wind_dir': 9}
0130 06:49:22 {'status': 0, 'hum_out': 54, 'wind_gust': 0, 'wind_ave': 0,
'rain': 0, 'temp_in': 24.1, 'delay': 6, 'abs_pressure': 1003.7, 'hum_in': 55,
'temp_out': 24.400000000000002, 'wind_dir': 12}
05/07/19 17:42:05 75.7 46 53.5 NULL 0.0 NULL 0.00 0.00 30.51 NULL 0 mph F in in
0.0 -0.04 0.00 0.00 NULL 75.9 44 75.7 -0.4 76.1 14:56 75.6 13:57 0.0 13:27 0.0
13:27 30.57 13:27 30.50 17:16 3.9.1 0 NULL 75.7 79.7 NULL NULL NULL NULL 0.00 0
1 0 --- 5717 ft 76.8 12.1 463.8 0
#
dateTime,UV,altimeter,appTemp,barometer,cloudbase,delay,dewpoint,heatindex,humidex,inDewpoint,inHumidity,inTemp,maxSolarRad,outHumidity,outTemp,outTempBatteryStatus,pressure,ptr,radiation,rain,rainRate,rainTotal,rxCheckPercent,status,usUnits,windDir,windGust,windGustDir,windSpeed,windchill
1562567798,None,30.3383855308,78.4945641172,30.3249040137,4714.85848496,8,58.0617689497,75.92,82.4899323415,58.0729663756,55.0,75.38,618.251614792,54.0,75.92,0,29.636295455,288,None,None,0,0.0,100,0,1,None,0.0,None,0.0,75.92
1562567858,None,30.3353752839,78.2563064413,30.3221165516,4711.8205944,9,57.8951356682,75.74,82.2097567398,58.0729663756,55.0,75.38,621.255118644,54.0,75.74,0,29.6333424563,288,None,0.0,0,0.0,100,0,1,None,0.0,None,0.0,75.74
1562567919,None,30.3383855308,78.4945641172,30.3249040137,4714.85848496,9,58.0617689497,75.92,82.4899323415,58.0729663756,55.0,75.38,624.299945098,54.0,75.92,0,29.636295455,288,None,0.0,0,0.0,100,0,1,None,0.0,None,0.0,75.92
1562567919,None,30.3383855308,78.4945641172,30.3249040137,4714.85848496,9,58.0617689497,75.92,82.4899323415,58.0729663756,55.0,75.38,624.299945098,54.0,75.92,0,29.636295455,288,None,0.0,0,0.0,100,0,1,None,0.0,None,0.0,75.92
1562567980,None,30.3383855308,78.4945641172,30.3249040137,4714.85848496,10,58.0617689497,75.92,82.4899323415,58.0729663756,55.0,75.38,627.336003422,54.0,75.92,0,29.636295455,288,None,0.0,0,0.0,100,0,1,None,0.0,None,0.0,75.92
1562568040,None,30.332365036,78.4945641172,30.3188607885,4714.85848496,12,58.0617689497,75.92,82.4899323415,58.0729663756,55.0,75.38,630.313637704,54.0,75.92,0,29.6303894575,288,None,0.0,0,0.0,100,0,1,None,0.0,None,0.0,75.92
1562568040,None,30.332365036,78.4945641172,30.3188607885,4714.85848496,12,58.0617689497,75.92,82.4899323415,58.0729663756,55.0,75.38,630.313637704,54.0,75.92,0,29.6303894575,288,None,0.0,0,0.0,100,0,1,None,0.0,None,0.0,75.92
1562568100,None,30.3444060213,78.4945641172,30.3309472389,4714.85848496,13,58.0617689497,75.92,82.4899323415,58.0729663756,55.0,75.38,633.282562407,54.0,75.92,0,29.6422014525,288,None,0.0,0,0.0,100,0,1,None,0.0,None,0.0,75.92
1562568161,None,30.3383855308,78.4945641172,30.3249040137,4714.85848496,13,58.0617689497,75.92,82.4899323415,58.0729663756,55.0,75.38,636.291944339,54.0,75.92,0,29.636295455,288,None,0.0,0,0.0,100,0,1,None,0.0,None,0.0,75.92
1562568161,None,30.3383855308,78.4945641172,30.3249040137,4714.85848496,13,58.0617689497,75.92,82.4899323415,58.0729663756,55.0,75.38,636.291944339,54.0,75.92,0,29.636295455,288,None,0.0,0,0.0,100,0,1,None,0.0,None,0.0,75.92
1562568221,None,30.3383855308,78.4945641172,30.3249040137,4714.85848496,0,58.0617689497,75.92,82.4899323415,58.0729663756,55.0,75.38,639.24301559,54.0,75.92,0,29.636295455,304,None,0.0,0,0.0,100,0,1,None,0.0,None,0.0,75.92
1562568282,None,30.3353752839,78.4945641172,30.3218824011,4714.85848496,1,58.0617689497,75.92,82.4899323415,58.0729663756,55.0,75.38,642.234261699,54.0,75.92,0,29.6333424563,304,None,0.0,0,0.0,100,0,1,None,0.0,None,0.0,75.92
1562568282,None,30.3353752839,78.4945641172,30.3218824011,4714.85848496,1,58.0617689497,75.92,82.4899323415,58.0729663756,55.0,75.38,642.234261699,54.0,75.92,0,29.6333424563,304,None,0.0,0,0.0,100,0,1,None,0.0,None,0.0,75.92
1562568342,None,30.3383855308,78.4945641172,30.3249040137,4714.85848496,2,58.0617689497,75.92,82.4899323415,58.0729663756,55.0,75.38,645.167417874,54.0,75.92,0,29.636295455,304,None,0.0,0,0.0,100,0,1,None,0.0,None,0.0,75.92
1562568402,None,30.3383855308,78.4945641172,30.3249040137,4714.85848496,2,58.0617689497,75.92,82.4899323415,58.0729663756,55.0,75.38,648.091583363,54.0,75.92,0,29.636295455,304,None,0.0,0,0.0,100,0,1,None,0.0,None,0.0,75.92
1562568403,None,30.3383855308,78.4945641172,30.3249040137,4714.85848496,2,58.0617689497,75.92,82.4899323415,58.0729663756,55.0,75.38,648.140225019,54.0,75.92,0,29.636295455,304,None,0.0,0,0.0,100,0,1,None,0.0,None,0.0,75.92
[Station]
# Description of the station location
location = "TestStation"
# Latitude and longitude in decimal degrees
latitude = 43.399
longitude = 30.111
# Altitude of the station, with unit it is in. This is downloaded from
# from the station if the hardware supports it.
altitude = 200, meter
# Set to type of station hardware. There must be a corresponding stanza
# in this file with a 'driver' parameter indicating the driver to be used.
station_type = FineOffsetUSB
# If you have a website, you may specify an URL
#station_url = http://www.example.com
# The start of the rain year (1=January; 10=October, etc.). This is
# downloaded from the station if the hardware supports it.
rain_year_start = 1
# Start of week (0=Monday, 6=Sunday)
week_start = 0
##############################################################################
[FineOffsetUSB]
# This section is for the Fine Offset series of weather stations.
# The station model, e.g., WH1080, WS1090, WS2080, WH3081
model = TP1080WC
data_format = 1080
# How often to poll the station for data, in seconds
polling_mode = PERIODIC
polling_interval = 60
# The driver to use:
driver = weewx.drivers.fousb