You don't have permission to access /meteo on this server.

795 views
Skip to first unread message

Vincent Thebault

unread,
Nov 15, 2014, 5:10:27 PM11/15/14
to weewx...@googlegroups.com
Good evening,
I have follow the tuto that is here to install WeeWX for my PCE-FWS 20 (WH1080) http://blog.libero.it/raspberrypi/12712454.html.

But when I am trying to connect to the station have the error message :

Forbidden

You don't have permission to access /meteo on this server.


Apache/2.2.22 (Debian) Server at 192.168.1.189 Port 80

Could you tell me how to solve this ?
Regards, Vincent

Thomas Keffer

unread,
Nov 15, 2014, 6:06:21 PM11/15/14
to weewx-user
Did you look at the Weewx User's Guide, section on web servers?

-tk

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Vincent Thebault

unread,
Nov 16, 2014, 6:35:46 AM11/16/14
to weewx...@googlegroups.com
Good afternoon,

I have follow the instruction on the link that you gave me, but I do not know how to see if the following is ok :

Be sure that the path in the Apache configuration snippet matches the HTML_ROOT defined in the weewx configuration file.

Alias /weewx /home/weewx/public_html <Directory /home/weewx/public_html> Options FollowSymlinks AllowOverride None Order allow,deny Allow from all </Directory>


Could you help me ? Thanks



Sonia et Vincent THEBAULT

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/9_uV-NtOay0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.

Thomas Keffer

unread,
Nov 16, 2014, 8:07:52 AM11/16/14
to weewx-user
You did not give much information, but I assume that you are using Apache.

I also assume you are trying to access weewx by using the URL http://localhost/meteo

If so, you must give Apache permission to do so. Change the Apache configuration file for weewx (which should be located in /etc/apache2/conf.d/weewx.conf) so it reads:

Alias /meteo /home/weewx/public_html <Directory /home/weewx/public_html> Options FollowSymlinks AllowOverride None Order allow,deny Allow from all </Directory>


Then restart Apache:

sudo /etc/init.d/apache2 restart

Hope this helps.

-tk

Vincent Thebault

unread,
Nov 16, 2014, 9:07:46 AM11/16/14
to weewx...@googlegroups.com
Good afternoon,

I follow strictly the tuto at this location : http://blog.libero.it/raspberrypi/12712454.html.
Then I follow your instructions.

I just change the alias as you mentioned but I have the following message :

Not Found

The requested URL /meteo was not found on this server.


Apache/2.2.22 (Debian) Server at 192.168.1.189 Port 80



Sonia et Vincent THEBAULT

Vincent Thebault

unread,
Nov 16, 2014, 9:08:47 AM11/16/14
to weewx...@googlegroups.com
I use in chrome ;

is there something wrong somewhere ?
Thanks for your help.

Vincent

Sonia et Vincent THEBAULT

Vincent Thebault

unread,
Nov 16, 2014, 9:14:36 AM11/16/14
to weewx...@googlegroups.com
I just launched the command :  tail -f /var/log/syslog
I have this but I do not know if it is normal ?

Nov 16 13:33:06 raspberrypi ntpd[2966]: peers refreshed
Nov 16 13:33:07 raspberrypi dhclient: DHCPACK from 192.168.1.1
Nov 16 13:33:07 raspberrypi dhclient: bound to 192.168.1.189 -- renewal in 21584 seconds.
Nov 16 13:33:08 raspberrypi ntpd[2966]: Listen normally on 3 eth0 192.168.1.189 UDP 123
Nov 16 13:33:08 raspberrypi ntpd[2966]: peers refreshed
Nov 16 13:39:01 raspberrypi /USR/SBIN/CRON[12591]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Nov 16 14:09:01 raspberrypi /USR/SBIN/CRON[12605]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Nov 16 14:17:01 raspberrypi /USR/SBIN/CRON[12619]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Nov 16 14:39:01 raspberrypi /USR/SBIN/CRON[12626]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))
Nov 16 15:09:01 raspberrypi /USR/SBIN/CRON[12722]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime))

Regards
Vincent


Sonia et Vincent THEBAULT

Thomas Keffer

unread,
Nov 16, 2014, 10:12:46 AM11/16/14
to weewx-user
If you type the command

ls -l /var/www

what do you see? You should see a symbolic link to /home/weewx/public_html

-tk

Vincent Thebault

unread,
Nov 16, 2014, 10:28:34 AM11/16/14
to weewx...@googlegroups.com
this is the result :
total 4
-rw-r--r-- 1 root root 177 Feb 16  2014 index.html
lrwxrwxrwx 1 root root  23 Nov 15 22:31 meteo -> /home/weewx/public_html
is it norrmal ?
Regards
Vincent


Sonia et Vincent THEBAULT

Thomas Keffer

unread,
Nov 16, 2014, 10:33:11 AM11/16/14
to weewx-user
That looks correct.

Two things:

1. Did you remember to restart Apache after changing /etc/apache2/conf.d/weewx.conf?

2. Please give the results of this command:

cat /etc/apache2/conf.d/weewx.conf

-tk

Andrew Milner

unread,
Nov 16, 2014, 10:46:37 AM11/16/14
to weewx...@googlegroups.com
A few more things to try if you continue to have problems after doing what Tom has requested, and say what results you get:

Vincent Thebault

unread,
Nov 16, 2014, 10:51:12 AM11/16/14
to weewx...@googlegroups.com
Yes I restarted, but I do again :
root@raspberrypi:/etc/apache2/conf.d# cat /etc/apache2/conf.d/weewx.conf
Alias /meteo /home/weewx/public_html
<Directory /home/weewx/public_html>
  Options FollowSymlinks
  AllowOverride None
  Order allow,deny
  Allow from all
</Directory>
root@raspberrypi:/etc/apache2/conf.d# ^C
root@raspberrypi:/etc/apache2/conf.d# sudo /etc/init.d/apache2 restart
[....] Restarting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
 ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
. ok
root@raspberrypi:/etc/apache2/conf.d#

is there something wrong ?
Regards


Sonia et Vincent THEBAULT

Vincent Thebault

unread,
Nov 16, 2014, 10:54:21 AM11/16/14
to weewx...@googlegroups.com
http://192.168.1.189

It works!

This is the default web page for this server.

The web server software is running but no content has been added, yet.

http://192.168.1.189/index.html

It works!

This is the default web page for this server.

The web server software is running but no content has been added, yet.

http://192.168.1.189/meteo

Not Found

The requested URL /meteo was not found on this server.


Apache/2.2.22 (Debian) Server at 192.168.1.189 Port 80

http://192.168.1.189/meteo/index.html

Not Found

The requested URL /meteo/index.html was not found on this server.


Apache/2.2.22 (Debian) Server at 192.168.1.189 Port 80


Sonia et Vincent THEBAULT

Andrew Milner

unread,
Nov 16, 2014, 11:03:30 AM11/16/14
to weewx...@googlegroups.com
how about ls -l /var/www/meteo/index*  ??

Vincent Thebault

unread,
Nov 16, 2014, 11:09:15 AM11/16/14
to weewx...@googlegroups.com
root@raspberrypi:/etc/apache2/conf.d# ls -l /var/www/meteo/index*
ls: cannot access /var/www/meteo/index*: No such file or directory
root@raspberrypi:/etc/apache2/conf.d# ls -l /var/www/meteo/index
ls: cannot access /var/www/meteo/index: No such file or directory
root@raspberrypi:/etc/apache2/conf.d#

normal ?

Sonia et Vincent THEBAULT

Vincent Thebault

unread,
Nov 16, 2014, 11:12:40 AM11/16/14
to weewx...@googlegroups.com
I try to go to  /var/www/ then to meteo it failed :

root@raspberrypi:/var/www# ls
index.html  meteo
root@raspberrypi:/var/www# cd meteo
-bash: cd: meteo: No such file or directory
root@raspberrypi:/var/www#

root@raspberrypi:/var/www# ls -l
total 4
-rw-r--r-- 1 root root 177 Feb 16  2014 index.html
lrwxrwxrwx 1 root root  23 Nov 15 22:31 meteo -> /home/weewx/public_html
root@raspberrypi:/var/www#

Vincent



Sonia et Vincent THEBAULT

Andrew Milner

unread,
Nov 16, 2014, 11:16:15 AM11/16/14
to weewx...@googlegroups.com
can you:

cd  /home/weewx/public_html
ls -l

Vincent Thebault

unread,
Nov 16, 2014, 11:19:21 AM11/16/14
to weewx...@googlegroups.com
root@raspberrypi:/var/www# cd /home/weewx/public_html
-bash: cd: /home/weewx/public_html: No such file or directory
root@raspberrypi:/var/www#

what is wrong ?

Sonia et Vincent THEBAULT

Andrew Milner

unread,
Nov 16, 2014, 11:19:50 AM11/16/14
to weewx...@googlegroups.com
If that did not work, can you tell us where weewx is installed and where the public_html directory is located please and if necessary change the symbolic link in /var/www to point to the correct place and change the apache2 conf file to also match.

Vincent Thebault

unread,
Nov 16, 2014, 11:23:03 AM11/16/14
to weewx...@googlegroups.com
root@raspberrypi:/home/weewx# ls
bin  docs  LICENSE.txt  pistore.desktop  README  skins  util  weewx.conf  weewx.conf.save

I do not know where is public_html 
How to find it ?
Regards

Vincent


Sonia et Vincent THEBAULT

Thomas Keffer

unread,
Nov 16, 2014, 11:23:55 AM11/16/14
to weewx-user
Have you run weewx yet? The subdirectory /home/weewx/public_html is not created until after the first report is run.

-tk

Vincent Thebault

unread,
Nov 16, 2014, 11:29:36 AM11/16/14
to weewx...@googlegroups.com
I think so,

I re run part of the tuto that I mentionned. Here is the results 
root@raspberrypi:/home/weewx# sudo cp util/init.d/weewx.debian /etc/init.d/weewx
root@raspberrypi:/home/weewx# sudo chmod +x /etc/init.d/weewx
root@raspberrypi:/home/weewx# sudo update-rc.d weewx defaults 98
update-rc.d: using dependency based boot sequencing
insserv: warning: script 'mathkernel' missing LSB tags and overrides ----> ????
root@raspberrypi:/home/weewx# sudo /etc/init.d/weewx start
[ ok ] Starting weewx weather system: weewx.
root@raspberrypi:/home/weewx# ls
bin  docs  LICENSE.txt  pistore.desktop  README  skins  util  weewx.conf  weewx.conf.save
root@raspberrypi:/home/weewx#


Sonia et Vincent THEBAULT

Thomas Keffer

unread,
Nov 16, 2014, 11:32:04 AM11/16/14
to weewx-user
What does the log say?

Look in /var/log/syslog

-tk

Vincent Thebault

unread,
Nov 16, 2014, 11:33:43 AM11/16/14
to weewx...@googlegroups.com
root@raspberrypi:/home/weewx# tail -f /var/log/syslog
Nov 16 17:27:51 raspberrypi weewx[12963]:     ****    File "/home/weewx/bin/weewx/wxengine.py", line 134, in loadServices
Nov 16 17:27:51 raspberrypi weewx[12963]:     ****      self.service_obj.append(weeutil.weeutil._get_object(svc)(self, config_dict))
Nov 16 17:27:51 raspberrypi weewx[12963]:     ****    File "/home/weewx/bin/weewx/wxengine.py", line 405, in __init__
Nov 16 17:27:51 raspberrypi weewx[12963]:     ****      minval = converter.convert(vt)[0]
Nov 16 17:27:51 raspberrypi weewx[12963]:     ****    File "/home/weewx/bin/weewx/units.py", line 644, in convert
Nov 16 17:27:51 raspberrypi weewx[12963]:     ****      new_val_t = convert(val_t, new_unit_type)
Nov 16 17:27:51 raspberrypi weewx[12963]:     ****    File "/home/weewx/bin/weewx/units.py", line 1029, in convert
Nov 16 17:27:51 raspberrypi weewx[12963]:     ****      conversion_func = conversionDict[val_t[1]][target_unit_type]
Nov 16 17:27:51 raspberrypi weewx[12963]:     ****  KeyError: 'meter_per_hour'
Nov 16 17:27:51 raspberrypi weewx[12963]:     ****  Exiting.


Sonia et Vincent THEBAULT

Thomas Keffer

unread,
Nov 16, 2014, 11:37:46 AM11/16/14
to weewx-user
There is no such unit as "meter_per_hour" in weewx. 

Take a look at weewx.conf, section [StdQC]. I suspect one of the [[MinMax]] limits was specified in meter_per_hour. Perhaps you meant meter_per_second?

-tk

Vincent Thebault

unread,
Nov 16, 2014, 11:38:40 AM11/16/14
to weewx...@googlegroups.com
I change mm_per_hour into km_per_hour 
the syslog is giving :
Nov 16 17:37:03 raspberrypi weewx[13044]: fousb: unstable read: blocks differ for ptr 0x000080
Nov 16 17:37:03 raspberrypi weewx[13044]: fousb: unstable read: blocks differ for ptr 0x000080
Nov 16 17:37:04 raspberrypi weewx[13044]: fousb: unstable read: blocks differ for ptr 0x000080
Nov 16 17:37:04 raspberrypi weewx[13044]: fousb: unstable read: blocks differ for ptr 0x000080
Nov 16 17:37:04 raspberrypi weewx[13044]: fousb: unstable read: blocks differ for ptr 0x000080
Nov 16 17:37:04 raspberrypi weewx[13044]: fousb: unstable read: blocks differ for ptr 0x000080
Nov 16 17:37:04 raspberrypi weewx[13044]: fousb: unstable read: blocks differ for ptr 0x000080
Nov 16 17:37:04 raspberrypi weewx[13044]: fousb: unstable read: blocks differ for ptr 0x0000e0
Nov 16 17:37:04 raspberrypi weewx[13044]: fousb: unstable read: blocks differ for ptr 0x0000e0
Nov 16 17:37:04 raspberrypi weewx[13044]: fousb: unstable read: blocks differ for ptr 0x0000e0
Nov 16 17:37:04 raspberrypi weewx[13044]: fousb: unstable read: blocks differ for ptr 0x0000e0
Nov 16 17:37:04 raspberrypi weewx[13044]: fousb: unstable read: blocks differ for ptr 0x0000e0
Nov 16 17:37:05 raspberrypi weewx[13044]: fousb: get 1 records since 0001-01-01 00:00:00
Nov 16 17:37:05 raspberrypi weewx[13044]: fousb: synchronising to the weather station (quality=1)
Nov 16 17:37:05 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:37:06 raspberrypi weewx[13044]: fousb: status {'unknown': 0, 'lost_connection': 0, 'rain_overflow': 0} (0)
Nov 16 17:37:06 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:37:07 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:37:07 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:37:08 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:37:09 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:37:10 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:37:10 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:37:11 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:37:12 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:37:13 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:37:13 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:37:14 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:37:15 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:37:16 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:37:16 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:37:17 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:37:18 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:37:19 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:37:19 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:37:20 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:37:21 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:37:22 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:37:22 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:37:23 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:37:24 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5


Sonia et Vincent THEBAULT

Thomas Keffer

unread,
Nov 16, 2014, 11:40:38 AM11/16/14
to weewx-user
That looks normal. Just wait.

-tk

Vincent Thebault

unread,
Nov 16, 2014, 11:42:00 AM11/16/14
to weewx...@googlegroups.com
I have changed the units in order to be in METRIC :
 # You can override values in the skin configuration file here.  For
    # example, uncomment the following lines to display metric units
    # throughout the report, regardless of what is defined in the skin.
    #
    [[[Units]]]
        [[[[Groups]]]]
            group_altitude     = meter
            group_degree_day   = degree_C_day
            group_pressure     = mbar
            group_radiation    = watt_per_meter_squared
            group_rain         = mm
            group_rainrate     = mm_per_hour
            group_speed        = meter_per_second
            group_speed2       = meter_per_second2
            group_temperature  = degree_C

and here :

    [[MinMax]]
        barometer = 998, 1020, mbar
        outTemp = -5, 35, degree_C
        inTemp = 15, 30, degree_C
        outHumidity = 0, 100
        inHumidity = 0, 100
        rain = 0, 60, mm
        windSpeed = 0, 120, km_per_hour

Is it ok ? If not what do I should put in order to have the figure in METRIC ?

Regards
Vincent


Sonia et Vincent THEBAULT

Thomas Keffer

unread,
Nov 16, 2014, 11:44:15 AM11/16/14
to weewx-user
Let's first get it working, then worry about that. 

Vincent: you need to make small, incremental changes so you can see what is working. It is a bad idea to change everything at once.

-tk

Vincent Thebault

unread,
Nov 16, 2014, 11:51:08 AM11/16/14
to weewx...@googlegroups.com
In the tuto it was mentioned that if you want METRIC you need to change it ! I would have been better of course to have a sort of switch between US and METRIC ! But I agree with you :"the best is the enemy of the good"

How could I be certain that is connected to the right USB of the weather station ? I have ony 1 USB connected with the weather station and in the other usb port there is nothing.

Do you think that is working know ?

Regards

Vincent


Sonia et Vincent THEBAULT

Thomas Keffer

unread,
Nov 16, 2014, 11:55:23 AM11/16/14
to weewx-user
On Sun, Nov 16, 2014 at 8:50 AM, Vincent Thebault <vincent....@gmail.com> wrote:
In the tuto it was mentioned that if you want METRIC you need to change it ! I would have been better of course to have a sort of switch between US and METRIC ! But I agree with you :"the best is the enemy of the good"


​Yes, you need to change it, but first get weewx working, then make these changes.

A switch between US and METRIC would be worse. For example, I run US, but I like pressure in millibars. How would I do this with such a switch?

 
How could I be certain that is connected to the right USB of the weather station ? I have ony 1 USB connected with the weather station and in the other usb port there is nothing.

Do you think that is working know ?


​I have no idea. You will have to answer that. What does it show when you browse to http://localhost/meteo? What is in the system log?

-tk​

Vincent Thebault

unread,
Nov 16, 2014, 11:58:30 AM11/16/14
to weewx...@googlegroups.com
I have still :
Nov 16 17:56:54 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:56:55 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:56:56 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:56:57 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:56:57 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:56:58 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:56:59 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:57:00 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:57:00 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:57:01 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:57:02 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:57:03 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:57:03 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:57:04 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:57:05 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:57:06 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:57:06 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:57:07 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:57:08 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 17:57:09 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5

still 

Not Found

The requested URL /meteo was not found on this server.


Apache/2.2.22 (Debian) Server at 192.168.1.189 Port 80



Sonia et Vincent THEBAULT

mwall

unread,
Nov 16, 2014, 12:03:29 PM11/16/14
to weewx...@googlegroups.com
On Sunday, November 16, 2014 11:58:30 AM UTC-5, Vincent Thebault wrote:
I have still :
Nov 16 17:56:54 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5

you must wait.

if your station still has the factory default interval of 30 minutes, then you might have to wait for 30 minutes, then you might have to wait even longer as weewx downloads data from the station.

i highly recommend that you set the archive interval to 5 minutes.  see the instructions in the 'configuring hardware' section of the user guide.

m

Vincent Thebault

unread,
Nov 16, 2014, 12:11:03 PM11/16/14
to weewx...@googlegroups.com
Ok, thanks I will wait


Sonia et Vincent THEBAULT

--

Vincent Thebault

unread,
Nov 16, 2014, 12:51:57 PM11/16/14
to weewx...@googlegroups.com
I still have nothing till 17H50 !

Sonia et Vincent THEBAULT

Vincent Thebault

unread,
Nov 16, 2014, 12:52:18 PM11/16/14
to weewx...@googlegroups.com
Nov 16 18:51:10 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 18:51:11 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 18:51:12 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 18:51:12 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 18:51:13 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 18:51:14 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 18:51:15 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 18:51:15 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 18:51:16 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 18:51:17 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 18:51:18 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 18:51:18 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 18:51:19 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 18:51:20 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 18:51:21 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 18:51:21 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 18:51:22 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 18:51:23 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 18:51:24 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 18:51:24 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 18:51:25 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 18:51:26 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 18:51:27 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 18:51:27 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 18:51:28 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 18:51:29 raspberrypi weewx[13044]: fousb: unstable read: blocks differ for ptr 0x000100
Nov 16 18:51:29 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5


Sonia et Vincent THEBAULT

Vincent Thebault

unread,
Nov 16, 2014, 2:39:50 PM11/16/14
to weewx...@googlegroups.com
Good evening,
I still have nothing, how to find the problem ?
Regrds
Vincent


--
Sonia et Vincent THEBAULT

Andrew Milner

unread,
Nov 16, 2014, 2:56:41 PM11/16/14
to weewx...@googlegroups.com
Can you post more of the log - rather than just 10 seconds worth.  The piece of log you posted did not indicate a problem.  Have you changed the archive interval and set the weather station to a 5 minute interval as mathew recommended?
What is happening will be in the log - and without more information from the log it is hard to help you.

If the public_html has not yet been created then weewx must still be hotting an error condition of some kind.

Vincent Thebault

unread,
Nov 16, 2014, 3:15:44 PM11/16/14
to weewx...@googlegroups.com
Good evening,

Could you tell me how to change the log every 5 minutes ?

How I could get a logging file of syslog in txt file ? So I could post it.
Regards
Vincent
e 0.5
Nov 16 21:12:03 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:03 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:04 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:05 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:06 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:06 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:07 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:08 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:09 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:09 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:10 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:11 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:12 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:12 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:13 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:14 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:15 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:15 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:16 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:17 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:18 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:18 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:19 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:20 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:21 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:21 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:22 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:23 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:24 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:24 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:25 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:26 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:27 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:27 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:28 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:29 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:30 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:30 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:31 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:32 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:33 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:33 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:34 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:35 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:36 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:36 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:37 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:38 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:39 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:39 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:40 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:41 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:42 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:42 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:43 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:44 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:45 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:45 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:46 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:47 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:48 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:48 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:49 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:50 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:51 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:51 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:52 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:53 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:54 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:54 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:55 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:56 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:57 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:57 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:58 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:12:59 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:13:00 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:13:00 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:13:01 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:13:02 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:13:03 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:13:03 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:13:04 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:13:05 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:13:06 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:13:06 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:13:07 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:13:08 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:13:09 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5


Sonia et Vincent THEBAULT

Vincent Thebault

unread,
Nov 16, 2014, 3:22:15 PM11/16/14
to weewx...@googlegroups.com
I managed to change it to 5 minutes in weewx.conf
sudo nano /home/weewx/weewx.conf
then I restart using :
sudo /etc/init.d/weewx start

I got this in one of the lines

Nov 16 21:17:00 raspberrypi weewx[13044]: fousb: delay 5, pause 0.5
Nov 16 21:17:01 raspberrypi /USR/SBIN/CRON[13317]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)

is it normal ?
Regards
Vincent


Sonia et Vincent THEBAULT

Vincent Thebault

unread,
Nov 16, 2014, 3:25:50 PM11/16/14
to weewx...@googlegroups.com
I have also put :
# Set to 1 for extra debug info, otherwise comment it out or set to zero.
debug = 1


Sonia et Vincent THEBAULT

Andrew Milner

unread,
Nov 16, 2014, 3:28:46 PM11/16/14
to weewx...@googlegroups.com
Do you mean change the archive interval to every 5 minutes rather than the log??

Changing the archive interval is described in the manual = http://weewx.com/docs/usersguide.htm#[FineOffsetUSB]
Changing the interval on the station is also described in the manual : http://weewx.com/docs/usersguide.htm#wee_config_fousb

Syslog can be copied and edited and uploaded like any other text file


Sonia et Vincent THEBAULT


Sonia et Vincent THEBAULT


Sonia et Vincent THEBAULT


Sonia et Vincent THEBAULT

To unsubscribe from this group and all its topics, send an email to weewx-user+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.


--
Sonia et Vincent THEBAULT

--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/9_uV-NtOay0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Andrew Milner

unread,
Nov 16, 2014, 3:36:12 PM11/16/14
to weewx...@googlegroups.com
When weewx starts fousb tries to synchronise with the weather station - this can result in MANY messages in the log of the type you keep on posting - delay and pause - they are completely normal messages to see at start up.

Once fousb is 'happy' you will see 'main packet loop starting' - there will then normally be nothing more written to the log until the first archive period - which should be 5 minutes later if you have changed the settings.
Also make sure you have set polling mode to periodic and polling interval to 60, and probably archive type to software.

Vincent Thebault

unread,
Nov 16, 2014, 3:38:59 PM11/16/14
to weewx...@googlegroups.com
I change to 300 in order to set 5min
[FineOffsetUSB]
    # This section is for the Fine Offset series of weather stations.

    # The station model, e.g., WH1080, WS1090, WS2080, WH3081
    model = WH1080

    # The polling mode can be PERIODIC or ADAPTIVE
    polling_mode = PERIODIC

    # How often to poll the station for data, in seconds
    polling_interval = 300

    # The pressure calibration offset, in hPa (millibars)
    pressure_offset = 0

    # The driver to use:
    driver = weewx.drivers.fousb

Is it like that, that I should do ?

But how tu run this command : $BIN_ROOT/wee_config_fousb --info ?

Regards
Vincent 

Sonia et Vincent THEBAULT

Andrew Milner

unread,
Nov 16, 2014, 4:02:21 PM11/16/14
to weewx...@googlegroups.com
polling interval = 60

and in [StdArchive] set archive interval = 300 and record generation = software

To run the command 
cd /home/weewx/bin
wee_config_fousb --info but you may have to use 
sudo wee_config_fousb --info

Andrew Milner

unread,
Nov 16, 2014, 4:03:58 PM11/16/14
to weewx...@googlegroups.com
I'm sorry - but I'm off to bed now - so cannot help any more tonight.

Good luck

It's all in the user guide though - so happy bedtime reading!!

Andrew

Vincent Thebault

unread,
Nov 16, 2014, 4:09:47 PM11/16/14
to weewx...@googlegroups.com
It was like you mentioned,

but the following command does not work :
root@raspberrypi:/home/weewx/bin# sudo  wee_config_fousb --info
sudo: wee_config_fousb: command not found
root@raspberrypi:/home/weewx/bin# wee_config_fousb --info
-bash: wee_config_fousb: command not found
root@raspberrypi:/home/weewx/bin#


Sonia et Vincent THEBAULT

Vincent Thebault

unread,
Nov 16, 2014, 4:10:59 PM11/16/14
to weewx...@googlegroups.com
Good evening Andrew,
MAny thanks for your help,
Same for me for tonight.
Many thanks to the community, I will retry tomorrow.
Regards
Vincent

Sonia et Vincent THEBAULT

Liz

unread,
Nov 16, 2014, 4:23:39 PM11/16/14
to weewx...@googlegroups.com
On Sun, 16 Nov 2014 22:09:15 +0100
Vincent Thebault <vincent....@gmail.com> wrote:

> It was like you mentioned,
>
> but the following command does not work :
> root@raspberrypi:/home/weewx/bin# sudo wee_config_fousb --info
> sudo: wee_config_fousb: command not found
> root@raspberrypi:/home/weewx/bin# wee_config_fousb --info
> -bash: wee_config_fousb: command not found
> root@raspberrypi:/home/weewx/bin#

This is because you are trying to run a command from its own directory,
and there are special rules for this.

Try
sudo /home/weewx/bin/wee_config_fousb --info


Liz

Andrew Milner

unread,
Nov 16, 2014, 8:54:56 PM11/16/14
to weewx...@googlegroups.com
Thanks Liz ... my mistake ... it should have been

cd /home/weewx/bin
./wee_config_fousb --info 
or
sudo ./wee_config_fousb --info

or specify the full path as Liz said

Vincent Thebault

unread,
Nov 17, 2014, 1:56:25 AM11/17/14
to weewx...@googlegroups.com
Morning all,
I still have the same in syslog ! I have change to 5 minutes now.
Is there somebody that have the WH1080 weatherstation that facing similar issue than me ?
Regards
Vincent

Sonia et Vincent THEBAULT

--

Andrew Milner

unread,
Nov 17, 2014, 5:10:41 AM11/17/14
to weewx...@googlegroups.com
I run a 1080 on an RPI like you, also with mysql - and have not had the same problems as you!!  Just make sure that you have followed the installation instructions as given in the user manual.  I am not sure what your 'problems' are, because you have still not posted a full log from startup for the first say 15 minutes - that would help a lot in identifying what is happening.  You do not have to have debug set just yet - a normal log would be of great help - but keep it running.  If possible can you clear any data from the weather station, so that the startup may be a little quicker.  So far though you have given us log when you had config file errors, but we have not had any other error ogs posted yet!!


Vincent Thebault

unread,
May 2, 2015, 10:49:23 AM5/2/15
to weewx...@googlegroups.com
Good afternoon everybody,

I am back to weewx. In fact, I was blocked in the past as my usb on my screen display was apparently not working properly. So I decided to find an alternative to connect to my weather station. I purchase a small card to monitor the data from my weather station (http://www.pce-france.fr/fiches-mesureurs/station-meteorologique-pce-fws-20.htm) which is a station similar to a WH1080.

I have purchased the different items to connect the board to my py using the tuto found here: 

- The BM085 was purchased here :http://www.aliexpress.com/item/Free-shipping-BMP085-Altimeter-Atmospheric-Pressure-Module-for-Arduino/1743545416.html (I found difficult to found it, so if it can help).


I just finish to sold the last missing item and I would like to know how I could upgrade to the latest version ? But I cannot remember how I initially install it ! Is there a way to know it ?

If there is someone that have used the system that I am planning to use I am very interesting to know if there was some issues ?

Regards

Vincent


Sonia et Vincent THEBAULT
Reply all
Reply to author
Forward
0 new messages