ObserverIP consolewd rpi3

Ah
The white screen of death
It does work here…but that is with the console version
If easy weather does not work for with no console then this test program Will not work either.we need to go down route of bridge

sounds good.

OK thanks, Brian. It seems to be working.

I also see where I can set the daily rain or monthly rain at startup in the config file. Can I change the text from (mm) to (inches) or do I have to calculate mm from inches and put that value in there?

It expects mms
Just to clarify for other readers
I have added support for meteobridge now

OK, so I converted inches to mm and put that in the config file but upon restart consolewd did not start with the new rain values I put. Is that because I used a number with 2 decimal places?

Nope, I just changed it to 2.5mm and 61mm and when consolewd restarted it still says 0 for the rain.

where and how are you setting that?
(example?)

In the config.txt

Start up daily rain(mm)=2.5
Start up monthly rain(mm)=61

I originally had it as:

Start up daily rain(mm)=2.54
Start up monthly rain(mm)=60.96

but I rounded it off to 2.5 and 61 just in case that was the problem, but it wasn’t.

I’m also looking at the file in consolewdfiles/logfiles folder and the file created there is called 12017lg.txt. Looks like that file updates once per minute. In that file the rain is all zeros too.

it will be expecting a decimal place
e.g
Start up daily rain(mm)=2.5
Start up monthly rain(mm)=61.0

I will do some tests here

I have tested the start up monthly rain
and that works
e.g setting it has 60.0
make sure not extra control characters or similar
I have also added more debug code for the rain found in the config.txt file in the start up info
also download another update to fix the program not picking up rain as it occurs

I changed the daily rain to “3.0” and monthly rain to “60.0” and upon restart it isn’t starting with 3mm of rain. There are no other characters that I can see. I’ll try to reboot the pi3.

there is debug info in the start up sequence
what shows there for the monthly rain data found

also make sure to be using that new update so consolewd picks up rain going forward

Copied and pasted from the terminal window.

Daily rain startup= 3.0
Monthly rain startup= 61.0
wunderground username =
wunderground password =
wunderground utc =-5
Dir offset= 0
Barooffset= 0.0
Comport is USB to serial
Davis com method d
Yes Revb Davis VP
Davis rain gauge .01 inch
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 =
FTP username =
FTP port = 21
FTPremote dir =
Will do ftp passive
remote file =
FTP time interval = 60
wu =Y
Will save logfile
Will create custom file
Custom file name = wx.html
Custom file name 2=
Custom file name 3=
Custom file name 4=
Custom file name 5=
wind units = mph
baro metric= N
rain metric= N
Will run cron files
will update custom log
Custom log out = customlogout.txt
temp offset raw = <
wmr300 channel =1
utc hour=1
local hour=20
Weather Display vers WD_console_12.4
If use this program,then please consider sending a PayPal donation to [email protected] (Brian Hamilton)
to help with costs, and support, thanks!
www.weather-display.com
running cronmeteobridge
Current data : Temperature= 32.2 Windspeed =1.6 Gustspeed =4.9 Direction =270 Humidity=93 Barometer=29.8 Daily Rain=0.0
OK
running cronmeteobridge

What new update? I have the new file that you just sent to me in the private message at 12:53:20 PM. Is there another file?

I also copied a new config.txt from the consolewd64tar.gz you sent me. I filled it in and was careful to not add any characters or extra spaces. I moved that file to the existing consolewdfiles folder, changed that file to 777 restarted consolewd and it is not showing the rain.

Rebooted my pi3

pi@raspberrypi:~/consolewdfiles $ sudo ./consolewd
Station type raw=102<
Station type =102
Weather station type is a meteobridge
meteobridge user= meteobridge<
meteobridge ip= 192.x.x.x<
meteobridge pass= nunya<
Davis com method d
OWW file location= ←
program location= /home/pi/consolewdfiles/<-
Davis VP IP data logger port= 22222<
Davis VP IP data logger IP= 192.168.2.3<-
Latitude= 43.4
Longitude= 84.7
Station name =My station
Daily rain startup= 3.0
Monthly rain startup= 61.0
wunderground username =
wunderground password =
wunderground utc =-5
Dir offset= 0
Barooffset= 0.0
Comport is USB to serial
Davis com method d
Yes Revb Davis VP
Davis rain gauge .01 inch
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 =
FTP username =
FTP port = 21
FTPremote dir =
Will do ftp passive
remote file =
FTP time interval = 60
wu =Y
Will save logfile
Will create custom file
Custom file name = wx.html
Custom file name 2=
Custom file name 3=
Custom file name 4=
Custom file name 5=
wind units = mph
baro metric= N
rain metric= N
Will run cron files
will update custom log
Custom log out = customlogout.txt
temp offset raw = <
wmr300 channel =1
utc hour=1
local hour=20
Weather Display vers WD_console_12.4
If use this program,then please consider sending a PayPal donation to [email protected] (Brian Hamilton)
to help with costs, and support, thanks!
www.weather-display.com
running cronmeteobridge
Current data : Temperature= 31.8 Windspeed =1.6 Gustspeed =3.4 Direction =270 Humidity=92 Barometer=29.8 Daily Rain=0.0
OK
running cronmeteobridge
Current data : Temperature= 31.8 Windspeed =1.6 Gustspeed =3.4 Direction =270 Humidity=92 Barometer=29.8 Daily Rain=0.0
OK

it is picking it up on start up
see

Daily rain startup= 3.0 Monthly rain startup= 61.0

Why does it say?

Daily Rain=0.0

I will investigate

OK here’s the consolewd updating my weather page with the generated clientraw.txt. That’s showing 0.0" of daily rain. Not sure if the permissions are set correctly in the www/html folder yet to test from outside my LAN though so it may or may not work.

http://danner.ddns.net/pws/

that web page is working
well one :slight_smile:
looks great
kewl to think that is all powered by consolewd :slight_smile: