cloudy cloudy

Author Topic: Data output issue using Raspberrypi v3 B+ and ConsoleWD issue 17.3  (Read 2621 times)

0 Members and 1 Guest are viewing this topic.

Offline Redsafety

  • Posts: 37
  • OS/Browser:
  • Win NT 10.0
  • Chrome 66.0.3359.181
Re: Data output issue using Raspberrypi v3 B+ and ConsoleWD issue 17.3
« Reply #15 on: May 19, 2018, 11:19:13 AM »
Thank you, you were spot on.
I have attached a file of the data I am receiving with a timeout of 255. Before I start to alter this parameter as you have asked me to, could you provide me with an example of the data format run that I should be receiving?
Thank you 

Offline Redsafety

  • Posts: 37
  • OS/Browser:
  • Win NT 10.0
  • Chrome 66.0.3359.181
Re: Data output issue using Raspberrypi v3 B+ and ConsoleWD issue 17.3
« Reply #16 on: May 19, 2018, 05:04:12 PM »
Sorry should have said timeout 250

Online Weather Display

  • Posts: 85,058
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 66.0.3359.139
    • Weather Display
Re: Data output issue using Raspberrypi v3 B+ and ConsoleWD issue 17.3
« Reply #17 on: May 19, 2018, 06:56:30 PM »
you should see a data count of 99 and so then no split out to a smaller count and then you should see the converted to actual data output after that
there are threads in the actual linux section of the forum with outputs of what it should look like

Offline Redsafety

  • Posts: 37
  • OS/Browser:
  • Win NT 10.0
  • Chrome 66.0.3359.181
Re: Data output issue using Raspberrypi v3 B+ and ConsoleWD issue 17.3
« Reply #18 on: May 19, 2018, 07:28:37 PM »
Hi

Sorry, but to me, your answer is too vague.

As far as your reference to the linux section, could you point me to the example you are referring to or provided a search team?

Thank you for your time in trying to resolve the problem.

Best Regards 

Online Weather Display

  • Posts: 85,058
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 66.0.3359.139
    • Weather Display
Re: Data output issue using Raspberrypi v3 B+ and ConsoleWD issue 17.3
« Reply #19 on: May 19, 2018, 07:42:40 PM »
there is a linux section here on this forum
and there are lots of threads
including some recent ones where people have shown the data output (i.e what it should look like)
you should not be seeing a number less than 99 and splitting out into a smaller number (received number)

not sure how I can make that any clearer

Offline Redsafety

  • Posts: 37
  • OS/Browser:
  • Win NT 10.0
  • Chrome 66.0.3359.181
Re: Data output issue using Raspberrypi v3 B+ and ConsoleWD issue 17.3
« Reply #20 on: May 20, 2018, 04:52:28 PM »
Hi
Am I presuming this is the correct data I should be receiving? https://www.weather-watch.com/smf/index.php/topic,64975.msg521994.html#msg521994 

I have as suggested tried the timeout parameter using different values 0 produced "segmentation fault"

30,50,100,150 did not show the correct output format just like 250 reported in my previous post

Online Weather Display

  • Posts: 85,058
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 66.0.3359.139
    • Weather Display
Re: Data output issue using Raspberrypi v3 B+ and ConsoleWD issue 17.3
« Reply #21 on: May 20, 2018, 07:17:20 PM »
yes, that is what you should be seeing
and yes, that is the sort of time out values to try, but also try bigger values (e.g 500)
(make sure to restart after making that change and also make sure to check that that value is picked up in the start up messages)

Offline Redsafety

  • Posts: 37
  • OS/Browser:
  • Win NT 10.0
  • Chrome 66.0.3359.181
Re: Data output issue using Raspberrypi v3 B+ and ConsoleWD issue 17.3
« Reply #22 on: May 24, 2018, 03:37:27 PM »
Hi
I have carried out your suggestion even up to 1000.
as you can see below your programme does see the value
pi@raspberrypi:~ $ cd /home/pi/Desktop/consolewdfiles/
pi@raspberrypi:~/Desktop/consolewdfiles $ sudo ./consolewd
Station type raw=31<
Station type =31
Weather station type is a Davis VP
meteobridge user=  <
meteobridge ip= 192.168.0.1<
meteobridge pass=  <
Davis com method d
Davis time out 500
Davis time out allocated OK
OWW file location= <-
program location= /home/pi/Desktop/consolewdfiles/<-
Davis VP IP data logger port= 22222<
Davis VP IP data logger IP= 192.168.2.3<-
Latitude= 51.3
Longitude= 0.3
Station name =My station
Daily rain startup= 0.0
start up month rain found=0.0<-
Monthly rain startup= 0.0
Yearly rain startup= 0.0
wunderground username =
wunderground password =
wunderground utc =-1
Dir offset= 0
Barooffset= 0.0
Comport is USB to serial
Davis com method d
Yes Revb Davis VP
Davis rain gauge 0.2mm
mysql username =
mysql server =
mysql databasename =
mysql tablename =
Will do mysql metric
mysql time interval = 300
cwop station id =
cwop call sign = -1 // -1 is default (you do not have a Ham call si
cwop latitude=
cwop longitude=
FTP server = =166
FTP username =
FTP port = 21     
FTPremote dir =
Will do ftp passive
remote file =               
FTP time interval = 60   
 wu =Y
Will save logfile
logfile metric
Custom file name = wx.html
Custom file name 2=
Custom file name 3=
Custom file name 4=
Custom file name 5=
Tag units in celsius
wind units = mph
baro metric= Y
rain metric= Y
Will run cron files
Custom log out = customlogout.txt
temp offset raw = <
hum offset raw =<
wmr300 channel =1
Modified rain gauge= <
WOW id=<-
WOW pass=<-
PWS id=<-
PWS pass=<-
windfinder id=<-
windfinder pass=<-
meteotemplatepass=<-
meteotemplateurl=<-
univeral update rate 2
utc hour=19
local hour=19
****Weather Display vers WD_console_17.3****
If use this program,then please consider sending a PayPal donation to info@weather-display.com (Brian Hamilton)
to help with costs, and support, thanks!
www.weather-display.com
Comport /dev/ttyUSB0 opened
setting baud rate to 19200 ->0
ser_read error Resource temporarily unavailable
ser_read error Resource temporarily unavailable
ser_read error Resource temporarily unavailable
waking VP
*****Received count =  ----------------------------->  77
requesting data
*****Received count =  ----------------------------->  63

You get the purse
then data format as reported in previous posts 

Online Weather Display

  • Posts: 85,058
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 66.0.3359.139
    • Weather Display
Re: Data output issue using Raspberrypi v3 B+ and ConsoleWD issue 17.3
« Reply #23 on: May 24, 2018, 11:13:24 PM »
so is it worse or better when you change the time out value?

Offline Redsafety

  • Posts: 37
  • OS/Browser:
  • Win NT 10.0
  • Chrome 66.0.3359.181
Re: Data output issue using Raspberrypi v3 B+ and ConsoleWD issue 17.3
« Reply #24 on: May 25, 2018, 10:45:49 AM »
Hi
So you can draw your own conclusions I have attached some examples of the outputs I have been receiving, the examples cover 700,650,600,500,450 &50 timeout counts.

Best regards

Online Weather Display

  • Posts: 85,058
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 66.0.3359.139
    • Weather Display
Re: Data output issue using Raspberrypi v3 B+ and ConsoleWD issue 17.3
« Reply #25 on: May 27, 2018, 08:13:42 PM »
it looks the same
what I need to do then is try to merge the split data arrival

Offline Redsafety

  • Posts: 37
  • OS/Browser:
  • Win NT 10.0
  • Chrome 66.0.3359.181
Re: Data output issue using Raspberrypi v3 B+ and ConsoleWD issue 17.3
« Reply #26 on: May 27, 2018, 08:22:40 PM »
Yes, that was my view but as you are the expert you may have had a different view on seeing the data.

Thank you for your continuing support 


Online Weather Display

  • Posts: 85,058
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 66.0.3359.139
    • Weather Display
Re: Data output issue using Raspberrypi v3 B+ and ConsoleWD issue 17.3
« Reply #27 on: May 27, 2018, 10:29:29 PM »
one thing, this time out variable is only used when you have set in the config.txt file
Davis com method=2
what do you have that set as?

Online Weather Display

  • Posts: 85,058
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 66.0.3359.139
    • Weather Display
Re: Data output issue using Raspberrypi v3 B+ and ConsoleWD issue 17.3
« Reply #28 on: May 27, 2018, 10:55:25 PM »
oh
I just realised I was setting the time out wrong in the code
and so that is why it made no difference

use a new update, vers 17.4
from the download page, for raspberry pi 3
and then set the Davis timout as 1 to start off with and then go up from there (milliseconds)

if you need the raspberry pi2 version, let me know


Offline Redsafety

  • Posts: 37
  • OS/Browser:
  • Win NT 10.0
  • Firefox 60.0
Re: Data output issue using Raspberrypi v3 B+ and ConsoleWD issue 17.3
« Reply #29 on: May 28, 2018, 07:38:38 PM »
Hi again
updated as you can see via the attached. With a delay of 1 the output looked the same as before, for delays of 10  and 20 you will be able to see what I received.
 

 

cumulus