My bad forgot to mention that in the last post. The LOOP packets return 
that the value of the  wind direction is 'None' (I've attached a file with 
a sample of the returned packet). Looking through the database entries 
everywhere where the windDir value is mentuned its value is 'NULL' ( Also 
attached )

On Monday, 8 July 2019 16:10:58 UTC+3, Andrew Milner wrote:
>
> do the LOOP packets contain the wind direction when you are running weewx 
> manually (not as a daemon)??
>
> when you look at the database (use sqlite3) what do you get for wind 
> direction?
> select dateTime, windDir from archive where 1; 
> should give you some indication
>
>
> On Monday, 8 July 2019 14:50:46 UTC+3, Victor wrote:
>>
>> Thank you for the assistance Andrew, after calibration the pressure 
>> sensor it works like a charm ( I had skimmed over that table in the wiki 
>> and missed the proper settings for the sensors) , but still I wasn't able 
>> to figure out where the problem with the missing wind direction data comes 
>> from. 
>>
>> On Monday, 8 July 2019 11:15:54 UTC+3, Andrew Milner wrote:
>>>
>>> To see what weewx is receiving from the station stop weewx and run it 
>>> directly and not as a daemon.  The LOOP and REC packets should then be 
>>> output onto the rpi console as they are received.  Set your station to a 5 
>>> minute archive interval (300 seconds) using wee_device and set the archive 
>>> interval in weewx.conf to also be 300 seconds.  You should then get 
>>> approximately 5 LOOP records per REC archive record.  You will need to make 
>>> sure that barometer and altimeter are specified as being 'software 
>>> generated' because the 1080 only outputs pressure.  See the wiki for the 
>>> difference between the 3.
>>>
>>> This should help you to see what is going on.  Sort out the inputs and 
>>> the database before going on to the outputs and webpages!!  If you have not 
>>> changed the archive interval to 300 seconds the default on the 1080 is 
>>> usually set for 30 minutes - so nothing would happen for 30 minutes in 
>>> weewx.
>>>
>>>
>>>
>>> On Monday, 8 July 2019 10:41:27 UTC+3, Victor wrote:
>>>>
>>>>    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/4c265013-3477-461b-9ec7-e27592c61183%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
dateTime,usUnits,interval,barometer,pressure,altimeter,inTemp,outTemp,inHumidity,outHumidity,windSpeed,windDir,windGust,windGustDir,rainRate,rain,dewpoint,windchill,heatindex,ET,radiation,UV,extraTemp1,extraTemp2,extraTemp3,soilTemp1,soilTemp2,soilTemp3,soilTemp4,leafTemp1,leafTemp2,extraHumid1,extraHumid2,soilMoist1,soilMoist2,soilMoist3,soilMoist4,leafWet1,leafWet2,rxCheckPercent,txBatteryStatus,consBatteryVoltage,hail,hailRate,heatingTemp,heatingVoltage,supplyVoltage,referenceVoltage,windBatteryStatus,rainBatteryStatus,outTempBatteryStatus,inTempBatteryStatus
1562576998,1,5,30.3578895481702,29.66287244375,30.3726614922274,76.82,76.82,53.0,52.0,0.0,,0.0,,0.0,,57.8410617125414,76.82,76.82,,,,,,,,,,,,,,,,,,,,,100.0,,,,,,,,,,,0.0,
1562577358,1,6,30.3609117372741,29.6658254425,30.3756723047912,76.82,76.82,53.0,51.0,0.0,,0.0,,0.0,0.0,57.3007623105535,76.82,76.82,,,,,,,,,,,,,,,,,,,,,100.0,,,,,,,,,,,0.0,
1562577658,1,5,30.3639339263779,29.66877844125,30.3786831162516,76.82,76.82,52.0,51.0,0.0,,0.0,,0.0,0.0,57.3007623105535,76.82,76.82,,,,,,,,,,,,,,,,,,,,,100.0,,,,,,,,,,,0.0,
1562577958,1,5,30.3639339263779,29.66877844125,30.3786831162516,76.82,76.82,52.0,50.0,0.0,,0.0,,0.0,0.0,56.7510869423,76.82,76.82,,,,,,,,,,,,,,,,,,,,,100.0,,,,,,,,,,,0.0,
1562578318,1,6,30.3636980605999,29.66877844125,30.3786831162516,76.82,77.0,52.0,50.0,0.0,,0.0,,0.0,0.0,56.9161239746664,77.0,77.0,,,,,,,,,,,,,,,,,,,,,100.0,,,,,,,,,,,0.0,
1562578500,1,5,30.3636980605999,29.66877844125,30.3786831162516,76.82,77.0,52.0,50.0,0.0,,0.0,,0.0,0.0,56.9161239746664,77.0,77.0,,,,,,,,,,,,,,,,,,,,,100.0,,,,,,,,,,,0.0,
1562578800,1,5,30.3636980605999,29.66877844125,30.3786831162516,76.82,77.0,51.0,51.0,0.0,,0.0,,0.0,0.0,57.466200519379,77.0,77.0,,,,,,,,,,,,,,,,,,,,,100.0,,,,,,,,,,,0.0,
1562579100,1,5,30.3606758949723,29.6658254425,30.3756723047912,76.82,77.0,51.0,51.0,0.0,,0.0,,0.0,0.0,57.466200519379,77.0,77.0,,,,,,,,,,,,,,,,,,,,,100.0,,,,,,,,,,,0.0,
1562579400,1,5,30.3667202262275,29.67173144,30.3816939266085,76.82,77.0,51.0,51.0,0.0,,0.0,,0.0,0.0,57.466200519379,77.0,77.0,,,,,,,,,,,,,,,,,,,,,100.0,,,,,,,,,,,0.0,
1562579700,1,5,30.3636980605999,29.66877844125,30.3786831162516,76.82,77.0,51.0,51.0,0.0,,0.0,,0.0,0.0,57.466200519379,77.0,77.0,,,,,,,,,,,,,,,,,,,,,100.0,,,,,,,,,,,0.0,
1562580000,1,5,30.3576537293447,29.66287244375,30.3726614922274,76.82,77.0,51.0,51.0,0.0,,0.0,,0.0,0.0,57.466200519379,77.0,77.0,,,,,,,,,,,,,,,,,,,,,100.0,,,,,,,,,,,0.0,
1562580238,1,6,30.3639339263779,29.66877844125,30.3786831162516,76.82,76.82,51.0,51.0,0.0,,0.0,,0.0,,57.3007623105535,76.82,76.82,,,,,,,,,,,,,,,,,,,,,100.0,,,,,,,,,,,0.0,
1562580538,1,5,30.3576537293447,29.66287244375,30.3726614922274,76.82,77.0,51.0,52.0,0.0,,0.0,,0.0,0.0,58.0068947296346,77.0,77.0,,,,,,,,,,,,,,,,,,,,,100.0,,,,,,,,,,,0.0,
1562580600,1,5,30.3576537293447,29.66287244375,30.3726614922274,76.82,77.0,51.0,52.0,0.0,,0.0,,0.0,0.0,58.0068947296346,77.0,77.0,,,,,,,,,,,,,,,,,,,,,100.0,,,,,,,,,,,0.0,
1562580900,1,5,30.3576537293447,29.66287244375,30.3726614922274,76.82,77.0,51.0,51.0,0.0,,0.0,,0.0,0.0,57.466200519379,77.0,77.0,,,,,,,,,,,,,,,,,,,,,100.0,,,,,,,,,,,0.0,
1562587800,1,5,30.3639339263779,29.66877844125,30.3786831162516,76.1,76.82,48.0,49.0,0.0,,0.0,,0.0,0.0,56.191678750005,76.82,76.82,,,,,,,,,,,,,,,,,,,,,100.0,,,,,,,,,,,0.0,
1562588100,1,5,30.3699783045856,29.67468443875,30.3847047358621,76.28,76.82,48.0,49.0,0.0,,0.0,,0.0,0.0,56.191678750005,76.82,76.82,,,,,,,,,,,,,,,,,,,,,100.0,,,,,,,,,,,0.0,
1562588400,1,5,30.3671921649117,29.67173144,30.3816939266085,76.28,76.64,48.0,48.0,0.0,,0.0,,0.0,0.0,55.4579394069118,76.64,76.64,,,,,,,,,,,,,,,,,,,,,100.0,,,,,,,,,,,0.0,
1562588700,1,5,30.3611477397197,29.6658254425,30.3756723047912,76.46,76.64,47.0,48.0,0.0,,0.0,,0.0,0.0,55.4579394069118,76.64,76.64,,,,,,,,,,,,,,,,,,,,,100.0,,,,,,,,,,,0.0,
1562589000,1,5,30.3611477397197,29.6658254425,30.3756723047912,76.46,76.64,47.0,48.0,0.0,,0.0,,0.0,0.0,55.4579394069118,76.64,76.64,,,,,,,,,,,,,,,,,,,,,100.0,,,,,,,,,,,0.0,
1562589300,1,5,30.3611477397197,29.6658254425,30.3756723047912,76.46,76.64,47.0,48.0,0.0,,0.0,,0.0,0.0,55.4579394069118,76.64,76.64,,,,,,,,,,,,,,,,,,,,,100.0,,,,,,,,,,,0.0,
1562589600,1,5,30.3671921649117,29.67173144,30.3816939266085,76.46,76.64,47.0,48.0,0.0,,0.0,,0.0,0.0,55.4579394069118,76.64,76.64,,,,,,,,,,,,,,,,,,,,,100.0,,,,,,,,,,,0.0,
1562589900,1,5,30.3641699523157,29.66877844125,30.3786831162516,76.46,76.64,47.0,48.0,0.0,,0.0,,0.0,0.0,55.4579394069118,76.64,76.64,,,,,,,,,,,,,,,,,,,,,100.0,,,,,,,,,,,0.0,
1562592900,1,5,30.3760226827933,29.68059043625,30.3907263510602,77.0,76.82,48.0,48.0,0.0,,0.0,,0.0,0.0,55.6221596368197,76.82,76.82,,,,,,,,,,,,,,,,,,,,,100.0,,,,,,,,,,,0.0,
1562593200,1,5,30.382067061001,29.68649643375,30.3967479618469,77.0,76.82,48.0,48.0,0.0,,0.0,,0.0,0.0,55.6221596368197,76.82,76.82,,,,,,,,,,,,,,,,,,,,,100.0,,,,,,,,,,,0.0,
1562593500,1,5,30.3790448718972,29.683543435,30.3937371570049,77.0,76.82,48.0,49.0,0.0,,0.0,,0.0,0.0,56.191678750005,76.82,76.82,,,,,,,,,,,,,,,,,,,,,100.0,,,,,,,,,,,0.0,
1562593800,1,5,30.3790448718972,29.683543435,30.3937371570049,77.0,76.82,48.0,49.0,0.0,,0.0,,0.0,0.0,56.191678750005,76.82,76.82,,,,,,,,,,,,,,,,,,,,,100.0,,,,,,,,,,,0.0,
1562594100,1,5,30.382067061001,29.68649643375,30.3967479618469,77.0,76.82,48.0,48.0,0.0,,0.0,,0.0,0.0,55.6221596368197,76.82,76.82,,,,,,,,,,,,,,,,,,,,,100.0,,,,,,,,,,,0.0,
LOOP:   2019-07-08 15:12:42 BST (1562595162) altimeter: 30.3967479618, appTemp: 
78.5715078951, barometer: 30.382067061, cloudbase: 5480.42229763, dateTime: 
1562595162, delay: 0, dewpoint: 55.6221596368, heatindex: 76.82, humidex: 
81.9763292489, inDewpoint: 55.2059214021, inHumidity: 47.0, inTemp: 77.0, 
maxSolarRad: None, outHumidity: 48.0, outTemp:76.82, outTempBatteryStatus: 0, 
pressure: 29.6864964338, ptr: 400, radiation: None, rain: None, rainRate: 0, 
rainTotal: 0.0, rxCheckPercent: 100, status: 0, usUnits: 1, UV: None, 
windchill: 76.82, windDir: None, windGust: 0.0, windGustDir: None, windSpeed: 
0.0
dateTime,min,mintime,max,maxtime,sum,count,wsum,sumtime
1562540400,,,,,0.0,0,0.0,0

Reply via email to