cloudy cloudy

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

0 Members and 1 Guest are viewing this topic.

Offline Weather Display

  • Posts: 84,709
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 67.0.3396.87
    • Weather Display
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #195 on: July 01, 2018, 07:33:05 PM »
yes
but you way you still want to run WD windows, but getting data from raspberry pi?
or is that not correct?

Offline Wetter

  • Peter
  • Posts: 38
  • OS/Browser:
  • Win NT 10.0
  • Chrome 67.0.3396.99
    • Lütjenburg Wetter
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #196 on: July 01, 2018, 08:04:36 PM »
no, i stop run WD windows.

Only raspberry pi.

Offline Wetter

  • Peter
  • Posts: 38
  • OS/Browser:
  • Win NT 10.0
  • Chrome 67.0.3396.99
    • Lütjenburg Wetter
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #197 on: July 05, 2018, 12:51:41 PM »
Hello,

How can I integrate ./consolewd into the autostart or crontab?

Thank You

Offline Weather Display

  • Posts: 84,709
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 67.0.3396.87
    • Weather Display
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #198 on: July 05, 2018, 06:03:31 PM »
not sure why you are asking about windows then when you say you have stopped running WD windows

re auto start, google should shows lots of ways to get a program to auto start on a raspberry pi

Offline Wetter

  • Peter
  • Posts: 38
  • OS/Browser:
  • Win NT 10.0
  • Chrome 67.0.3396.99
    • Lütjenburg Wetter
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #199 on: July 05, 2018, 06:55:17 PM »
maybe a misunderstanding, i do not use windows anymore. Now I use raspberry pi. no matter what I try the command ./ does not exist.

Offline Weather Display

  • Posts: 84,709
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 67.0.3396.87
    • Weather Display
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #200 on: July 05, 2018, 07:49:59 PM »
how do you mean the ./ command?
what are you trying to do exactly?

Offline Wetter

  • Peter
  • Posts: 38
  • OS/Browser:
  • Win NT 10.0
  • Chrome 67.0.3396.99
    • Lütjenburg Wetter
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #201 on: July 05, 2018, 08:31:36 PM »
to start the console I have to enter comando sudo ./consolewd
it does not work with consolewd start
my question i write the command line
crontab -e

@reboot /bin/bash/home/pi/consolewdfiles/./consolewd ???? this is not working

Offline blainec

  • Global Moderator
  • Posts: 366
  • Calgary, Ab.
  • OS/Browser:
  • (Linux Mint)
  • Chrome 65.0.3325.181
    • Weather YYC
Re: WD Dor Linux Basics
« Reply #202 on: August 12, 2018, 04:46:55 PM »


1.2.1  download from  http://alioth.debian.org/frs/?group_id=30451.
It is placed into your home folder

URL not working...

Offline blainec

  • Global Moderator
  • Posts: 366
  • Calgary, Ab.
  • OS/Browser:
  • (Linux Mint)
  • Chrome 65.0.3325.181
    • Weather YYC
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #203 on: August 12, 2018, 04:53:17 PM »
to start the console I have to enter comando sudo ./consolewd
it does not work with consolewd start
my question i write the command line
crontab -e

@reboot /bin/bash/home/pi/consolewdfiles/./consolewd ???? this is not working

Did you ever get this working?

Offline Weather Display

  • Posts: 84,709
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 67.0.3396.99
    • Weather Display
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #204 on: August 13, 2018, 04:13:49 AM »
Quote
1.2.1  download from  http://alioth.debian.org/frs/?group_id=30451.
It is placed into your home folder

URL not working...
you do not need to do that step though I think you will find

Offline punkrow

  • Posts: 3
  • OS/Browser:
  • (Linux Mint)
  • Firefox 52.0
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #205 on: August 20, 2018, 04:54:11 PM »
Hi all,

We installed consolewd using the procedure at this link https://www.weather-watch.com/smf/index.php/topic,59307.msg474461.html#msg474461.
We started the program and the output is the following:

Code: [Select]
pi@raspberrypi:~/meteo/consolewdfiles32 $ sudo ./consolewd
Station type raw=235<
Station type =235
Weather station type is an wmr300
meteobridge user=  <
meteobridge ip= 192.168.0.1<
meteobridge pass=  <
Davis com method d
OWW file location= <-
program location= /home/pi/meteo/consolewdfiles32/<-
Davis VP IP data logger port= 22222<
Davis VP IP data logger IP= 192.168.2.3<-
Station name =xxx
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 =-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 = =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 = kts
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=16
local hour=18
****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
looking for file /home/pi/meteo/consolewdfiles32/outdata.txt
looking for file /home/pi/meteo/consolewdfiles32/outdata.txt
looking for file /home/pi/meteo/consolewdfiles32/outdata.txt
looking for file /home/pi/meteo/consolewdfiles32/outdata.txt
looking for file /home/pi/meteo/consolewdfiles32/outdata.txt
looking for file /home/pi/meteo/consolewdfiles32/outdata.txt
looking for file /home/pi/meteo/consolewdfiles32/outdata.txt
looking for file /home/pi/meteo/consolewdfiles32/outdata.txt

no way to get the software working.
Anyone has the same issue ?

my configuration is the following:

Code: [Select]
Raspberry PI 1 model B
Raspbian 9 (stretch)
Kernel: 4.14.62+
libhid version: libhid-0.2.16
libusb version: libusb-1.0.22

I checked the procedure on a virtual instance of raspberry pi and the software works great. The only difference between the phisical raspberry pi and virtual raspberry pi is the older kernel version on the virtual instance. it could be a kernel compatibility problem ?

Thank you very much in advance

Offline Weather Display

  • Posts: 84,709
  • 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 #206 on: August 20, 2018, 07:03:59 PM »
i see you have set station type to raw input (station type 235) and then its trying to use a input file but cant find it
what weather station type do you have exactly?

Offline punkrow

  • Posts: 3
  • OS/Browser:
  • iOS 11.4.1
  • Safari 11.0
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #207 on: August 20, 2018, 10:16:41 PM »
Oregon scientific wmr300, in the example i posted  the station was not connected. I tried also with  station plugged in  but the result was the same.

Offline Weather Display

  • Posts: 84,709
  • 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 #208 on: August 20, 2018, 11:02:48 PM »
with it plugged in, you would need to set the station type to wmr300

Offline punkrow

  • Posts: 3
  • OS/Browser:
  • iOS 11.4.1
  • Safari 11.0
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #209 on: August 21, 2018, 05:49:19 PM »
Hi Brian,

Wmr300 code is 235 correct ?

Thank you

 

cumulus