cloudy cloudy

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

0 Members and 1 Guest are viewing this topic.

Offline ADM

  • Posts: 141
  • Barrow County, Georgia USA
  • OS/Browser:
  • Win XP
  • Chrome 29.0.1547.57
ConsoleWD for Raspberry Pi Setup Instructions
« on: August 28, 2013, 10:39:10 AM »
Been searching the forum but, have not been able to find what I am looking for.  Is there a basic setup guide or some documentation for setting up WD on Linux, specifically the Raspberry Pi? Step 1 do this, step 2 do this etc.  Any information would be helpful.

Thanks!

al...




[Made sticky and changed title - Niko]
« Last Edit: August 31, 2013, 03:29:51 PM by niko »

Online Weather Display

  • Posts: 81,462
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 23.0
    • Weather Display
Re: WD Dor Linux Basics
« Reply #1 on: August 28, 2013, 10:41:57 AM »
there is a number of threads sepecifly about consolewd on raspberry pi

what exact steps were you have  a problem with

Online wvdkuil

  • Wim van der Kuil
  • Posts: 736
  • Amsterdam / Netherlands
  • OS/Browser:
  • Mac OS X 10.8.4
  • Chrome 29.0.1547.57
    • My private weatherstation
Re: WD Dor Linux Basics
« Reply #2 on: August 28, 2013, 06:16:58 PM »
Been searching the forum but, have not been able to find what I am looking for.  Is there a basic setup guide or some documentation for setting up WD on Linux, specifically the Raspberry Pi? Step 1 do this, step 2 do this etc.  Any information would be helpful.

Thanks!
al...
First step install extra libs

1.1 modify    /etc/apt/sources.list

Add one  line to that file, remember to use sudo or use the gui in a root file-manager window

deb http://ftp.nl.debian.org/debian/pool/main/u/udev/libudev-dev_175-7.2_armhf.deb sid main

execute in a terminal window
sudo apt-get install libudev-dev
sudo apt-get install libusb-dev

1.2 install libhid

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

1.2.2 modify in the downloaded folder libhid/test/lshid.c line 41
Reads now:
len = *((unsigned long*)custom);
modify that one line and add the extra two lines:
//len = *((unsigned long*)custom);
len = len;
custom = custom;


1.2.3 When you are in that folder in a terminal window
sudo ./configure && make
  at the end you will get an error 2 in the make part, ignore that
sudo make install
  this finishes without errors

1.3 install libusb

1.3.1 download from  http://www.libusb.org/

1.3.2 in a terminal-window go into that folder and type
sudo ./configure --prefix=/usr --disable-static && make
  at the end you will get an error 1, ignore those
sudo make install
  this finishes without errors

- - - - - - this finishes the first step

Second step, install and test consolewd

2.1  download from  http://www.weather-display.com/downloadfiles/consolewdfilespi.zip

2.2 unzip the folder

2.3 modify the text file config.txt in the unzipped folder with your settings

2.4  and copy  the consolewdfiles folder to your pi folder on the RaspberryPI

Do not read or use the readme.txt when it is dated in the past.
So do not try to use    sudo ./GoWdconsole.sh

2.3 Set all rights of the consolewdfiles folder to 777 including all of its its contents

2.4 copy all files from the consolewdfiles/deploy to the systemfolders
go into the consolewdfiles/deploy folder in your terminal window and type
sudo cp *.so /usr/lib/
sudo cp *.so /usr/local/lib/


2.6 start consolewd by typing
sudo ./consolewd

 - - -
errors which may pop up
Missing libhid.so.0
In the deploy folder simply copy   libhid.so.0.0  to libhid.so.0  and do step 2.4 again

At least this list (got it from Raspi), tested it a few times for writing an instruction in Dutch, works for me.

Succes, Wim
Vantage VUE with a WLIP used for https://weer.sluispark.be/
Vantage VP2 with a USB logger/Meteobridge for https://www.weerstation-herent.be/

Offline ADM

  • Posts: 141
  • Barrow County, Georgia USA
  • OS/Browser:
  • Win XP
  • Chrome 29.0.1547.57
Re: WD For Linux Basics
« Reply #3 on: August 28, 2013, 06:44:15 PM »
I have been following the thread but just looking for a simple step1 etc. guide.

Looks like one has been privied.  Manay thanks!

Online Weather Display

  • Posts: 81,462
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 23.0
    • Weather Display
Re: WD Dor Linux Basics
« Reply #4 on: August 28, 2013, 07:42:23 PM »
thanks for the step by step instructions :)
maybe this can be made a sticky?

Offline Raspi

  • Posts: 183
  • The Netherlands
  • OS/Browser:
  • Win XP
  • Chrome 29.0.1547.57
    • Weather Station Kampen (Fonteinkruid)
Re: WD Dor Linux Basics
« Reply #5 on: August 28, 2013, 08:37:53 PM »
Bravo Wim   =D> =D> =D>

Everything is in it. Nothing to add...

This How-to must really become a sticky  :thumbright:

Bernez
Be patient: In time, even an egg will walk...

Offline marfanuk

  • Posts: 85
  • Cheshire, UK
  • OS/Browser:
  • (Linux Mint)
  • Chrome 29.0.1547.62
    • Nantwich Weather
Re: WD Dor Linux Basics
« Reply #6 on: August 31, 2013, 03:01:04 PM »
Thanks, just tried this today on My Pi which has been doing nothing but gathering dust for the last few months.  The guide is excellent and everything works pretty much as it should.

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 26,652
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • MS IE 9.0
Re: WD Dor Linux Basics
« Reply #7 on: August 31, 2013, 03:30:43 PM »
thanks for the step by step instructions :)
maybe this can be made a sticky?

Done.

Offline Budgie

  • Martin
  • Global Moderator
  • Posts: 5,973
  • CWOP: CW7959
  • Lochaber, Scotland
  • OS/Browser:
  • Win XP
  • MS IE 8.0
    • Lochaber-Weather
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #8 on: September 01, 2013, 12:34:46 AM »
If Wim can copy the step-by-step into a new thread then we can put it into the forums FAQ section. ;)

Online wvdkuil

  • Wim van der Kuil
  • Posts: 736
  • Amsterdam / Netherlands
  • OS/Browser:
  • Mac OS X 10.8.4
  • Chrome 29.0.1547.62
    • My private weatherstation
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #9 on: September 01, 2013, 01:28:19 PM »
If Wim can copy the step-by-step into a new thread then we can put it into the forums FAQ section. ;)
I put it in a new thread
http://www.weather-watch.com/smf/index.php/topic,59307.0.html
Wim
Vantage VUE with a WLIP used for https://weer.sluispark.be/
Vantage VP2 with a USB logger/Meteobridge for https://www.weerstation-herent.be/

Offline ed2kayak

  • CoCoRaHS PA-CD-6, Weather Underground KPAMECHA7, CWOP DW5425
  • Posts: 452
  • Mechanicsburg PA
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 29.0.1547.62
    • Cumberland Valley Weather
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #10 on: September 01, 2013, 04:13:00 PM »
Wim,

Good job on write, thanks for posting that.  :D
Ed
CoCoRaHS PA-CD-6,  Weather Underground KPAMECHA7, CWOP DW5425

Offline jantoni

  • Posts: 8
  • OS/Browser:
  • (Linux Mint)
  • Firefox 17.0
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #11 on: November 12, 2013, 05:04:28 PM »
http://alioth.debian.org is not available.

Are there any other site where download libhid library?

Regards

Offline walberg

  • Posts: 7
  • OS/Browser:
  • Mac OS X 10.7
  • Firefox 25.0
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #12 on: November 21, 2013, 11:08:49 AM »
I have problems with the directory structures,   
As i have /public_html on my server.  I have done:

Do clientraw FTP=Y //(set to Y for yes, N for no), uploads every 1 minute
FTP server=hetweerindiemen.nl
FTP username="username"
FTP password="password"
FTP port=21                                              //default is 21
FTP remote dir=/public_html/voorpagina/                               
FTP remote dir wx.html=/public_html/voorpagina/
FTP remote dir wx2.html=/public_html/
FTP use passive=Y                                       //(set to Y for yes, N for no)
FTP use remote file rename=                    //Write here the remote name: NOTE that not all FTP servers allow remote file rename"
FTP time interval=60                   //the interval between two upload of the clientraw.txt and custom file
Save logfile=Y   //to save the .txt logfile (set to N to save on disk space)
Logfile metric=Y
Create custom file=Y   //converts the custom tags in a file called wxlocal.html to wx.html
Use this filename instead of wx.html=testtags.php
Use this filename instead of wx2.html=customtextout10.txt

Even tried  ./public_html/   I only get clientdraw.txt and it is placed on top (above   /public_html/

Offline walberg

  • Posts: 7
  • OS/Browser:
  • Mac OS X 10.7
  • Firefox 25.0
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #13 on: November 21, 2013, 02:15:40 PM »
Had a chat with my domain provider, They had an issue with the security of my php files, now i get everything exept customtextoud10.txt  that also is writing to /voorpagina  but should go to the home directory.  But that is not a big problem.

Online Weather Display

  • Posts: 81,462
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 25.0
    • Weather Display
Re: ConsoleWD for Raspberry Pi Setup Instructions
« Reply #14 on: November 21, 2013, 07:19:54 PM »
re
Quote
http://alioth.debian.org is not available.

that worked OK here
maybe try again now