OK, running in foreground gives:
pi@raspberrypi:~ $ sudo weewxd /etc/weewx/weewx.conf
Traceback (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 853, in main
    engine = EngineClass(config_dict)
  File "/usr/share/weewx/weewx/engine.py", line 69, in __init__
    self.setupStation(config_dict)
  File "/usr/share/weewx/weewx/engine.py", line 87, in setupStation
    driver = config_dict[stationType]['driver']
  File "/usr/lib/python2.7/dist-packages/configobj.py", line 554, in 
__getitem__
    val = dict.__getitem__(self, key)
KeyError: 'AcuRite 02064C'

System Log then says:
sudo tail -f /var/log/syslog
Oct  3 19:42:53 raspberrypi weewx[8114]:     ****      engine = 
EngineClass(config_dict)
Oct  3 19:42:53 raspberrypi weewx[8114]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 69, in __init__
Oct  3 19:42:53 raspberrypi weewx[8114]:     ****     
 self.setupStation(config_dict)
Oct  3 19:42:53 raspberrypi weewx[8114]:     ****    File 
"/usr/share/weewx/weewx/engine.py", line 87, in setupStation
Oct  3 19:42:53 raspberrypi weewx[8114]:     ****      driver = 
config_dict[stationType]['driver']
Oct  3 19:42:53 raspberrypi weewx[8114]:     ****    File 
"/usr/lib/python2.7/dist-packages/configobj.py", line 554, in __getitem__
Oct  3 19:42:53 raspberrypi weewx[8114]:     ****      val = 
dict.__getitem__(self, key)
Oct  3 19:42:53 raspberrypi weewx[8114]:     ****  KeyError: 'AcuRite 
02064C'
Oct  3 19:42:53 raspberrypi weewx[8114]:     ****  Exiting.
Oct  3 19:44:02 raspberrypi wpa_supplicant[461]: wlan0: WPA: Group rekeying 
completed with 20:c9:d0:24:c8:35 [GTK=CCMP]

As to the install, I used PiBakery, which I believe uses the full Rapbian 
install. I then downloaded the .deb install file from the weewx site and 
ran it from the graphical interface. Since the config tool didn't run, I 
edited it with nano to add my parameters. Restarted, tried to run it 
manually, and in checking for the HTML output it couldn't find any HTML 
generated.

Only thing I found confusing, which loking at the log above may be an 
issue, is that the instructions ask for a driver and model for AcuRites 
(see below), but don't give a clear idea of the syntax to add the model. I 
added it on one line, which seems in line with other config instructions, 
since there is not a seperate variable for "model".

[AcuRite]

This section is for options relating to the AcuRite 5-in-1 series of 
weather stations with USB connectors.

model

Set to the station model. For example, "AcuRite 01035", "AcuRite 01036", or 
"02032C"



Thanks again, and virtual beers, to all of you!


--Bob

On Sunday, October 2, 2016 at 2:50:03 PM UTC-5, Bob Breck wrote:
>
> New installation on a clear Raspberian install; configured for an AcuRite 
> 02064C. When I run, i get this in the log file (over and over again), and 
> no results in the weewx HTML file.
>
> Oct  2 14:17:01 raspberrypi rsyslogd-2007: action 'action 17' suspended, 
> next retry is Sun Oct  2 14:17:31 2016 [try http://www.rsyslog.com/e/2007 
> ]
> Oct  2 14:17:01 raspberrypi CRON[1511]: (root) CMD (   cd / && run-parts 
> --report /etc/cron.hourly)
> Oct  2 14:34:08 raspberrypi vncserver-x11[498]: Connections: connected: 
> 10.0.1.35::50737
>
> Any help much appreciated!
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to