$ sudo weewxd /etc/weewx/weewx.conf # Latitude and longitude in decimal degrees
latitude = aaa.bbb
longitude = xxx.yyyyHmmm! I would have to pass on that one....I am not sure I even know what it means.....is it something I set up when following the instructions about installing nginx?
One other thing....I have not done anything about setting up the NTP Daemon thing....do I need to do that also?
You need to fix this..apt install ntp
--
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.
Jan 6 18:25:20 Weatherpi ntpd_intres[684]: host name not found: 0.debian.pool.ntp.org
Jan 6 18:25:20 Weatherpi ntpd_intres[684]: host name not found: 1.debian.pool.ntp.org
Jan 6 18:25:20 Weatherpi ntpd_intres[684]: host name not found: 2.debian.pool.ntp.org
Jan 6 18:25:20 Weatherpi ntpd_intres[684]: host name not found: 3.debian.pool.ntp.org
Yes it does!
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/LGS3xtzmot0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
This is all I could find on the syslog....no errors given so I will ignore the LOOP etcJan 6 18:25:20 Weatherpi weewx[831]: engine: Loading station type Vantage (weewx.drivers.vantage)Jan 6 18:25:20 Weatherpi weewx[831]: import of driver failed: [Errno 11] Resource temporarily unavailable (<type 'exceptions.OSError'>)Jan 6 18:25:20 Weatherpi weewx[688]: vantage: No <ACK> received from consoleJan 6 18:25:20 Weatherpi weewx[831]: engine: Unable to load driver: [Errno 11] Resource temporarily unavailableJan 6 18:25:20 Weatherpi weewx[831]: **** Exiting...
Jan 6 18:25:20 Weatherpi ntpd_intres[684]: host name not found: 0.debian.pool.ntp.orgJan 6 18:25:20 Weatherpi ntpd_intres[684]: host name not found: 1.debian.pool.ntp.orgJan 6 18:25:20 Weatherpi ntpd_intres[684]: host name not found: 2.debian.pool.ntp.orgJan 6 18:25:20 Weatherpi ntpd_intres[684]: host name not found: 3.debian.pool.ntp.org
Jan 6 18:25:20 Weatherpi weewx[688]: vantage: No <ACK> received from consoleJan 6 18:25:20 Weatherpi weewx[688]: vantage: No <ACK> received from consoleJan 6 18:25:20 Weatherpi avahi-daemon[468]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::1cc0:5dfe:d383:8c98.Jan 6 18:25:20 Weatherpi avahi-daemon[468]: New relevant interface eth0.IPv6 for mDNS.
On Sunday, 6 January 2019 17:52:24 UTC+13, gjr80 wrote:On Sunday, 6 January 2019 14:20:09 UTC+10, monmul wrote:Hmmm! I would have to pass on that one....I am not sure I even know what it means.....is it something I set up when following the instructions about installing nginx?Ok, you posted a screen capture with a couple of loop packets (the lines starting with LOOP: ). This was part of the output you would have seen when you ran weewx directly using sudo weewxd /etc/weewx/weewx.conf. Since you only showed us a couple of loop packets things could be running fine, its hard to say with such a small snapshot. The loop packets were 5 seconds apart, if you station emits loop packets every 5 seconds then this is fine, if it emits loop packets every 2 seconds then maybe there is an issue. Having a look at a good couple of archive periods of output would give a better feel for things rather than just a couple of loop packets. We would also see some archive records (they occur once per archive period) and start with REC: on screen. Would also be handy to know the station type/model.You might want to have a read through Loop packets vs. archive records in the Customization Guide - it will give you a bit of background. Also, have a look at your log (likely /var/log/syslog) from when you start weeWX, you will see a whole pile of info there as to how your station and weeWX are configured. teh log is good for seeing startup config and events as they happen (including errors). Screen output from running weeWX directly is handy for seeing the actual data weeWX gets off the station.nginx will have nothing to do it, nginx is purely serving web pages/data to your browser, the sleeping/retrying etc is weeWX interacting with your weather station.One other thing....I have not done anything about setting up the NTP Daemon thing....do I need to do that also?Horses for courses. If it were me I would get NTP setup and working properly. Correct time is critical for weeWX to operate trouble free, some really bad and unusual things happen if weeWX and your station have significantly different times. That being said, once you have the correct time set all will likely be well until you have to reboot or turn your RPi off or there is a power interruption. RPis (as distinct from a desktop type PC or laptop) are a common source of concern as they have no battery backed clock for when the power is off, they have a fake hardware clock that can come up in the past. Various improvements have been applied to weeWX over the years to make it better handle temporal displacements and it is probably the best it has been but as a minimum I would get NTP up and running and I would also consider an add-on battery backed RTC module, they are just a couple of dollars on ebay or the like.Gary
Duh! thanks Gary!
On Sunday, 6 January 2019 14:37:27 UTC+13, monmul wrote:I am new to weewx and am trying to set it up on my Rpi 3. I have a Davis Vantage weather station. I have a serial Envoy data logger attaced to my Rpi with a serial/usb converter. In following the set up instructions, I get these errors!sudo weewxd weewx.confTraceback (most recent call last):File "/usr/bin/weewxd", line 64, in <module>weewx.engine.main(options, args)File "/usr/share/weewx/weewx/engine.py", line 835, in mainsane = os.stat(config_path).st_ctimeOSError: [Errno 2] No such file or directory: '/home/pi/weewx.conf'pi@Weatherpi:~ $ tail -f /var/log/syslogJan 6 13:37:43 Weatherpi bluetoothd[843]: Endpoint unregistered: sender=:1.16 path=/MediaEndpoint/A2DPSinkJan 6 13:37:47 Weatherpi dhcpcd[498]: wlan0: no IPv6 Routers availableJan 6 13:37:48 Weatherpi dhcpcd[498]: eth0: no IPv6 Routers availableJan 6 13:37:57 Weatherpi systemd[852]: Time has been changedJan 6 13:37:57 Weatherpi systemd[1]: Time has been changedJan 6 13:41:05 Weatherpi rsyslogd-2007: action 'action 17' suspended, next retry is Sun Jan 6 13:41:35 2019 [try http://www.rsyslog.com/e/2007 ]Jan 6 13:41:06 Weatherpi weewx[1515]: engine: Initializing weewx version 3.8.2Jan 6 13:41:06 Weatherpi weewx[1515]: engine: Using Python 2.7.9 (default, Sep 26 2018, 05:58:52) #012[GCC 4.9.2]Jan 6 13:41:06 Weatherpi weewx[1515]: engine: Platform Linux-4.9.35-v7+-armv7l-with-debian-8.0Jan 6 13:41:06 Weatherpi weewx[1515]: engine: Locale is 'en_GB.UTF-8'Jan 6 13:52:34 Weatherpi systemd[1]: Starting Cleanup of Temporary Directories...Jan 6 13:52:34 Weatherpi rsyslogd-2007: action 'action 17' suspended, next retry is Sun Jan 6 13:53:04 2019 [try http://www.rsyslog.com/e/2007 ]Jan 6 13:52:35 Weatherpi systemd[1]: Started Cleanup of Temporary Directories.Jan 6 13:55:28 Weatherpi wpa_supplicant[590]: wlan0: WPA: Group rekeying completed with 30:5a:3a:cd:e7:f0 [GTK=CCMP]Jan 6 13:55:28 Weatherpi rsyslogd-2007: action 'action 17' suspended, next retry is Sun Jan 6 13:55:58 2019 [try http://www.rsyslog.com/e/2007 ]Jan 6 13:55:28 Weatherpi wpa_supplicant[590]: wlan0: WPA: Group rekeying completed with 30:5a:3a:cd:e7:f0 [GTK=CCMP]Please where have I gone wrong?.....................................................................................................................................................Hi,It appears that you are in the /home/pi directory and hence weewxd is looking for weewx.conf in /home/pi. Use the full path for weewx.conf ie:$ sudo weewxd /etc/weewx/weewx.confGary
$ sudo systemctl status weewxJan 6 13:41:06 Weatherpi weewx[1515]: engine: Initializing weewx version 3.8.2
Jan 6 13:41:06 Weatherpi weewx[1515]: engine: Using Python 2.7.9 (default, Sep 26 2018, 05:58:52) #012[GCC 4.9.2]
Jan 6 13:41:06 Weatherpi weewx[1515]: engine: Platform Linux-4.9.35-v7+-armv7l-with-debian-8.0
Jan 6 13:41:06 Weatherpi weewx[1515]: engine: Locale is 'en_GB.UTF-8'
I am new to weewx and am trying to set it up on my Rpi 3. I have a Davis Vantage weather station. I have a serial Envoy data logger attaced to my Rpi with a serial/usb converter. In following the set up instructions, I get these errors!
sudo weewxd weewx.confTraceback (most recent call last):File "/usr/bin/weewxd", line 64, in <module>weewx.engine.main(options, args)File "/usr/share/weewx/weewx/engine.py", line 835, in mainsane = os.stat(config_path).st_ctimeOSError: [Errno 2] No such file or directory: '/home/pi/weewx.conf'pi@Weatherpi:~ $ tail -f /var/log/syslogJan 6 13:37:43 Weatherpi bluetoothd[843]: Endpoint unregistered: sender=:1.16 path=/MediaEndpoint/A2DPSinkJan 6 13:37:47 Weatherpi dhcpcd[498]: wlan0: no IPv6 Routers availableJan 6 13:37:48 Weatherpi dhcpcd[498]: eth0: no IPv6 Routers availableJan 6 13:37:57 Weatherpi systemd[852]: Time has been changedJan 6 13:37:57 Weatherpi systemd[1]: Time has been changedJan 6 13:41:05 Weatherpi rsyslogd-2007: action 'action 17' suspended, next retry is Sun Jan 6 13:41:35 2019 [try http://www.rsyslog.com/e/2007 ]
Jan 6 13:41:06 Weatherpi weewx[1515]: engine: Initializing weewx version 3.8.2Jan 6 13:41:06 Weatherpi weewx[1515]: engine: Using Python 2.7.9 (default, Sep 26 2018, 05:58:52) #012[GCC 4.9.2]Jan 6 13:41:06 Weatherpi weewx[1515]: engine: Platform Linux-4.9.35-v7+-armv7l-with-debian-8.0Jan 6 13:41:06 Weatherpi weewx[1515]: engine: Locale is 'en_GB.UTF-8'
Jan 6 13:52:34 Weatherpi systemd[1]: Starting Cleanup of Temporary Directories...Jan 6 13:52:34 Weatherpi rsyslogd-2007: action 'action 17' suspended, next retry is Sun Jan 6 13:53:04 2019 [try http://www.rsyslog.com/e/2007 ]Jan 6 13:52:35 Weatherpi systemd[1]: Started Cleanup of Temporary Directories.Jan 6 13:55:28 Weatherpi wpa_supplicant[590]: wlan0: WPA: Group rekeying completed with 30:5a:3a:cd:e7:f0 [GTK=CCMP]Jan 6 13:55:28 Weatherpi rsyslogd-2007: action 'action 17' suspended, next retry is Sun Jan 6 13:55:58 2019 [try http://www.rsyslog.com/e/2007 ]Jan 6 13:55:28 Weatherpi wpa_supplicant[590]: wlan0: WPA: Group rekeying completed with 30:5a:3a:cd:e7:f0 [GTK=CCMP]
$ wee_device --set-offset=windDir,180Curious why you are using a Wi-Fi dongle? RPI 3 has Wi-Fi built in.
Tom
--
I notice an error in the archival interval - see below. Is this important?
Jan 8 11:07:08 Weatherpi weewx[750]: engine: The archive interval in the configuration file (300) does not match the station hardware interval (600).Jan 8 11:07:08 Weatherpi weewx[750]: engine: Using archive interval of 600 seconds (specified by hardware)
Jan 8 11:07:14 Weatherpi weewx[750]: vantage: LOOP try #1; error: Expected to read 99 chars; got 0 insteadJan 8 11:07:19 Weatherpi weewx[750]: vantage: LOOP try #2; error: Expected to read 99 chars; got 0 insteadJan 8 11:07:28 Weatherpi weewx[750]: vantage: LOOP try #3; error: Expected to read 99 chars; got 0 insteadJan 8 11:07:33 Weatherpi weewx[750]: vantage: LOOP try #4; error: Expected to read 99 chars; got 0 insteadJan 8 11:07:33 Weatherpi weewx[750]: vantage: LOOP max tries (4) exceeded.Jan 8 11:07:33 Weatherpi weewx[750]: engine: Caught WeeWxIOError: Max tries exceeded while getting LOOP data.Jan 8 11:07:33 Weatherpi weewx[750]: **** Waiting 60 seconds then retrying...
$ tail -f -n 20 /var/log/syslogweewx.UnitError: Unit system of incoming record (0x10) differs from 'archive' table in 'weewx.sdb' database (0x01)
I am new to weewx and am trying to set it up on my Rpi 3. I have a Davis Vantage weather station. I have a serial Envoy data logger attaced to my Rpi with a serial/usb converter. In following the set up instructions, I get these errors!
sudo weewxd weewx.conf
Traceback (most recent call last):File "/usr/bin/weewxd", line 64, in <module>weewx.engine.main(options, args)
<img src="daytempdew.png" alt="temperatures" />Look towards the bottom of the index.html.temp file in the skins/standard directory. You will see <img src=”dayinside.png” alt=”Inside” />. Comment out this line.
Tom
From: weewx...@googlegroups.com <weewx...@googlegroups.com> On Behalf Of monmul
Sent: Sunday, January 13, 2019 2:48 PM
To: weewx-user <weewx...@googlegroups.com>
Subject: [weewx-user] Re: Getting the RPi 3 with Davis Vantage up and running
I am searching for how to turn off showing the "internal temperature" graph but cannot see a anything in skin.conf or in weewx.conf.........what am I missing?
--
Tom
The location of the different weeWX components depends on how you installed weeWX. Have a look at Where to find things (http://www.weewx.com/docs/usersguide.htm#Where_to_find_things) in the User's Guide. The de facto standard has been to refer to the setup.py location if only one location is given. Your install is a .deb or dpkg so you should put the xstats files in /usr/share/weewx/user.
Gary
Exactly what statistic are you trying to obtain?
Oh, and xstats.py may well have been there if you previously installed xstats using wee_extenaion.
Gary
Gary
#set $max_rain = 0
#set $max_rain_year = None
#for $y in $alltime.years
#set $year_no = $y.start
#set $year_rain = $y.rain.sum
#if $year_rain.raw > $max_rain
#set $max_rain = $year_rain.raw
#set $max_rain_vh = $year_rain
#set $max_rain_year = $year_no
#end if
#end for
#if $max_rain_year is not None
Maximum annual rainfall was $max_rain_vh.mm in $max_rain_year.format("%Y")
#else
No rainfall data available
#end ifMaximum annual rainfall was 1326.4 mm in 2015