Do I need to specify in the weewx.config where the site should be?
HTML_ROOT = /var/www/html/index.html
pi@raspberrypi:~ $ sudo tail -f /var/log/syslog
Mar 1 04:01:58 raspberrypi weewx[1185]: **** engine = engine_class(config_dict)
Mar 1 04:01:58 raspberrypi weewx[1185]: **** File "/usr/share/weewx/weewx/engine.py", line 75, in __init__
Mar 1 04:01:58 raspberrypi weewx[1185]: **** self.preLoadServices(config_dict)
Mar 1 04:01:58 raspberrypi weewx[1185]: **** File "/usr/share/weewx/weewx/engine.py", line 116, in preLoadServices
Mar 1 04:01:58 raspberrypi weewx[1185]: **** self.stn_info = weewx.station.StationInfo(self.console, **config_dict['Station'])
Mar 1 04:01:58 raspberrypi weewx[1185]: **** File "/usr/share/weewx/weewx/station.py", line 49, in __init__
Mar 1 04:01:58 raspberrypi weewx[1185]: **** self.latitude_f = float(stn_dict['latitude'])
Mar 1 04:01:58 raspberrypi weewx[1185]: **** ValueError: invalid literal for float(): 43°26'55.2"N
Mar 1 04:01:58 raspberrypi weewx[1185]: **** Exiting.
Mar 1 04:17:01 raspberrypi CRON[1214]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
# Where the generated reports should go, relative to WEEWX_ROOT
HTML_ROOT = /var/www/weewx/index.html
I created a few different things thinking that might solve the problem, no luck.
pi@raspberrypi:/var/www/html $ ls
index.html weather weewx
pi@raspberrypi:/var/www/html $ sudo tail -f /var/log/syslog
Mar 1 05:12:53 raspberrypi weewx[2449]: **** File "/usr/share/weewx/weewx/engine.py", line 888, in main
Mar 1 05:12:53 raspberrypi weewx[2449]: **** engine = engine_class(config_dict)
Mar 1 05:12:53 raspberrypi weewx[2449]: **** File "/usr/share/weewx/weewx/engine.py", line 75, in __init__
Mar 1 05:12:53 raspberrypi weewx[2449]: **** self.preLoadServices(config_dict)
Mar 1 05:12:53 raspberrypi weewx[2449]: **** File "/usr/share/weewx/weewx/engine.py", line 116, in preLoadServices
Mar 1 05:12:53 raspberrypi weewx[2449]: **** self.stn_info = weewx.station.StationInfo(self.console, **config_dict['Station'])
Mar 1 05:12:53 raspberrypi weewx[2449]: **** File "/usr/share/weewx/weewx/station.py", line 35, in __init__
Mar 1 05:12:53 raspberrypi weewx[2449]: **** self.altitude_vt = weewx.units.ValueTuple(float(altitude_t[0]), altitude_t[1], "group_altitude")
Mar 1 05:12:53 raspberrypi weewx[2449]: **** ValueError: invalid literal for float(): 623 feet
Mar 1 05:12:53 raspberrypi weewx[2449]: **** Exiting.
# Altitude of the station, with unit it is in. This is downloaded from
# from the station if the hardware supports it.
altitude = 623 feet, 623 feet
You don't have permission to access this resource.
Re altitude the format for the altitude setting is:
altitude = value, unit
where unit is foot or meter. You will find in settings, units etc WeeWX use singular units; so foot not feet, meter not meters etc. In your case you want:
altitude = 623, foot
Gary
You don't have permission to access this resource.
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/b931d10b-8348-4287-b07f-f1dab2166698%40googlegroups.com.