Version number in weewx.conf file

69 views
Skip to first unread message

Dale

unread,
May 10, 2020, 9:29:25 PM5/10/20
to weewx-user
I was patting myself on the back for thinking I was understanding a
little more about not only how weewx worked, but Raspbian, and got brave
to go to the file

/etc/weewx/weewx.conf

to change the flag to true to register my installation with weewx and
look at some of the other parameters, and as I began to scroll through
the file looking at what information were things I can set and if it was
to my satisfaction, right near the beginning of the file I found a
comment that I shouldn't change this value since it was used for
updating purposes, and the line was "version = 3.9.2" although I know
full well I have been using 4.0.0 and it says so on my web page at

ecwx.info/weewx


Now that I converted over to 4.0.0, am I supposed to go into that file
and update that line to say "version = 4.0.0" instead of 3.9.2?

I didn't touch anything otherwise but look.

Dale


vince

unread,
May 10, 2020, 9:42:56 PM5/10/20
to weewx-user
The version string in weewx.conf doesn't do anything other than report in your pages, but it might indicate that you have weewx installed twice or something.  you might want to check that you don't have both a /home/weewx and a /etc/weewx tree installed.

Tom Keffer

unread,
May 10, 2020, 9:49:49 PM5/10/20
to weewx-user
The definitive version number is in the file /usr/share/weewx/weewx/__init__.py. It will look something like:

__version__="4.0.0"

What does it say?

-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.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/90c70978-30b9-1b5c-d5f5-01049fca713a%40charter.net.

Dale

unread,
May 10, 2020, 10:04:18 PM5/10/20
to weewx-user
I navigated to that location and I do have the line #10 entry of
_version="4.0.0"


But I do not have any weewx stuff in the /home directory.


I assume I should leave everything be and not worry that there are other
copies of weewx on the RaspPi?

Also, I hope I have the correct file in /etc/weewx/weewx.conf to modify
with changes to the startup of weewx?

Dale


Tom Keffer

unread,
May 11, 2020, 7:13:33 AM5/11/20
to weewx-user
I suspect that you're running a new version of weewx, with an old version of the configuration file.

The differences between a V3.9 configuration file and a V4.0 configuration file are minor. For example, the latter includes an option "growing_base":

            # The following section sets the base temperatures used for the
            #  calculation of heating, cooling, and growing degree-days.
            [[[[DegreeDays]]]]

                # Base temperature for heating days, with unit:
                heating_base = 65, degree_F
                # Base temperature for cooling days, with unit:
                cooling_base = 65, degree_F
                # Base temperature for growing days, with unit:
                growing_base = 50, degree_F

If you're not seeing that, then your configuration file never got upgraded. 

-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.
Reply all
Reply to author
Forward
0 new messages