The symptoms so far and this Sep 27 15:06:39 One weewx[5415]: engine: Unable to open configuration file / weewx
makes it sound like a classic case of multiple weewx.conf files. Might be time to show us exactly what you are typing on the command line to edit weewx.conf. In fact, a wee_debug <http://weewx.com/docs/usersguide.htm#The_utility_wee_debug> output would show us exactly where weewx believes weewx.conf is and what it contains. Gary On Tuesday, 4 October 2016 08:13:16 UTC+10, Don l wrote: > > Ps I just did another edit. I stopped weewx and did an edit on weewx.conf > to change the lat long to 2 decimal places and change the units on altitude > to foot not feet and did a restart. After 10 minutes I called up the page > and it still is Santa workshop with the same data. How do I get it to read > the conf file and update the html file that displays the data? Thank you > for the help. > > > On Monday, October 3, 2016 at 4:39:30 PM UTC-5, Don l wrote: >> >> Oh here is where it writes... I do have in my config file that the >> station location is at "Waldron Arkansas" and my lat long is set to >> "34.9028 -93.9945" Which should be very close to the actual sensors. It >> still showes that the original install time showed 8-28 2016 11:45PM . >> >> About this weather station: >> Location >> Latitude: 90° 00.00' N >> Longitude: 000° 00.00' E >> Altitude: 0 feet >> >> This station uses a Simulator, controlled by 'weewx' >> <http://www.weewx.com>, an experimental weather software system written >> in Python. Weewx was designed to be simple, fast, and easy to understand by >> leveraging modern software concepts. >> >> RSS feed <http://RSS/weewx_rss.xml> >> >> Mobile formatted <http://mobile.html> >> >> Smartphone formatted <http://smartphone/index.html> >> >> Weewx uptime: 0 days, 0 hours, 5 minutes >> Server uptime: 0 days, 12 hours, 54 minutes >> weewx v3.5.0 >> >> >> >> >> >> On Sunday, October 2, 2016 at 6:05:33 PM UTC-5, Tom Keffer wrote: >>> >>> L >>> atitude and longitude should be specified in *decimal degrees*. >>> Negative values for southern and western hemispheres. >>> >>> In your weewx.conf file, you have something like >>> >>> [Station] >>> >>> # Description of the station location >>> location = your station location >>> >>> # Latitude and longitude in decimal degrees >>> latitude = 34 54N >>> longitude = 130 30 W >>> >>> >>> >>> you want >>> >>> [Station] >>> >>> # Description of the station location >>> location = your station location >>> >>> # Latitude and longitude in decimal degrees >>> latitude = 34.90 >>> longitude = -130.50 >>> >>> >>> -tk >>> >>> >>> >>> >>> On Sun, Oct 2, 2016 at 2:45 PM, 'Don l' via weewx-user < >>> [email protected]> wrote: >>> >>>> I am back to the Weather Station problem now. Previous posts repaired >>>> system. The operating system is Debian 8.5.0. Recent upgrade from Ubuntu >>>> 14.04. >>>> I have an I5 cpu in a MSI Z97 Guard Pro Mother board, 8gig ram, 500 gig >>>> hd, wired Ps2 keyboard, wireless mouse, and an hdmi monitor. I have the >>>> USB >>>> Ohio Scientific WMR200A weather station and Weewx 3.5.0. Hope that is >>>> enough info this time. >>>> >>>> My problem is that I have installed the weewx. I have run the >>>> weewx.conf and gave it the parameters for my location and station type. >>>> When I call up the page to see the weather data >>>> (file:///var/www/weewx/index.html) >>>> I get a Santas Workshop at North pole page. The only thing on the page >>>> that seems to have been changed is the install date which was August 28 >>>> 2016. All other date is the default that came with the install. I have >>>> found two log files that seem to be important. one is the syslog that has >>>> everything on the systems errors, and the other is Weewx specific which is >>>> Weewx.log. Weewx.log has all the weewx errors and I will try to copy it >>>> here. >>>> >>>> >>>> Sep 27 14:29:36 One weewx[5166]: wmr200: MainThread: D Using PC Time: >>>> True >>>> Sep 27 14:29:36 One weewx[5166]: wmr200: MainThread: D Erase archive >>>> data: False >>>> Sep 27 14:29:36 One weewx[5166]: wmr200: MainThread: D Archive >>>> interval: 60 >>>> Sep 27 14:29:36 One weewx[5166]: wmr200: MainThread: D Archive >>>> threshold: 604800 >>>> Sep 27 14:29:36 One weewx[5166]: engine: Caught unrecoverable exception >>>> in engine: >>>> Sep 27 14:29:36 One weewx[5166]: **** invalid literal for float(): >>>> 34 54N >>>> Sep 27 14:29:36 One weewx[5166]: **** Traceback (most recent call >>>> last): >>>> Sep 27 14:29:36 One weewx[5166]: **** File >>>> "/usr/share/weewx/weewx/engine.py", line 853, in main >>>> Sep 27 14:29:36 One weewx[5166]: **** engine = >>>> EngineClass(config_dict) >>>> Sep 27 14:29:36 One weewx[5166]: **** File >>>> "/usr/share/weewx/weewx/engine.py", line 72, in __init__ >>>> Sep 27 14:29:36 One weewx[5166]: **** >>>> self.preLoadServices(config_dict) >>>> Sep 27 14:29:36 One weewx[5166]: **** File >>>> "/usr/share/weewx/weewx/engine.py", line 110, in preLoadServices >>>> Sep 27 14:29:36 One weewx[5166]: **** self.stn_info = >>>> weewx.station.StationInfo(self.console, **config_dict['Station']) >>>> Sep 27 14:29:36 One weewx[5166]: **** File >>>> "/usr/share/weewx/weewx/station.py", line 55, in __init__ >>>> Sep 27 14:29:36 One weewx[5166]: **** self.latitude_f = >>>> float(stn_dict['latitude']) >>>> Sep 27 14:29:36 One weewx[5166]: **** ValueError: invalid literal >>>> for float(): 34 54N >>>> Sep 27 14:29:36 One weewx[5166]: **** Exiting. >>>> Sep 27 14:29:51 One weewx[5166]: wmr200: Thread-2: E read_device() USB >>>> Error Reason:Connection timed out >>>> Sep 27 15:06:39 One weewx[5415]: engine: Initializing weewx version >>>> 3.5.0 >>>> Sep 27 15:06:39 One weewx[5415]: engine: Using Python 2.7.9 (default, >>>> Jun 29 2016, 13:08:31) #012[GCC 4.9.2] >>>> Sep 27 15:06:39 One weewx[5415]: engine: Platform >>>> Linux-3.16.0-4-amd64-x86_64-with-debian-8.6 >>>> Sep 27 15:06:39 One weewx[5415]: engine: Unable to open configuration >>>> file /weewx >>>> Sep 27 18:08:49 One weewx[7034]: Reloading weewx weather system: weewx. >>>> Sep 29 11:14:42 One weewx[21523]: Reloading weewx weather system: weewx. >>>> : >>>> >>>> That is the complete file and I hope that it is helpful. I think I have >>>> found a DB that is 129,000 bytes long that I think is >>>> the data that is supposed to be displayed. If it is the data is being >>>> collected but not displayed. >>>> >>>> Also when it runs, How do you get the program to start with a >>>> particular value? like the current rain fall here is about 38" for the >>>> year? >>>> >>>> Thanks for any help available to get it running and displaying the >>>> weather. >>>> >>>> Don >>>> >>>> -- >>>> 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. >>>> >>> >>> -- 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.
