> I'll restart weewx at midnight, so as to not foul the daily data > capture/reporting.
You don’t need to wait until midnight. If it’s raining when you do it, you have the danger of missing a tip; but otherwise, there is no issue with restarting it. > On Jan 6, 2021, at 1:24 PM, tim lambert <[email protected]> wrote: > > > Yep! A rookie mistake, which after some reflection I realized the error in my > ways -- thus the reason why I'm an ERP Implementation Program/Project > Manager, that is very very dependent on the Technical Team (they've simply > taught me how to translate techie to customer execs and now I'm trying to be > hands-on in the tech world). > > I'll restart weewx at midnight, so as to not foul the daily data > capture/reporting. > > Again, many thanks for your assistance and patience. > > Regards! > > >> On Wednesday, January 6, 2021 at 1:18:42 PM UTC-8 [email protected] wrote: >> Yeah, I pieced together how you got that error message. You were asking the >> python interpreter to execute a shell script. >> >> jkline@judy:~/software/weewx $ python util/scripts/wee_extension >> File "util/scripts/wee_extension", line 6 >> WEEWX_BINDIR=/home/weewx/bin >> >>>> On Jan 6, 2021, at 12:59 PM, tim lambert <[email protected]> wrote: >>>> >>> >> >>> Thanks John! >>> >>> I first needed to get to the proper location to execute the wee_installer >>> -- that being /home/weewx/bin >>> >>> Then I executed the command, but with a sudo python3 ... >>> >>> This loaded the weewx-ip-100-master.zip I downloaded from github >>> >>> I assume I'll need to restart weewx? >>>> On Wednesday, January 6, 2021 at 12:37:51 PM UTC-8 [email protected] >>>> wrote: >>>> The directions say: >>>> >>>> sudo wee_extension --install weewx-ip100-0.5.zip >>>> >>>> I just replaced the name of the zip. >>>> >>>> It looks like you typed python, rather than sudo. >>>> Please try again to install the 0.5 version, and tell me how that goes and >>>> the exact command line you used to install 0.5. Then, we can go from >>>> there. >>>> >>>>>> On Jan 6, 2021, at 12:33 PM, tim lambert <[email protected]> wrote: >>>>>> >>>>> >>>> >>>>> Using the directions outlined in the readme with 0.5 version >>>>> >>>>> >>>>>> On Wednesday, January 6, 2021 at 12:28:29 PM UTC-8 [email protected] >>>>>> wrote: >>>>>> How did you install the 0.5 version? >>>>>> >>>>>>>> On Jan 6, 2021, at 11:57 AM, tim lambert <[email protected]> wrote: >>>>>>>> >>>>>>> >>>>>> >>>>>>> Thanks John! >>>>>>> >>>>>>> Unfortunately, I'm getting an error when executing the install: >>>>>>> >>>>>>> python wee_extension --install /home/pi/FTP/weewx-ip100-master.zip >>>>>>> File "wee_extension", line 6 >>>>>>> WEEWX_BINDIR=/home/weewx/bin >>>>>>> ^ >>>>>>> SyntaxError: invalid syntax >>>>>>> >>>>>>> >>>>>>> Any ideas? >>>>>>> >>>>>>> On Wednesday, January 6, 2021 at 11:20:58 AM UTC-8 [email protected] >>>>>>> wrote: >>>>>>>>> where can I exactly find the inclusion of the station volts >>>>>>>> >>>>>>>> >>>>>>>> Download this file: >>>>>>>> https://github.com/chaunceygardiner/weewx-ip100/archive/master.zip >>>>>>>> >>>>>>>> Then: >>>>>>>> >>>>>>>> sudo wee_extension --install master.zip >>>>>>>> >>>>>>>> >>>>>>>>>> On Jan 6, 2021, at 8:54 AM, tim lambert <[email protected]> wrote: >>>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>>> Hi John, >>>>>>>>> >>>>>>>>> After leaving the server run uninterrupted, all of the data being >>>>>>>>> displayed on weewx is ticking to the ip-100 console. >>>>>>>>> >>>>>>>>> Apologies for my ignorance, where can I exactly find the inclusion of >>>>>>>>> the station volts you noted in your last comm (btw Thanks for >>>>>>>>> addressing). >>>>>>>>> >>>>>>>>>> On Monday, January 4, 2021 at 9:58:26 PM UTC-8 [email protected] >>>>>>>>>> wrote: >>>>>>>>>> > Once I sort this possible discrepancy, I'd like to pick your brain >>>>>>>>>> > on adding the Station Volts. >>>>>>>>>> >>>>>>>>>> I added it at head. Station volts will now show up as supplyVoltage. >>>>>>>>>> >>>>>>>>>>>> On Jan 4, 2021, at 7:44 PM, John Kline <[email protected]> wrote: >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>>> The IP100 resets the day’s rain total at midnight (according to >>>>>>>>>>> it’s clock). It doesn’t really matter to the driver when that >>>>>>>>>>> happens. The driver is simply looking for a positive increment in >>>>>>>>>>> day_rain_total. On a negative increment (e.g., reset), the driver >>>>>>>>>>> just saves the last value and reports 0.0 for rain. >>>>>>>>>>> >>>>>>>>>>>>> On Jan 4, 2021, at 7:40 PM, tim lambert <[email protected]> >>>>>>>>>>>>> wrote: >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Thanks for the guidance John! I was anticipating to simply have >>>>>>>>>>>> a day with a clean run, starting at midnight. I should have this >>>>>>>>>>>> info tomorrow. >>>>>>>>>>>> >>>>>>>>>>>> I assume the loop will recognize my local timezone to reset to >>>>>>>>>>>> zero at midnight, recognizing the db is being recorded on GMT? >>>>>>>>>>>> >>>>>>>>>>>> Once I sort this possible discrepancy, I'd like to pick your brain >>>>>>>>>>>> on adding the Station Volts. >>>>>>>>>>>> >>>>>>>>>>>> Regards, >>>>>>>>>>>> >>>>>>>>>>>>> On Monday, January 4, 2021 at 7:34:48 PM UTC-8 >>>>>>>>>>>>> [email protected] wrote: >>>>>>>>>>>>> You don’t to delete records. There isn’t really much to the rain >>>>>>>>>>>>> calculation. For all rain that occurred while WeeWX is up and >>>>>>>>>>>>> running, the day_rain_total will increment, the driver will >>>>>>>>>>>>> calculate the delta and add it to the loop record as ‘rain’. For >>>>>>>>>>>>> the discrepancy to occur, 0.09 inches would have had to happen >>>>>>>>>>>>> while WeeWX wasn’t running. >>>>>>>>>>>>> >>>>>>>>>>>>> Let’s try a day where WeeWX has been running, uninterrupted, >>>>>>>>>>>>> since midnight. >>>>>>>>>>>>> >>>>>>>>>>>>>>> On Jan 4, 2021, at 7:27 PM, tim lambert <[email protected]> >>>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>>> Thanks for the quick response John! >>>>>>>>>>>>>> >>>>>>>>>>>>>> I am running your version of the IP100 for weewx 4 - version 0.5 >>>>>>>>>>>>>> >>>>>>>>>>>>>> I did restart the weewx today -- had some network issues, >>>>>>>>>>>>>> compliments of Comcast. However, I've witnessed discrepancies >>>>>>>>>>>>>> between the IP100 Console and weewx for several days -- just >>>>>>>>>>>>>> finally had a chance to get some data captures. I may need to >>>>>>>>>>>>>> capture data again tomorrow (knowing it will be raining buckets >>>>>>>>>>>>>> again). >>>>>>>>>>>>>> >>>>>>>>>>>>>> At this point in time: >>>>>>>>>>>>>> >>>>>>>>>>>>>> IP100 >>>>>>>>>>>>>> weewx >>>>>>>>>>>>>> Rainfall 0.06 >>>>>>>>>>>>>> 0.15 >>>>>>>>>>>>>> Rain Rate 0.00 >>>>>>>>>>>>>> 0.00 >>>>>>>>>>>>>> >>>>>>>>>>>>>> Can I truncate (delete all records) from the weewx.sdb (after >>>>>>>>>>>>>> backing up of course) to start fresh, so that we have a solid >>>>>>>>>>>>>> baseline to evaluate? >>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Monday, January 4, 2021 at 7:06:51 PM UTC-8 >>>>>>>>>>>>>>> [email protected] wrote: >>>>>>>>>>>>>>> Station volts is not in the default map. It wouldn’t be hard >>>>>>>>>>>>>>> to add. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> I did the IP100 port to WeeWX 4 and fixed bugs in the driver >>>>>>>>>>>>>>> (and bumped the version to 0.5 in my fork). I’m presuming you >>>>>>>>>>>>>>> are running it. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Although I’m not currently running the driver, I did run it for >>>>>>>>>>>>>>> almost two years and rain values ALWAYS agreed with my WeeWX >>>>>>>>>>>>>>> instances running the CC3000 driver and talking to the same >>>>>>>>>>>>>>> RainWise weather station. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> day_rain_total is used to calculate rain. It is not, in itself >>>>>>>>>>>>>>> saved to the database. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> I have not downloaded your files. You’ll have to tell me if >>>>>>>>>>>>>>> the ip100 console does not agree with the console for today’s >>>>>>>>>>>>>>> rain and, if not, what two values you are seeing. Please list >>>>>>>>>>>>>>> them. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> If you do have a discrepancy for today’s rain, please state if >>>>>>>>>>>>>>> you restarted weewx today (or if it restarted on its own >>>>>>>>>>>>>>> today). That would be a way to lose rainfall. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> On Jan 4, 2021, at 6:33 PM, tim lambert >>>>>>>>>>>>>>>>> <[email protected]> wrote: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> I recently stood up a Raspberry Pi 4 running weewx 4.2.0 with >>>>>>>>>>>>>>>> the IP-100 v0.5 extension. It appears the IP-100 Console data >>>>>>>>>>>>>>>> does not match the data presented via weewx (using the >>>>>>>>>>>>>>>> out-of-box index.html, which is using the SeasonsSkin) -- >>>>>>>>>>>>>>>> particularly, the Rain and Rain Rate. I've shared screen >>>>>>>>>>>>>>>> shots of both the IP-100 Console and the weewx html >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Based on some investigation, the log file (attached) indicates >>>>>>>>>>>>>>>> the data which is showing on the IP-100 Console is being >>>>>>>>>>>>>>>> captured correctly, However, looking at the archive table >>>>>>>>>>>>>>>> (attached) in the weewx.sdb, it does not appear the data >>>>>>>>>>>>>>>> elements are being posted to the archive table correctly - >>>>>>>>>>>>>>>> specifically day_rain_total (log) vs rain (archive table) and >>>>>>>>>>>>>>>> rain (log) vs rainRate (archive table). >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Additionally, the station_volts (log file) are not being >>>>>>>>>>>>>>>> posted to the archive table. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> I'm new to this world, but do have some technical bones -- any >>>>>>>>>>>>>>>> guidance on what actions need to be taken to address the >>>>>>>>>>>>>>>> discrepancy would be appreciated. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Thanks in advance! >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Archive Table >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Syslog >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> IP-100 Console >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> weewx html page >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>> 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/c7fd8f73-fbdc-4a52-a3fc-c04e6df83889n%40googlegroups.com. >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> 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/633dc989-4be4-4a67-9645-b818367b25b6n%40googlegroups.com. >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> 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/bb28e69f-35c5-416e-8c92-b406fb486933n%40googlegroups.com. >>>>>>>>> >>>>>>>>> -- >>>>>>>>> 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/57795e25-eec6-4956-8ca7-bd1868d314d9n%40googlegroups.com. >>>>>>> >>>>>>> -- >>>>>>> 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/67b747a3-b14a-42f9-a661-fa6cd0dc0748n%40googlegroups.com. >>>>> >>>>> -- >>>>> 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/34db1dbe-2d44-4916-802a-0c95aec9e58bn%40googlegroups.com. >>> >>> -- >>> 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/2e0854b7-8145-448c-8d2d-1db85ebca2abn%40googlegroups.com. > > -- > 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/717ee2e9-aaf5-40be-bba0-db9421e68dacn%40googlegroups.com. -- 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/EBD17D03-319D-46AA-A1F2-B3B13266E60C%40johnkline.com.
