diff --git a/TODO.txt b/TODO.txt index 23f33712..646e56b5 100644 --- a/TODO.txt +++ b/TODO.txt @@ -1,5 +1,3 @@ -Links to Wunderfixer seem to have gotten lost on the website. - wee_config_device --dump should be able to dump to a metric units database. See if it is possible to make cheetahgenerator not require a default wx_binding diff --git a/docs/usersguide.htm b/docs/usersguide.htm index e6f7eb87..87808dd8 100644 --- a/docs/usersguide.htm +++ b/docs/usersguide.htm @@ -3487,74 +3487,16 @@ Nov 27 20:30:21 rpi weewx[5607]: **** Generator terminated... Nov 27 20:30:23 rpi weewx[5607]: genimages: Generated 11 images in 2.53 seconds

See the section on option record_generation.

-

Raspberry Pi

-

Running weewx on a Raspberry Pi has become - very popular. You'll have to look elsewhere for instructions on setting up - your RPi, but there are a few very common problems with - setting them up.

-

NTP

-

You must run NTP on your RPi, and you must make sure it - starts and updates the time before weewx - runs.

-

The reason is that the RPi does not have an onboard clock. If you lose - power and, say, an hour later it comes back, your RPi will simply pick up - where it left off — one hour behind. The symptom that something is amiss - is that everything will appear to be running normally, but your webpage - will not get updated (at least, until the length of the power failure has - elapsed). - - Here's one user's nice analysis of the problem.

-

What this means is that it is not enough to simply run the - weewx - daemon. You need some way of delaying its start until NTP is not only up - and running, but has contacted a time server and corrected the RPi's - clock.

-

Several users are working on a solution to this problem. Perhaps you'll - be the one to figure it out?!

-

Use a high-quality SD card

-

The SD card supplied with most RPis seems to be of very low quality. Make sure - you use a good, Class 10 card. User William Phelps reports, "You can usually spot - a failing card by watching the kernel I/O wait time. Once the card starts to go, the - I/O wait time will increase significantly."

-

FTP

-

Many Raspbian versions of Debian do not seem to include an FTP client. You may have - to install this if you plan on using FTP.

-
-sudo apt-get install ftp
-
-

Use a good power supply

-

A lot of problems with the RPi seem to center around - inadequate power supplies. Many weather stations can - demand a lot of current through their USB connection. - Make sure your RPi can supply it, either by getting a good - power supply (I use - a Innogear - 1.5 A supply, which costs all of $5.50 from - Amazon), or, alternatively, by using a powered USB hub.

- -

Run a lightweight web server

-

The RPi is astonishingly powerful for its size, but it does have its limitations. - If you plan on running a webserver on it, perhaps to serve your home, then use a - lightweight one, such as lighttpd - or nginx. Apache works, but it uses far more - memory. In my tests:

- - - - - - - - - - - - - - -
Memory requirements of 3 common webservers on a Raspberry Pi
WebserverVIRTRES
Apache222 Mb3 Mb
lighttpd7 Mb2 Mb
nginx11 Mb1.7 Mb
-

Fine Offset USB lockups

+

Raspberry Pi

+

+ See the weewx wiki for up-to-date information on Running + weewx on a Raspberry Pi. +

+ +

Fine Offset USB lockups

The Fine Offset series weather stations and their derivatives are a fine value and can be made to work reasonably reliably, but they have one