Off the top of my head I'd say remove Python 2, install Python 3. That should be enough.
(My personal preference would be to then) remove weewx using sudo apt-get remove weewx, then install using the setup.py. I find it much easier to have the whole thing live in the 1 folder /home/weewx. Makes it easy for backups, upgrades, everything is contained. If you go this route you just need to then configure your web server to serve the website <https://github.com/weewx/weewx/wiki/webserver>from the /home/weewx folder instead of /var/www. There's a bit of time to spend on doing that though with your weewx.conf settings and such. Makes for a fun project if time allows. Of course, always have a backup in case you get in too deep and need to revert back! On Monday, July 20, 2020 at 9:34:48 PM UTC-4, Ernest Jillson wrote: > > Ok, I'll try that. Is there a way to make it use python 3 instead? I > haven't done much research there, yet. Let's face it. Python 2 is about > done. > > Maybe I'll go dig through the update section of the wiki before I start ;) > > Thanks again for everything! > > Ernie > > On Mon, Jul 20, 2020 at 9:13 PM Pat <[email protected] <javascript:>> > wrote: > >> Take a backup of everything just in case, then run these commands and it >> should upgrade to the latest version >> >> sudo apt-get update >> sudo apt-get upgrade weewx >> >> >> On Monday, July 20, 2020 at 9:11:39 PM UTC-4, Ernest Jillson wrote: >>> >>> It's on raspbian, but I have the /etc/weewx, not /home/weewx. I think >>> I'll just save off the database and start fresh. >>> >>> >>> On Mon, Jul 20, 2020 at 8:59 PM Pat <[email protected]> wrote: >>> >>>> Glad it worked! >>>> >>>> Quick way to tell how you installed it, if you have a /home/weewx >>>> folder, it's from the setup.py option. If you have an /etc/weewx folder, >>>> it's probably from apt install weewx (if on ubuntu) or yum install weewx >>>> (if on centos/redhat). >>>> >>>> If none of those are true, then you may be on OpenSUSE or mac os or >>>> something else - these setup guides can help if needed >>>> <http://weewx.com/docs.html>. >>>> >>>> On Monday, July 20, 2020 at 8:55:30 PM UTC-4, Ernest Jillson wrote: >>>>> >>>>> You, sir, are a brilliant man! Worked like a charm on the first try! >>>>> >>>>> Now to brave going to weewx 4.newest and latest Belchertown... >>>>> >>>>> Problem is, I don't remember how I installed weewx the first time. Did >>>>> I use the setup program? Hmmm. >>>>> >>>>> Thanks for all your help! Of all the skins I have seen on the web, >>>>> yours is my favorite. >>>>> >>>>> Ernie >>>>> >>>>> On Mon, Jul 20, 2020 at 7:44 PM Pat <[email protected]> wrote: >>>>> >>>>>> No worries - I wasn't sure if you thought there was a problem with >>>>>> the skin. So I have the same problem as you, where the Davis console >>>>>> sends >>>>>> loops with the most accurate wind direction, but the archive packets are >>>>>> generalized. I hate it, and (with Tom's help) made this quick extension. >>>>>> >>>>>> Basically this extension takes the archive rec packet from the >>>>>> console and drops the windDir from it. This allows weewx to generate the >>>>>> windDir from it's software and put it into this archive rec packet. It >>>>>> takes into account if this is a "first run" of weewx where weewx doesn't >>>>>> have loop data yet, so it grabs the generalized wind direction from the >>>>>> console. Useful for a power outage, archive catchups, etc. >>>>>> >>>>>> Standard disclaimer: This is an unreleased extension, use at your own >>>>>> risk, always have backups. >>>>>> >>>>>> 1. Copy the attached file to your bin/user folder >>>>>> 2. At the bottom of weewx.conf, update your data_services to have >>>>>> this: data_services = user.deleteVantageWindDir.DeleteWindDir, >>>>>> 3. Restart weewx >>>>>> >>>>>> Good luck! >>>>>> >>>>>> On Monday, July 20, 2020 at 7:13:11 PM UTC-4, Ernest Jillson wrote: >>>>>>> >>>>>>> First, let me apologize. I didn't mean to imply that the skin was >>>>>>> the issue. Thanks for your suggestion to look at the packets. So the >>>>>>> loop >>>>>>> packets have the correct wind direction in them. The rec packets, >>>>>>> however, >>>>>>> seem to be rounded to the nearest 22.5 degrees. >>>>>>> >>>>>>> Obviously the Davis VP2 is capable of transmitting wind to the whole >>>>>>> degree, but the rec packets are being received as if mapped to 8 >>>>>>> compass >>>>>>> points. To be honest with you, I have little knowledge of how the >>>>>>> drivers >>>>>>> in weewx work and how they receive data from the VP2 console. Does the >>>>>>> console send different packets (the loop and the rec) or does software >>>>>>> do >>>>>>> that magic? >>>>>>> >>>>>>> In any case, I'd love to find a way to get this working to the whole >>>>>>> degree, if possible. >>>>>>> >>>>>>> Thanks to any that can help, >>>>>>> >>>>>>> Ernie >>>>>>> >>>>>>> On Mon, Jul 20, 2020 at 3:15 PM Pat <[email protected]> wrote: >>>>>>> >>>>>>>> I'm not sure this is a problem with the skin, but rather your >>>>>>>> station reporting the archive value of the wind direction. As you can >>>>>>>> see >>>>>>>> on my site, my wind degrees aren't plotted to the nearest value. (e.g. >>>>>>>> 368 >>>>>>>> degrees, 334 degree, etc) >>>>>>>> >>>>>>>> Before we blame the skin, run weewxd and post some loop and rec >>>>>>>> packets. >>>>>>>> >>>>>>>> >>>>>>>> On Saturday, July 18, 2020 at 11:17:56 AM UTC-4, Ernest Jillson >>>>>>>> wrote: >>>>>>>>> >>>>>>>>> I know I'm not at the latest version of Belchertown. In fact, I'm >>>>>>>>> still using the older version (3.9.2). I've tried copying >>>>>>>>> /etc/weewx/skins/Belchertown/graphs.conf.example to graphs.conf, but >>>>>>>>> I >>>>>>>>> can't find where to change wind direction from ordinal direction to >>>>>>>>> degrees. >>>>>>>>> >>>>>>>>> My wind direction is only plotted to the nearest value of NNE, or >>>>>>>>> NE, or E. You get the idea. I'd like to have it plot to the whole >>>>>>>>> degree. >>>>>>>>> Any ideas? >>>>>>>>> >>>>>>>>> My site can be seen here: http://greylords.us >>>>>>>>> >>>>>>>>> Thanks in advance. >>>>>>>>> >>>>>>>>> Ernie >>>>>>>>> >>>>>>>> -- >>>>>>>> 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]. >>>>>>>> To view this discussion on the web visit >>>>>>>> https://groups.google.com/d/msgid/weewx-user/6fac348f-a1cb-4bad-be13-08f03b958304o%40googlegroups.com >>>>>>>> >>>>>>>> <https://groups.google.com/d/msgid/weewx-user/6fac348f-a1cb-4bad-be13-08f03b958304o%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>>> . >>>>>>>> >>>>>>> -- >>>>>> 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]. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/weewx-user/5a60eb9c-0060-43f3-b8de-f5391a6b303co%40googlegroups.com >>>>>> >>>>>> <https://groups.google.com/d/msgid/weewx-user/5a60eb9c-0060-43f3-b8de-f5391a6b303co%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> >>>>> -- >>>> 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]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/weewx-user/19c4400a-edbf-4ae4-ab89-c15f64c88d7co%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/weewx-user/19c4400a-edbf-4ae4-ab89-c15f64c88d7co%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/e5fd939e-206b-4214-8e25-d556a9877e20o%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/e5fd939e-206b-4214-8e25-d556a9877e20o%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/a29da30b-182d-450c-bcc1-1fd415de9e4do%40googlegroups.com.
