[weewx-user] Re: Interceptor Driver - rainin dailyrain - Acurite 5 in 1

2016-11-06 Thread Brad Tucker
Good Evening Matt, I thought tcpflow would go forever but forever happened to only be 12 hours ;) After running for a very long time everything crashed. Ive been keeping a mindful eye on it so I caught it pretty early... Attached is a syslog. Let me know if you see anything I should look for.

Re: [weewx-user] Noob question... where to find the actual data (temp) within weewx?

2016-11-06 Thread Andrew Milner
The problem is that I have a horrible suspicion that not all possibilities are actually mentioned in the documentation at the present time of course my suspicion may well be totally unjustified!!! I am a staunch believer in the documentation - as you know - but I confess to missing that

Re: [weewx-user] Noob question... where to find the actual data (temp) within weewx?

2016-11-06 Thread gjr80
I am not aware of a single place, whenever I want more info I just go 'the dot code' in the Customization Guide. I don't know the reasoning behind why it is like it is, perhaps part historical when the suite of tags was less extensive than it is now, perhaps there is an expectation that if you

Re: [weewx-user] Noob question... where to find the actual data (temp) within weewx?

2016-11-06 Thread Andrew Milner
Gary - is there a list of dot options anywhere?? eg ordinal_compass was hard to find - I made a guess at the unit/formatting dot code being just .ordinate, but I was wrong!! A complete list of tags/units/dotcodes would be very useful eg as an appendix maybe to the guide (or have I missed it?)

Re: [weewx-user] Noob question... where to find the actual data (temp) within weewx?

2016-11-06 Thread Jim W.
Moving on: If I add $ordnates.windDir to the .tmpl file should I get a Cardinal or Ordinal return? Thanks again. On Thursday, November 3, 2016 at 9:09:39 PM UTC-4, Jim W. wrote: > > THANK YOU THANK YOU THANK YOU!!! > and thanks for your patience! > > On Thursday, November 3, 2016 at

[weewx-user] Re: Unable to get weewx going on an ubuntu 16.04 box

2016-11-06 Thread David Kowis
This is just a thread of me answering myself because I ask questions too soon, heh. http://packages.ubuntu.com/zesty/all/python-serial/download Go grab and install that via dpkg -i, and now the thing will connect. No clue if it'll affect other programs, but probably not. On Sunday, November

[weewx-user] Re: Unable to get weewx going on an ubuntu 16.04 box

2016-11-06 Thread David Kowis
Well, I figured out the problem: https://github.com/pyserial/pyserial/issues/59 Somehow I need to use a version of pyserial that's not 3.0.1, because 3.0.1 has a bug that involves working with socat and that breaks everything Anyone have advice on how to install a newer version of

[weewx-user] Re: Unable to get weewx going on an ubuntu 16.04 box

2016-11-06 Thread David Kowis
I hacked in an exception stack trace: ``` exception details Traceback (most recent call last): File "/usr/share/weewx/weewx/engine.py", line 107, in setupStation self.console = loader_function(config_dict, self) File "/usr/share/weewx/weewx/drivers/vantage.py", line 27, in loader

[weewx-user] Re: Unable to get weewx going on an ubuntu 16.04 box

2016-11-06 Thread David Kowis
Of note: I started weewx as root and it has the exact same errors, so I don't think it's who I'm running it as. On Sunday, November 6, 2016 at 4:38:18 PM UTC-6, David Kowis wrote: > > I had it working on an archlinux box, and I'm slowly changing my boxes > over to Ubuntu. > > It's not starting:

[weewx-user] Unable to get weewx going on an ubuntu 16.04 box

2016-11-06 Thread David Kowis
I had it working on an archlinux box, and I'm slowly changing my boxes over to Ubuntu. It's not starting: ``` Nov 6 16:35:28 ubuntubase weewx[15446]: engine: Initializing weewx version 3.6.1 Nov 6 16:35:28 ubuntubase weewx[15446]: engine: Using Python 2.7.12 (default, Jul 1 2016, 15:12:24)

[weewx-user] Re: WU import missing rain data

2016-11-06 Thread Andrew Chilvers
Gary, Sorry I was a bit vague. Used the wu-example file and edited my station name, and adjusted the interval to 1. Importing around 18 mo. data. No error messages in the log, and browsing the archive data directly in the DB, the rain column is blank, and the rainRate column is 0.0 for all

[weewx-user] WU import missing rain data

2016-11-06 Thread Andrew Chilvers
I wanted to import my historical data from WU and used the importer, however all the rain data is missing. Any ideas? Thanks -- 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

[weewx-user] Re: Interceptor Driver - rainin dailyrain - Acurite 5 in 1

2016-11-06 Thread Brad Tucker
Great. I was thinking to add it to the initd startup but I like the idea of adding if it to the weewx initd instead. Thanks for the thoughts. Thanks, Brad -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop

[weewx-user] Re: Intercept Driver - delta_rain bug

2016-11-06 Thread mwall
On Sunday, November 6, 2016 at 1:24:02 PM UTC-5, Jerome Helbert wrote: > > When I first ran into this issue, I ended up actively watching the packets > coming from the bridge during a transition and they reset to 0 (watching > rainin, but I would assume dayrainin would behave the same.) >

[weewx-user] Re: Intercept Driver - delta_rain bug

2016-11-06 Thread mwall
On Sunday, November 6, 2016 at 1:17:42 PM UTC-5, Jerome Helbert wrote: > > is option b actually something that some of this hardware will produce? > i've seen it happen with acurite hardware, but that was with the acurite driver and the usb interface. never saw it with the acurite bridge and

[weewx-user] Re: Intercept Driver - delta_rain bug

2016-11-06 Thread Jerome Helbert
is option b actually something that some of this hardware will produce? On Sunday, November 6, 2016 at 12:16:00 PM UTC-6, mwall wrote: > > On Sunday, November 6, 2016 at 12:12:54 PM UTC-5, Jerome Helbert wrote: >> >> Matt, >> How would you prefer bugs be written up? Just posts here, or would it

[weewx-user] Re: Intercept Driver - delta_rain bug

2016-11-06 Thread mwall
On Sunday, November 6, 2016 at 12:12:54 PM UTC-5, Jerome Helbert wrote: > > Matt, > How would you prefer bugs be written up? Just posts here, or would it work > better to create an issue in github? > here is fine. if the solutions get complicated enough to reference the code we can move the

[weewx-user] Re: Interceptor Driver - rainin dailyrain - Acurite 5 in 1

2016-11-06 Thread mwall
btw, you'll need the full path to combine-lines.pl, so you might want to put combine-lines.pl in /usr/local/bin and invoke it like this: #!/bin/sh tcpflow -C -i eth1 -s tcp dst port 80 | /usr/local/bin/combine-lines.pl | xargs -n 1 curl http://192.168.1.19: -s -d -- You received this

[weewx-user] Re: Interceptor Driver - rainin dailyrain - Acurite 5 in 1

2016-11-06 Thread mwall
btw, you'll need the full path to combine-lines.pl, so you might want to put combine-lines.pl in /usr/local/bin and invoke it like this: #!/bin/sh sudo tcpflow -C -i eth1 -s tcp dst port 80 | /usr/local/bin/combine-lines.pl | xargs -n 1 curl http://192.168.1.19: -s -d -- You received this

[weewx-user] Re: Interceptor Driver - rainin dailyrain - Acurite 5 in 1

2016-11-06 Thread mwall
On Sunday, November 6, 2016 at 12:14:08 PM UTC-5, Brad Tucker wrote: And here is the celebration dance... Hope Im not doing this too early but I > have a couple hours of tcpflow going and I see data in both my database and > on my skin. PIZZA PARTY! > thank *you* for being patient. nice work!

[weewx-user] Re: No data from station

2016-11-06 Thread mwall
On Sunday, November 6, 2016 at 8:58:36 AM UTC-5, Thomas O wrote: > > I see the same issue with 0.15rc1 from master and WMR300. > > Any data you need to further debug ; I am trying to diff 0.9 and 0.15rc1 > but I didn't find anything obvious yet. > > Can i provide some more traces ? > thomas,

[weewx-user] Intercept Driver - delta_rain bug

2016-11-06 Thread Jerome Helbert
Matt, How would you prefer bugs be written up? Just posts here, or would it work better to create an issue in github? I noticed the wrap-around portion of _delta_rain() could lead to lost data. When a wrap-around occurs (new_rain < last_rain), you return None. But it's entirely possible that

[weewx-user] Re: Interceptor Driver - rainin dailyrain - Acurite 5 in 1

2016-11-06 Thread Brad Tucker
Hello Matt, So far so good!!! Tcpflow has been running for over an hour. Data seems to be making its way. I'll go up on the roof and poor in some water shortly and see if it logs the values. Here is my working command: sudo tcpflow -C -i eth1 -s tcp dst port 80 | ./combine-lines.pl | xargs -n

[weewx-user] Re: Interceptor using bridge new Accurate firmware

2016-11-06 Thread mwall
On Saturday, November 5, 2016 at 10:24:08 PM UTC-4, Jerome Helbert wrote: > > I posted a modified version of the interceptor a few weeks ago, I used the > libpcap libraries to sniff the data stream directly (no need to run tcpdump > or ngrep or any of that external to the driver. > >> >>>

Re: [weewx-user] Output current weather conditions to xml

2016-11-06 Thread Thomas Keffer
There are lots of ways to accomplish this. 1. You could modify the csv service extension to save output in XML (instead of csv). 2. You could modify the StdPrint service to output XML to a file instead of printing to stdout. -tk On Sun, Nov 6, 2016 at

[weewx-user] Re: Interceptor Driver - rainin dailyrain - Acurite 5 in 1

2016-11-06 Thread mwall
On Sunday, November 6, 2016 at 2:32:46 AM UTC-5, Brad Tucker wrote: > > Decided to turn off the FTP skin and see if it changed anything. I still > got the crash and here is the syslog: > > tcpdump is picking up the traffic from your web server/browser and the weewx web pages. you need to

[weewx-user] Re: non ascii code in template for cheetah generator erorr

2016-11-06 Thread Andrew Milner
If the html you are including is complete try #include raw "/dir/weather_service.html" On Sunday, 6 November 2016 11:36:31 UTC+2, Eelco F wrote: > I tried your suggestion, but it still yields the same error. > > To be more precise: I have a template which include a general header for > my

Re: [weewx-user] Re: No data from station

2016-11-06 Thread Alberto Sánchez
I am noob with Raspberry and weewx, so I have done a clean installation of raspbian (Jessie) and Weewx 3.6.1 with the same result: pi@raspberrypi:~ $ sudo /etc/init.d/weewx status -l ● weewx.service - LSB: weewx weather system Loaded: loaded (/etc/init.d/weewx) Active: active (running)

[weewx-user] Re: Interceptor Driver - rainin dailyrain - Acurite 5 in 1

2016-11-06 Thread Brad Tucker
Hello Matt! I think I have some good news. After I did the clean install tcpdump worked exactly as it had before. However this time I tried to give tcpflow a shot. It has a great output and then once I run it through your perl script it looks really pretty and all on one line. It will run for