Ah I see the .deb on the website. I'm installing it now
On Tuesday, September 25, 2018 at 8:44:28 AM UTC-4, DerekV wrote: > > Oh... a version from 2016 or earlier I think :) > > Is there a debian package for the newest version ? > > > > On Tuesday, September 25, 2018 at 7:59:43 AM UTC-4, Thomas Keffer wrote: >> >> Wait. What version of WeeWX are you running? The algorithm used to >> calculate ET changed in Version 3.7 (released 11-Mar-2017) to something >> much more accurate. >> >> -tk >> >> On Tue, Sep 25, 2018 at 4:48 AM DerekV <[email protected]> wrote: >> >>> I'm getting the following error on restart >>> ~$ sudo service weewx status -l >>> ● weewx.service - LSB: weewx weather system >>> Loaded: loaded (/etc/init.d/weewx) >>> Active: active (exited) since Tue 2018-09-25 07:47:09 EDT; 21s ago >>> Process: 1159 ExecStop=/etc/init.d/weewx stop (code=exited, >>> status=0/SUCCESS) >>> Process: 1169 ExecStart=/etc/init.d/weewx start (code=exited, >>> status=0/SUCCESS) >>> >>> Sep 25 07:47:30 garage weewx[1183]: **** File >>> "/usr/share/weewx/weewx/engine.py", line 75, in __init__ >>> Sep 25 07:47:30 garage weewx[1183]: **** >>> self.loadServices(config_dict) >>> Sep 25 07:47:30 garage weewx[1183]: **** File >>> "/usr/share/weewx/weewx/engine.py", line 136, in loadServices >>> Sep 25 07:47:30 garage weewx[1183]: **** >>> self.service_obj.append(weeutil.weeutil._get_object(svc)(se...ict)) >>> Sep 25 07:47:30 garage weewx[1183]: **** File >>> "/usr/share/weewx/weeutil/weeutil.py", line 1015, in _get_object >>> Sep 25 07:47:30 garage weewx[1183]: **** mod = __import__(module) >>> Sep 25 07:47:30 garage weewx[1183]: **** File >>> "/usr/share/weewx/weewx/wxservices.py", line 17, in <module> >>> Sep 25 07:47:30 garage weewx[1183]: **** from weewx.units import >>> CtoF, mps_to_mph, kph_to_mph, METER..._FOOT >>> Sep 25 07:47:30 garage weewx[1183]: **** ImportError: cannot import >>> name CtoF >>> Sep 25 07:47:30 garage weewx[1183]: **** Exiting. >>> >>> >>> >>> On Monday, September 24, 2018 at 8:57:57 PM UTC-4, Thomas Keffer wrote: >>>> >>>> Hmmm, I did the calculation by hand for the period you were using >>>> software record generation, and got values of about 0.0007 inches per >>>> archive interval, or about 0.008 in/hr --- Similar to what the VP2 was >>>> returning. >>>> >>>> Would you be willing to try software ET calculations again, this time >>>> using instrumented code? It would print out the values being used in the >>>> calculation. If so: >>>> >>>> - Save your old wxservices.py file to someplace safe. >>>> - Replace it with the attached. >>>> - Set ET calculation in [[Calculations]] to 'software'. >>>> - Restart weewx. >>>> - Run it for at least an hour during the daytime. >>>> - Post the log. >>>> >>>> Thanks! >>>> >>>> -tk >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> On Mon, Sep 24, 2018 at 10:29 AM DerekV <[email protected]> wrote: >>>> >>>>> I had it set "ET = software" from around 10am to 11am. >>>>> (ignore 8:36am, I had the console unplugged) >>>>> >>>>> 1537740900|2018-09-23 18:15:00|36.9||0.0||0.0 >>>>> 1537741200|2018-09-23 18:20:00|36.8|88.0|0.0|7.0|0.0 >>>>> 1537741500|2018-09-23 18:25:00|36.7|88.0|0.0|9.0|0.0 >>>>> 1537741800|2018-09-23 18:30:00|36.7|88.0|0.0|11.0|0.0 >>>>> 1537742100|2018-09-23 18:35:00|36.7|89.0|0.0|12.0|0.0 >>>>> 1537742400|2018-09-23 18:40:00|36.7|89.0|0.0|14.0|0.0 >>>>> 1537742700|2018-09-23 18:45:00|36.7|89.0|0.0|16.0|0.0 >>>>> 1537743000|2018-09-23 18:50:00|36.7|89.0|0.0|19.0|0.0 >>>>> 1537743300|2018-09-23 18:55:00|36.8|89.0|0.0|24.0|0.0 >>>>> 1537788900|2018-09-24 07:35:00|37.1|89.0|0.0|23.0|0.0 >>>>> 1537789200|2018-09-24 07:40:00|37.4|88.0|0.0|22.0|0.0 >>>>> 1537789500|2018-09-24 07:45:00|37.6|88.0|0.0|23.0|0.0 >>>>> 1537789800|2018-09-24 07:50:00|37.8|88.0|0.0|25.0|0.0 >>>>> 1537790100|2018-09-24 07:55:00|38.0|88.0|0.0|26.0|0.0 >>>>> 1537790400|2018-09-24 08:00:00|38.4|87.0|0.0|29.0|0.0 >>>>> 1537790700|2018-09-24 08:05:00|38.6|87.0|0.0|29.0|0.0 >>>>> 1537791000|2018-09-24 08:10:00|39.0|86.0|0.0|31.0|0.0 >>>>> 1537791300|2018-09-24 08:15:00|39.6|85.0|0.0|32.0|0.0 >>>>> 1537791600|2018-09-24 08:20:00|40.1|84.0|0.0|41.0|0.0 >>>>> 1537792560|2018-09-24 08:36:00|||||0.0 >>>>> 1537792800|2018-09-24 08:40:00|43.1|75.0|0.0|323.0|0.0 >>>>> 1537793100|2018-09-24 08:45:00|44.0|73.0|0.0|317.0|0.0 >>>>> 1537793400|2018-09-24 08:50:00|44.9|70.0|1.0|341.0|0.0 >>>>> 1537793700|2018-09-24 08:55:00|45.7|67.0|1.0|366.0|0.0 >>>>> 1537794000|2018-09-24 09:00:00|46.5|63.0|1.0|375.0|0.006 >>>>> 1537794300|2018-09-24 09:05:00|47.1|61.0|1.0|375.0|0.0 >>>>> 1537794600|2018-09-24 09:10:00|47.6|59.0|1.0|408.0|0.0 >>>>> 1537794900|2018-09-24 09:15:00|47.9|57.0|1.0|293.0|0.0 >>>>> 1537795200|2018-09-24 09:20:00|48.0|59.0|1.0|145.0|0.0 >>>>> 1537795500|2018-09-24 09:25:00|48.4|59.0|1.0|459.0|0.0 >>>>> 1537795800|2018-09-24 09:30:00|49.0|58.0|0.0|451.0|0.0 >>>>> 1537796100|2018-09-24 09:35:00|49.5|57.0|1.0|485.0|0.0 >>>>> 1537796400|2018-09-24 09:40:00|50.0|58.0|0.0|498.0|0.0 >>>>> 1537796700|2018-09-24 09:45:00|50.5|57.0|1.0|512.0|0.0 >>>>> 1537797000|2018-09-24 09:50:00|50.9|54.0|1.0|527.0|0.0 >>>>> 1537797300|2018-09-24 09:55:00|51.1|56.0|1.0|542.0|0.0 >>>>> 1537797600|2018-09-24 10:00:00|51.2|52.0|1.0|544.0|0.235160612820487 >>>>> 1537797900|2018-09-24 10:05:00|51.5|54.0|1.0|564.0|0.24413249419622 >>>>> 1537798200|2018-09-24 10:10:00|52.1|53.0|1.0|574.0|0.252328128456589 >>>>> 1537798500|2018-09-24 10:15:00|52.4|51.0|1.0|585.0|0.265745945469234 >>>>> 1537798800|2018-09-24 10:20:00|52.6|51.0|1.0|595.0|0.286840815912483 >>>>> 1537799100|2018-09-24 10:25:00|52.8|50.0|1.0|607.0|0.295719160102809 >>>>> 1537799400|2018-09-24 10:30:00|53.2|50.0|1.0|619.0|0.302646560091949 >>>>> 1537799700|2018-09-24 10:35:00|53.3|52.0|1.0|623.0|0.311626673609453 >>>>> 1537800000|2018-09-24 10:40:00|53.5|49.0|2.0|637.0|0.317112463565332 >>>>> 1537800300|2018-09-24 10:45:00|53.9|48.0|1.0|645.0|0.322338596780738 >>>>> 1537800600|2018-09-24 10:50:00|54.1|48.0|1.0|652.0|0.329417877172646 >>>>> 1537800900|2018-09-24 10:55:00|54.5|47.0|1.0|661.0|0.335261633840994 >>>>> 1537801200|2018-09-24 11:00:00|54.6|49.0|1.0|670.0|0.012 >>>>> 1537801500|2018-09-24 11:05:00|54.6|46.0|1.0|679.0|0.0 >>>>> 1537801800|2018-09-24 11:10:00|54.8|47.0|1.0|680.0|0.0 >>>>> 1537802100|2018-09-24 11:15:00|55.1|49.0|0.0|695.0|0.0 >>>>> 1537802400|2018-09-24 11:20:00|55.4|45.0|2.0|701.0|0.0 >>>>> 1537802700|2018-09-24 11:25:00|55.5|49.0|1.0|707.0|0.0 >>>>> 1537803000|2018-09-24 11:30:00|55.8|47.0|1.0|709.0|0.0 >>>>> 1537803300|2018-09-24 11:35:00|55.9|50.0|1.0|714.0|0.0 >>>>> 1537803600|2018-09-24 11:40:00|56.2|53.0|1.0|719.0|0.0 >>>>> 1537803900|2018-09-24 11:45:00|56.6|47.0|1.0|723.0|0.0 >>>>> 1537804200|2018-09-24 11:50:00|56.7|50.0|1.0|728.0|0.0 >>>>> 1537804500|2018-09-24 11:55:00|56.6|50.0|1.0|732.0|0.0 >>>>> 1537804800|2018-09-24 12:00:00|56.6|50.0|1.0|732.0|0.014 >>>>> 1537805100|2018-09-24 12:05:00|56.9|54.0|1.0|737.0|0.0 >>>>> 1537805400|2018-09-24 12:10:00|57.1|53.0|1.0|739.0|0.0 >>>>> 1537805700|2018-09-24 12:15:00|57.3|51.0|1.0|741.0|0.0 >>>>> 1537806000|2018-09-24 12:20:00|57.7|52.0|1.0|742.0|0.0 >>>>> 1537806300|2018-09-24 12:25:00|57.6|52.0|1.0|745.0|0.0 >>>>> 1537806600|2018-09-24 12:30:00|57.6|52.0|3.0|745.0|0.0 >>>>> 1537806900|2018-09-24 12:35:00|57.8|51.0|1.0|744.0|0.0 >>>>> 1537807200|2018-09-24 12:40:00|58.0|51.0|1.0|741.0|0.0 >>>>> 1537807500|2018-09-24 12:45:00|58.4|52.0|1.0|734.0|0.0 >>>>> 1537807800|2018-09-24 12:50:00|58.4|49.0|2.0|741.0|0.0 >>>>> 1537808100|2018-09-24 12:55:00|58.5|53.0|1.0|747.0|0.0 >>>>> 1537808400|2018-09-24 13:00:00|58.8|52.0|1.0|742.0|0.015 >>>>> 1537808700|2018-09-24 13:05:00|59.0|52.0|1.0|735.0|0.0 >>>>> 1537809000|2018-09-24 13:10:00|59.5|52.0|1.0|736.0|0.0 >>>>> 1537809300|2018-09-24 13:15:00|59.0|53.0|3.0|733.0|0.0 >>>>> 1537809600|2018-09-24 13:20:00|58.7|52.0|2.0|728.0|0.0 >>>>> 1537809900|2018-09-24 13:25:00|59.0|55.0|1.0|728.0|0.0 >>>>> >>>>> >>>>> On Monday, September 24, 2018 at 10:58:34 AM UTC-4, Thomas Keffer >>>>> wrote: >>>>>> >>>>>> What we need to see is the archive database. Using sqlite3, something >>>>>> like >>>>>> >>>>>> *sqlite3 /home/weewx/archive/weewx.sdb* # Adjust as necessary >>>>>> sqlite> *select dateTime, >>>>>> datetime(dateTime,'unixepoch','localtime'), outTemp, outHumidity, >>>>>> windSpeed, radiation, ET from archive where dateTime>1537675200 limit >>>>>> 200;* >>>>>> >>>>>> Also, were you using software or hardware record generation during >>>>>> that time period? >>>>>> >>>>>> -tk >>>>>> >>>>>> >>>>>> On Mon, Sep 24, 2018 at 7:13 AM DerekV <[email protected]> wrote: >>>>>> >>>>>>> Here's some lines from archive_day_et with hardware and then after >>>>>>> software was enabled: >>>>>>> >>>>>>> ET = prefer_hardware >>>>>>> >>>>>>> 1537675200|0.0|1537740900|0.0|1537740900|0.0|9|0.0|9 >>>>>>> 1537761600|0.0|1537788900|0.006|1537794000|0.006|25|0.006|25 >>>>>>> >>>>>>> ET = software >>>>>>> >>>>>>> 1537675200|0.0|1537740900|0.0|1537740900|0.0|9|0.0|9 >>>>>>> >>>>>>> 1537761600|0.0|1537788900|0.24413249419622|1537797900|0.485293107016707|29|0.485293107016707|29 >>>>>>> >>>>>>> >>>>>>> skin.conf >>>>>>> >>>>>>> [[[dayet]]] >>>>>>> >>>>>>> [[[[ET]]]] >>>>>>> aggregate_type = avg >>>>>>> aggregate_interval = 600 >>>>>>> plot_type = line >>>>>>> color = red >>>>>>> yscale = none,none,none >>>>>>> line_gap_fraction = .1 >>>>>>> >>>>>>> and the resulting plot: >>>>>>> >>>>>>> [image: dayet_software.png] >>>>>>> >>>>>>> >>>>>>> On Friday, September 21, 2018 at 7:45:59 PM UTC-4, Thomas Keffer >>>>>>> wrote: >>>>>>>> >>>>>>>> Higher? That surprises me. I'm not home right now, so it's hard for >>>>>>>> me to investigate this, but it would help if you could send a few >>>>>>>> lines >>>>>>>> from your database. Alternatively, you can run WeeWX from the command >>>>>>>> line >>>>>>>> and send the resulting printout of a few archive records. >>>>>>>> >>>>>>>> On Fri, Sep 21, 2018 at 5:24 AM DerekV <[email protected]> wrote: >>>>>>>> >>>>>>>>> Thanks, however the ET values it is calculating in software appear >>>>>>>>> to be 10+ times higher than the hardware values. >>>>>>>>> >>>>>>>>> >>>>>>>>> On Thursday, September 20, 2018 at 7:51:26 PM UTC-4, Thomas Keffer >>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>> The default is for WeeWX to defer to hardware, but if you need >>>>>>>>>> more frequent ET updates, you could have the software calculate it. >>>>>>>>>> >>>>>>>>>> In sub section [[Calculations]] set >>>>>>>>>> >>>>>>>>>> ET = software >>>>>>>>>> >>>>>>>>>> See >>>>>>>>>> http://weewx.com/docs/usersguide.htm#%5B%5BCalculations%5D%5D >>>>>>>>>> >>>>>>>>>> -tk >>>>>>>>>> >>>>>>>>>> On Thu, Sep 20, 2018 at 10:47 AM DerekV <[email protected]> wrote: >>>>>>>>>> >>>>>>>>>>> Yes, it's a Vantage. Ok I understand. >>>>>>>>>>> >>>>>>>>>>> On Thursday, September 20, 2018 at 12:24:41 PM UTC-4, Thomas >>>>>>>>>>> Keffer wrote: >>>>>>>>>>>> >>>>>>>>>>>> You didn’t say what kind of weather station you have, but if >>>>>>>>>>>> it’s a Vantage, they update ET only once an hour. >>>>>>>>>>>> >>>>>>>>>>>> On Thu, Sep 20, 2018 at 4:55 AM DerekV <[email protected]> >>>>>>>>>>>> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> What would cause a spikey plot when I reduce the >>>>>>>>>>>>> aggregate_interval ? I get a nice line at 1 hour but I need more >>>>>>>>>>>>> precision. >>>>>>>>>>>>> >>>>>>>>>>>>> [image: dayet2.png] >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Wednesday, September 19, 2018 at 1:47:39 PM UTC-4, DerekV >>>>>>>>>>>>> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>> Hi, I'm trying to get a plot for my hourly ET and I just want >>>>>>>>>>>>>> a simple line graph like the exterior temperature. I have >>>>>>>>>>>>>> experimented with >>>>>>>>>>>>>> several combinations and now I'm getting the range of data I >>>>>>>>>>>>>> want but only >>>>>>>>>>>>>> fine dots are appearing on the plot. How do I get from where I >>>>>>>>>>>>>> am to a line >>>>>>>>>>>>>> ? >>>>>>>>>>>>>> >>>>>>>>>>>>>> here's my skin.conf: >>>>>>>>>>>>>> >>>>>>>>>>>>>> [[[dayet]]] >>>>>>>>>>>>>> >>>>>>>>>>>>>> [[[[ET]]]] >>>>>>>>>>>>>> aggregate_type = sum >>>>>>>>>>>>>> aggregate_interval = 3600 >>>>>>>>>>>>>> plot_type = line >>>>>>>>>>>>>> color = red >>>>>>>>>>>>>> yscale = none,none,1 >>>>>>>>>>>>>> >>>>>>>>>>>>>> and the resulting graph (you have to look closely to see the >>>>>>>>>>>>>> dots): >>>>>>>>>>>>>> >>>>>>>>>>>>>> [image: dayet.png] >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>> 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. >>>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> -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 [email protected]. >>>>>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> -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 [email protected]. >>>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>>> >>>>>>>> -- >>>>>>>> -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 [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. >>>>> >>>> -- >>> 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.
