cloudy cloudy

Author Topic: ConsoleWD for Raspberry Pi Setup Instructions  (Read 44950 times)

0 Members and 1 Guest are viewing this topic.

Online Weather Display

  • Posts: 86,522
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 68.0.3440.106
    • Weather Display
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #210 on: August 21, 2018, 06:17:06 PM »
my bad, you are right
the problem is , try setting the station type as 234 instead

Offline punkrow

  • Posts: 5
  • OS/Browser:
  • iOS 11.4.1
  • Safari 11.0
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #211 on: August 22, 2018, 07:53:43 AM »
ok Brian, as soon as i have my raspberry pi back i will try and i will let you know.
Thank you.


Offline punkrow

  • Posts: 5
  • OS/Browser:
  • (Linux Mint)
  • Firefox 52.0
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #212 on: September 13, 2018, 08:33:54 PM »
Hi Brian,

my raspberry pi  just came back and I'm trying your suggestion of setting the parameter Station type raw=234. Unfortunately it is not working and I'm getting this error:

Code: [Select]
www.weather-display.com
Write Error :: Broken pipe
WMR300 opened OK
data read length ->-1
data read length ->-1
data read length ->-1
data read length ->-1
data read length ->-1
data read length ->-1
data read length ->-1
data read length ->-1
data read length ->-1
USBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeUSBWrite Write Erro Broken pipeU^C


Do you have any suggestion? Any help is appreciated.

Thank you very much

Online Weather Display

  • Posts: 86,522
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 68.0.3440.106
    • Weather Display
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #213 on: September 13, 2018, 08:51:50 PM »
looks like a usb/hid driver problem
you could try disconnecting then reconnecting the usb plug to the station

Offline dunbrokin

  • Posts: 317
  • Otago
  • OS/Browser:
  • (Linux Mint)
  • Chrome 71.0.3578.80
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #214 on: January 02, 2019, 04:19:28 AM »
so it does run now?
the weather data is shown in the terminal output
and you can get it to produce a web page, clientraw,customclientraw, etc, so you can view the data in a browser window
and there is also a gui simple client program (uses the clientraw.txt) that you can run..double click on that executable file, wdpi

Profuse apologies, it has taken me a long long time to get back to this. I now have the Gui working (wdpi) and I have ./consoelwd running on the command line...so  I am connecting to the Davis, the dials are spinning, the time is set correctly but the Data Received continues to show 0!,,,,I can see the raw output coming in on the terminal...but no increase in data received and graphs only showing straight lines.

What have I missed?
Ubuntu is computer speak for defenestration.

Offline dunbrokin

  • Posts: 317
  • Otago
  • OS/Browser:
  • (Linux Mint)
  • Chrome 56.0.2924.84
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #215 on: January 02, 2019, 05:02:18 AM »
I should have included a screen shot....now attached!

Also, how do I run this headless....do I just let ./consolewd run from the command line?...ok got this sorted now!
« Last Edit: January 04, 2019, 07:02:25 AM by dunbrokin »
Ubuntu is computer speak for defenestration.

Online Weather Display

  • Posts: 86,522
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 71.0.3578.98
    • Weather Display
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #216 on: January 03, 2019, 09:43:51 PM »
so the current conditions are correct?
if you run wdpi from the terminal, does any errors show when it should be updating the data every minute?
I wonder if its a permissions problem

Offline Andre Germain

  • Posts: 18
  • North Lancaster, Ontario, Canada
  • OS/Browser:
  • Win XP
  • Firefox 52.0
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #217 on: January 04, 2019, 02:09:44 AM »
dunbrokin: Do you confirm that both our installations are showing correct dial movements, but graphing and data quality are not. Do you have extra Davis sensors as I have?

I came over to this thread as you had indicated on mine.

Cheers
« Last Edit: January 04, 2019, 02:23:29 AM by Andre Germain »

Offline dunbrokin

  • Posts: 317
  • Otago
  • OS/Browser:
  • (Linux Mint)
  • Chrome 71.0.3578.80
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #218 on: January 04, 2019, 03:35:16 AM »
Yes i confirm that the the installation is showing correct data and dial movements.....I do not have any extra sensors
Ubuntu is computer speak for defenestration.

Offline dunbrokin

  • Posts: 317
  • Otago
  • OS/Browser:
  • (Linux Mint)
  • Chrome 56.0.2924.84
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #219 on: January 04, 2019, 06:01:30 AM »
This is what I get when I run it in the terminal.

[HINT] TWinControl.CreateWnd creating Handle during loading mainform:Tmainform csDesigning=False
[HINT] TWinControl.CreateWnd creating Handle during loading data_rec:TEdit csDesigning=False
[HINT] TWinControl.CreateWnd creating Handle during loading data_qual:TEdit csDesigning=False

(wdpi:1219): Gdk-CRITICAL **: IA__gdk_drawable_get_size: assertion 'GDK_IS_DRAWABLE (drawable)' failed

Ubuntu is computer speak for defenestration.

Online Weather Display

  • Posts: 86,522
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 71.0.3578.98
    • Weather Display
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #220 on: January 04, 2019, 10:17:17 PM »
is there any more error messages after what you posted?

Offline dunbrokin

  • Posts: 317
  • Otago
  • OS/Browser:
  • (Linux Mint)
  • Chrome 71.0.3578.80
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #221 on: January 05, 2019, 12:01:33 AM »
Nope.....that was it!
Ubuntu is computer speak for defenestration.

Offline dunbrokin

  • Posts: 317
  • Otago
  • OS/Browser:
  • (Linux Mint)
  • Chrome 71.0.3578.80
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #222 on: January 05, 2019, 03:51:35 AM »
Next Problem:

Where do I find the files that I upload to my website on the Pi? On my old linux system these were /wdisplay/webfiles etc?
Ubuntu is computer speak for defenestration.

Offline dunbrokin

  • Posts: 317
  • Otago
  • OS/Browser:
  • (Linux Mint)
  • Chrome 71.0.3578.80
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #223 on: January 05, 2019, 06:07:53 AM »
It appears that I am running into same problem with Weather Underground as was pointed out elsewhere: https://www.weather-watch.com/smf/index.php/topic,66237.30.html

WU not updating every 5 mins. It updates immediately if you do it by hand.....but the config file does not update it every 5 mins as specified.

Ubuntu is computer speak for defenestration.

Online Weather Display

  • Posts: 86,522
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 71.0.3578.98
    • Weather Display
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #224 on: January 05, 2019, 06:33:49 PM »
there is a webfiles folder
and a datafiles and logfiles folder
just like the linux version

re wunderground
it does work for others
maybe you do not have it correctly set in the config.txt