[weewx-user] Installation difficulties

2018-03-22 Thread Keith Stathem
I installed Weewx on a TPLink WDR4300 (with external storage), following 
the weewx on openwrt  
instructions; now I am working on the interceptor 
 driver to get data from 
my acurite bridge. It won't run in listen mode because the router interface 
is using port 80, and when I try to install pypcap it gives me this:
root@WDR4300:~# pip install pypcap
Downloading/unpacking pypcap
  Downloading pypcap-1.2.0.tar.gz (123kB): 123kB downloaded
  Running setup.py (path:/tmp/pip_build_root/pypcap/setup.py) egg_info for 
package pypcap
pcap.h not found
Complete output from command python setup.py egg_info:
pcap.h not found


Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/
pip_build_root/pypcap
Storing debug log for failure in /root/.pip/pip.log
root@WDR4300:~# cat /root/.pip/pip.log 

/usr/bin/pip run on Thu Mar 22 18:53:47 2018
Downloading/unpacking pypcap
  Getting page https://pypi.python.org/simple/pypcap/
  URLs to search for versions for pypcap:
  * https://pypi.python.org/simple/pypcap/
  Analyzing links from page https://pypi.python.org/simple/pypcap/
Found link 
https://pypi.python.org/packages/05/db/cebe323a8fed23f191460f61582ab3e42dffc709ea13d6433b2dea87e61f/pypcap-1.1.4.tar.gz#md5=e2ded33e75d94e4635798a2b2f4aaea1
 
(from https://pypi.python.org/simple/pypcap/), version: 1.1.4
Skipping 
https://pypi.python.org/packages/40/30/ed144a53f2439a2f774457c1ad80cf293091a0b8cca24132c09ca974eb51/pypcap-1.1.4-cp27-none-macosx_10_10_x86_64.whl#md5=ca7a6a3956f332a2982ad3996001
 
(from https://pypi.python.org/simple/pypcap/) because it is not compatible 
with this Python
Found link 
https://pypi.python.org/packages/44/18/2400db640fb5a52bdb3f2ad5790ec823f198b5a5fad15814fe676ee11260/pypcap-1.1.tar.gz#md5=d42e03b9cc322b1d3f39847752368f0d
 
(from https://pypi.python.org/simple/pypcap/), version: 1.1
Found link 
https://pypi.python.org/packages/5e/d2/dd63a41409a3a308dc8d0e64794996950ca79a1ea6df2cfedfb0a44f5e50/pypcap-1.2.0.tar.gz#md5=280d78f9ad99b57ce0e0ceda6ecaa424
 
(from https://pypi.python.org/simple/pypcap/), version: 1.2.0
Found link 
https://pypi.python.org/packages/83/25/dab6b3fda95a5699503c91bf722abf9d9a5c960a4480208e4bad8747dd0c/pypcap-1.1.5.tar.gz#md5=4d762f3293d9d41a787ef753530e0d0c
 
(from https://pypi.python.org/simple/pypcap/), version: 1.1.5
Found link 
https://pypi.python.org/packages/ba/60/e724203144e2afbbc921f62152ece8bff792a173fd8104ff003ff571a4ce/pypcap-1.1.6.tar.gz#md5=5196035a6176117015457cd7f367f6ab
 
(from https://pypi.python.org/simple/pypcap/), version: 1.1.6
Found link 
https://pypi.python.org/packages/bc/0b/3f0e81c19566f0cdf21f649ac22aeb4037ce87454c1f98b20be2df3797a3/pypcap-1.1.4.1.tar.gz#md5=da200fdc468ed271b4f433bae368aec9
 
(from https://pypi.python.org/simple/pypcap/), version: 1.1.4.1
Found link 
https://pypi.python.org/packages/c0/3d/27291dbe583eee995a4b3f07ce7615b7fd1851eceae1d69635bb5b02519b/pypcap-1.1.1.tar.gz#md5=d32f422feba022dad219edb1e7de0366
 
(from https://pypi.python.org/simple/pypcap/), version: 1.1.1
Found link 
https://pypi.python.org/packages/f2/7a/150d4a9eff36433e0f61524286fd30f9b734ecd0bf7ea0758175df7b958b/pypcap-1.1.3.tar.gz#md5=b1c43d8959123c2d4fa8a1531e0d61ca
 
(from https://pypi.python.org/simple/pypcap/), version: 1.1.3
Found link 
https://pypi.python.org/packages/f3/2d/5569e041903c452a6d83e0ca6058682a5539612e02b7fe01f83900b26155/pypcap-1.1.2.tar.gz#md5=c11ecfd60152ee1039cbc59f537d84ce
 
(from https://pypi.python.org/simple/pypcap/), version: 1.1.2
Skipping 
https://pypi.python.org/packages/fb/01/74d6ad4d85c5418680900535a6319ff96cfaafb56539d0a38df4e921f179/pypcap-1.1.4.1-cp27-cp27m-macosx_10_11_x86_64.whl#md5=31e92b644b790cb49b17232267dff374
 
(from https://pypi.python.org/simple/pypcap/) because it is not compatible 
with this Python
  Using version 1.2.0 (newest of versions: 1.2.0, 1.1.6, 1.1.5, 1.1.4.1, 1.1
.4, 1.1.3, 1.1.2, 1.1.1, 1.1)
  Downloading from URL 
https://pypi.python.org/packages/5e/d2/dd63a41409a3a308dc8d0e64794996950ca79a1ea6df2cfedfb0a44f5e50/pypcap-1.2.0.tar.gz#md5=280d78f9ad99b57ce0e0ceda6ecaa424
 
(from https://pypi.python.org/simple/pypcap/)
  Running setup.py (path:/tmp/pip_build_root/pypcap/setup.py) egg_info for 
package pypcap
pcap.h not found
Complete output from command python setup.py egg_info:
pcap.h not found


Cleaning up...
  Removing temporary dir /tmp/pip_build_root...
Command python setup.py egg_info failed with error code 1 in /tmp/
pip_build_root/pypcap
Exception information:
Traceback (most recent call last):
  File 
"/usr/lib/python2.7/site-packages/pip-1.5.6-py2.7.egg/pip/basecommand.py", 
line 122, in main
status = self.run(options, args)
  File 
"/usr/lib/python2.7/site-packag

Re: [weewx-user] WeeWx changing time on Davis Vantage Vue Console?

2018-03-22 Thread Matt
I set the correct time on my Davis and then started weewx.  Here is my log.

Mar 21 23:29:10 raspberrypi weewx[1746]: restx: StationRegistry: 
Registration not requested.
Mar 21 23:29:10 raspberrypi weewx[1746]: restx: Wunderground-PWS: Data for 
station KCAMARIN10 will be posted
Mar 21 23:29:10 raspberrypi weewx[1746]: restx: PWSweather: Posting not 
enabled.
Mar 21 23:29:10 raspberrypi weewx[1746]: restx: CWOP: Data for station 
EW will be posted
Mar 21 23:29:10 raspberrypi weewx[1746]: restx: WOW: Posting not enabled.
Mar 21 23:29:10 raspberrypi weewx[1746]: restx: AWEKAS: Posting not enabled.
Mar 21 23:29:10 raspberrypi weewx[1746]: engine: Starting up weewx version 
3.6.2
Mar 21 23:29:10 raspberrypi weewx[1746]: engine: Clock error is -25228.35 
seconds (positive is fast)
Mar 21 23:29:10 raspberrypi weewx[1746]: vantage: Clock set to 2018-03-21 
23:29:11 UTC (1521674951)
Mar 21 23:29:11 raspberrypi weewx[1746]: engine: Starting main packet loop.
Mar 21 23:29:15 raspberrypi weewx[1746]: vantage: LOOP try #1; error: 
Expected to read 99 chars; got 0 instead
Mar 21 23:29:20 raspberrypi weewx[1746]: vantage: LOOP try #2; error: 
Expected to read 99 chars; got 0 instead
Mar 21 23:29:30 raspberrypi weewx[1746]: vantage: LOOP try #3; error: 
Expected to read 99 chars; got 0 instead
Mar 21 23:29:38 raspberrypi weewx[1746]: vantage: LOOP try #4; error: 
Expected to read 99 chars; got 0 instead
Mar 21 23:29:38 raspberrypi weewx[1746]: vantage: LOOP max tries (4) 
exceeded.
Mar 21 23:29:38 raspberrypi weewx[1746]: engine: Caught WeeWxIOError: Max 
tries exceeded while getting LOOP data.
Mar 21 23:29:38 raspberrypi weewx[1746]:   Waiting 60 seconds then 
retrying...


On Tuesday, March 20, 2018 at 5:51:36 PM UTC-7, Tom Keffer wrote:
>
> I did. It syncs every 4 hours. Thanks, Gary!
>
> On Tue, Mar 20, 2018 at 5:48 PM, gjr80 > 
> wrote:
>
>> You didn't lose a zero there somewhere did you Tom? :)
>>
>> Gary
>>
>> --
>> 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 .
>> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] WeeWx changing time on Davis Vantage Vue Console?

2018-03-22 Thread Matt
I set the time correctly on my Davis and then I did a restart of weewx and 
here is my log

Mar 21 23:29:10 raspberrypi weewx[1746]: restx: StationRegistry: 
Registration not requested.
Mar 21 23:29:10 raspberrypi weewx[1746]: restx: Wunderground-PWS: Data for 
station KCAMARIN10 will be posted
Mar 21 23:29:10 raspberrypi weewx[1746]: restx: PWSweather: Posting not 
enabled.
Mar 21 23:29:10 raspberrypi weewx[1746]: restx: CWOP: Data for station 
EW will be posted
Mar 21 23:29:10 raspberrypi weewx[1746]: restx: WOW: Posting not enabled.
Mar 21 23:29:10 raspberrypi weewx[1746]: restx: AWEKAS: Posting not enabled.
Mar 21 23:29:10 raspberrypi weewx[1746]: engine: Starting up weewx version 
3.6.2
Mar 21 23:29:10 raspberrypi weewx[1746]: engine: Clock error is -25228.35 
seconds (positive is fast)
Mar 21 23:29:10 raspberrypi weewx[1746]: vantage: Clock set to 2018-03-21 
23:29:11 UTC (1521674951)
Mar 21 23:29:11 raspberrypi weewx[1746]: engine: Starting main packet loop.
Mar 21 23:29:15 raspberrypi weewx[1746]: vantage: LOOP try #1; error: 
Expected to read 99 chars; got 0 instead
Mar 21 23:29:20 raspberrypi weewx[1746]: vantage: LOOP try #2; error: 
Expected to read 99 chars; got 0 instead
Mar 21 23:29:30 raspberrypi weewx[1746]: vantage: LOOP try #3; error: 
Expected to read 99 chars; got 0 instead
Mar 21 23:29:38 raspberrypi weewx[1746]: vantage: LOOP try #4; error: 
Expected to read 99 chars; got 0 instead
Mar 21 23:29:38 raspberrypi weewx[1746]: vantage: LOOP max tries (4) 
exceeded.
Mar 21 23:29:38 raspberrypi weewx[1746]: engine: Caught WeeWxIOError: Max 
tries exceeded while getting LOOP data.
Mar 21 23:29:38 raspberrypi weewx[1746]:   Waiting 60 seconds then 
retrying...


On Tuesday, March 20, 2018 at 5:51:36 PM UTC-7, Tom Keffer wrote:
>
> I did. It syncs every 4 hours. Thanks, Gary!
>
> On Tue, Mar 20, 2018 at 5:48 PM, gjr80 > 
> wrote:
>
>> You didn't lose a zero there somewhere did you Tom? :)
>>
>> Gary
>>
>> --
>> 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 .
>> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] WeeWx changing time on Davis Vantage Vue Console?

2018-03-22 Thread Matt
Here is my log.  I set the time correctly on the Davis then started WeeWx 
and got the clock error.  Now I'm not posting to the web.   Not sure what's 
going on.


Mar 21 23:29:10 raspberrypi weewx[1746]: restx: StationRegistry: 
Registration not requested.
Mar 21 23:29:10 raspberrypi weewx[1746]: restx: Wunderground-PWS: Data for 
station KCAMARIN10 will be posted
Mar 21 23:29:10 raspberrypi weewx[1746]: restx: PWSweather: Posting not 
enabled.
Mar 21 23:29:10 raspberrypi weewx[1746]: restx: CWOP: Data for station 
EW will be posted
Mar 21 23:29:10 raspberrypi weewx[1746]: restx: WOW: Posting not enabled.
Mar 21 23:29:10 raspberrypi weewx[1746]: restx: AWEKAS: Posting not enabled.
Mar 21 23:29:10 raspberrypi weewx[1746]: engine: Starting up weewx version 
3.6.2
Mar 21 23:29:10 raspberrypi weewx[1746]: engine: Clock error is -25228.35 
seconds (positive is fast)
Mar 21 23:29:10 raspberrypi weewx[1746]: vantage: Clock set to 2018-03-21 
23:29:11 UTC (1521674951)
Mar 21 23:29:11 raspberrypi weewx[1746]: engine: Starting main packet loop.
Mar 21 23:29:15 raspberrypi weewx[1746]: vantage: LOOP try #1; error: 
Expected to read 99 chars; got 0 instead
Mar 21 23:29:20 raspberrypi weewx[1746]: vantage: LOOP try #2; error: 
Expected to read 99 chars; got 0 instead
Mar 21 23:29:30 raspberrypi weewx[1746]: vantage: LOOP try #3; error: 
Expected to read 99 chars; got 0 instead
Mar 21 23:29:38 raspberrypi weewx[1746]: vantage: LOOP try #4; error: 
Expected to read 99 chars; got 0 instead
Mar 21 23:29:38 raspberrypi weewx[1746]: vantage: LOOP max tries (4) 
exceeded.
Mar 21 23:29:38 raspberrypi weewx[1746]: engine: Caught WeeWxIOError: Max 
tries exceeded while getting LOOP data.
Mar 21 23:29:38 raspberrypi weewx[1746]:   Waiting 60 seconds then 
retrying...


On Tuesday, March 20, 2018 at 5:45:07 PM UTC-7, Tom Keffer wrote:
>
> WeeWX will automatically sync up the time on the console with the time on 
> the computer every 24 minutes. It logs this, so you can look in your system 
> log to see what it's doing. 
>
> It's hard to say what's going on without more details. What, specifically, 
> is the problem? A log excerpt would help.
>
> -tk
>
>
>
>
> On Tue, Mar 20, 2018 at 5:35 PM, Matt > 
> wrote:
>
>> Hi All,
>> I did a search on this forum regarding time problems, but didn't see any 
>> answers to my question.
>>
>> Is it possible that WeeWx is changing the time on my Davis console?  If 
>> so, do I need to change one of the time sync settings or Vantage driver?  
>> My weather data is making it to the web just fine, but my console time 
>> keeps getting messed up.
>>
>> Thanks in advance
>> Matt
>>
>> -- 
>> 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 .
>> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Who is using what Weather Station

2018-03-22 Thread Ian Millard
Ok. First of all you can find the template here: - 
https://weather34.com/homeweatherstation/

The template is developed mainly for Cumulus by Brian Underdown who is very 
helpful. It is very easy to setup for WeeWX use by using the CRT extension to 
generate a Cumulus style realtime.txt file which then drives the template. I 
switched the WeeWX database to MySQL because that was what I am used to, SQLite 
is not a problem. The WeeWX plots on the menu selection are actually the charts 
generated with the standard WeeWX skin, just resized and coloured to match the 
weather34 template. Click the link on each chart pops up a larger image. The 
chart links on the panels of the homepage are driven by sql queries to the 
WeeWX database. I did a few more bits of customisation here and there to make 
it more friendly for my own purposes.

Everything is run on a single RaspberryPi3 - WeeWX, template, webcam and 
timelapse generation, web server (LAMP), Myphpadmin, and Webmin.

I am planning to produce a detailed ‘how to’ at the request of others but if 
you need more details in the meantime just let me know.

Steepleian

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: How can I use WeeWx without a weather standard station

2018-03-22 Thread gjr80
Was on the iPad before and it is somewhat labour intensive to find/include 
links. The file parse driver should be in the examples/fileparse directory 
of your weeWX install (where these directories are located will depend on 
your install, /home/weewx for a setup.py install, /usr/share/doc/weewx for 
a .deb install - Where to find things 
 is a helpful 
resource for, well, where to find things on your weeWX install). There is a 
brief 
mention of fileparse in the Customization Guide 
, plus if you look in the 
file parse driver file, fileparse.py, you will find some install/config 
instructions in the comments at the start of the file. It is a very basic 
driver so there is not much to it. Another useful resource is searching the 
forums, I seem to recall a number of folks with arduinos or the like have 
used the fileparse driver.

Gary

On Friday, 23 March 2018 07:37:45 UTC+10, Gucky wrote:
>
> Hi Gary,
> many thanks for your suggestion ! Import is definetly not my first choice 
> but my first try :) I was looking for something like a file-parser driver, 
> but I didn't find that information until now. Can you send me a link or 
> probably example code as well?
> Looking forward to your answer :))
>
> Am Donnerstag, 22. März 2018 09:33:23 UTC+1 schrieb Gucky:
>>
>> I have a Raspberry Pi and Arduinos collecting weather data and I would 
>> like to use Weews software to visualize my data. I'm not using a weather 
>> station.
>> I have already enabled a mysql database in weewx and when running the 
>> simulator, mysql is properly populated with data.
>> My approach is to use the import function of weewx to import data from my 
>> sensors an get the internal calculations etc. properly done.
>>
>> Question: As I don't want the data from the simulator, what do I need to 
>> configure to get my sensor data visualized?
>>
>> Thanks a lot for your help !
>>
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: How can I use WeeWx without a weather standard station

2018-03-22 Thread Gucky
Hi Gary,
many thanks for your suggestion ! Import is definetly not my first choice 
but my first try :) I was looking for something like a file-parser driver, 
but I didn't find that information until now. Can you send me a link or 
probably example code as well?
Looking forward to your answer :))

Am Donnerstag, 22. März 2018 09:33:23 UTC+1 schrieb Gucky:
>
> I have a Raspberry Pi and Arduinos collecting weather data and I would 
> like to use Weews software to visualize my data. I'm not using a weather 
> station.
> I have already enabled a mysql database in weewx and when running the 
> simulator, mysql is properly populated with data.
> My approach is to use the import function of weewx to import data from my 
> sensors an get the internal calculations etc. properly done.
>
> Question: As I don't want the data from the simulator, what do I need to 
> configure to get my sensor data visualized?
>
> Thanks a lot for your help !
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Who is using what Weather Station

2018-03-22 Thread vince
On Thursday, March 22, 2018 at 2:20:18 PM UTC-7, Ian Millard wrote:
>
> I am running an HP1000 (WS1001) clone using the HP1000 and CRT extensions, 
> RaspberryPi 3, Debian9 and a heavily customised version of Brian 
> Underdown’s weather34 template. At the moment the entire setup is 
> performing very well. 
>
> https://claydonsweather.org.uk



ok - that's about the slickest looking dashboard I've seen for weewx.  Tell 
us more 

In particular - does it work with sqlite3 and what did you need to do to 
integrate with weewx ?


-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Ambient Weather WS-2902 reporting troubles with the interceptor extension

2018-03-22 Thread Ian Millard
Also try using the HP1000 extension rather than the interceptor. I have found 
it much more reliable and easier to setup.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Who is using what Weather Station

2018-03-22 Thread Ian Millard
I am running an HP1000 (WS1001) clone using the HP1000 and CRT extensions, 
RaspberryPi 3, Debian9 and a heavily customised version of Brian Underdown’s 
weather34 template. At the moment the entire setup is performing very well.

https://claydonsweather.org.uk

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: How can I use WeeWx without a weather standard station

2018-03-22 Thread gjr80
Hi,

I know that you may well have good reason, but rather than manipulating the 
weeWX database itself or running wee_import (I am guessing this is what you 
mean when you refer to 'the import function') to import data, have you 
considered running weeWX with something like the file_parse driver? The 
file_parse driver reads data from a formatted text file and the weeWX machinery 
then takes care of importing, processing and storing your data as well as 
running reports. No need to run wee_import and no need to run wee_reports.

Whilst the weeWX database structure is not particularly complex, the process to 
maintain accurate and consistent data in the various database tables is complex 
and experience has shown that those who attempt to externally update the 
database often run into problems, either knowingly or unknowingly.

Just thought an alternative, and perhaps less complex, approach needed to be 
voiced.

Gary

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: New to Weewx

2018-03-22 Thread Thomas Keffer
Your problem is probably, although not necessarily, that the MySQL server
has not started. Try starting it.

However, if you have limited Linux experience, you should not be using a
MySQL database. Stick with the sqlite database that comes with weeWX. It's
much simpler and more intuitive to administer.

-tk

On Thu, Mar 22, 2018 at 11:55 AM, Peter Sundin  wrote:

> Thanks Tom K,
> I very much appreciate your support. It is very kind of you to help.
> I know I have to study more and spend more time learning by doing. I am so
> eager to get my WS up and running.
>
> I think I am getting closer day by day but now I got a new issue I do not
> undrstand. See attached logfile.
> It claims- engine: Database OperationalError exception: (2002, 'Can\'t
> connect to local MySQL server through socket \'/var/run/mysqld/mysqld.sock\'
> (2 "No such file or directory")')
> Sounds like path /var/run/mysqld/ is wrong but I do not know where this
> path is defined.
>
> Regards
> Peter
>
> --
> 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+unsubscr...@googlegroups.com.
> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: New to Weewx

2018-03-22 Thread Peter Sundin
Thanks Tom K,
I very much appreciate your support. It is very kind of you to help.
I know I have to study more and spend more time learning by doing. I am so 
eager to get my WS up and running.

I think I am getting closer day by day but now I got a new issue I do not 
undrstand. See attached logfile.
It claims- engine: Database OperationalError exception: (2002, 'Can\'t 
connect to local MySQL server through socket 
\'/var/run/mysqld/mysqld.sock\' (2 "No such file or directory")')
Sounds like path /var/run/mysqld/ is wrong but I do not know where this 
path is defined.

Regards
Peter

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


syslog2
Description: Binary data


[weewx-user] Re: How can I use WeeWx without a weather standard station

2018-03-22 Thread Gucky
Many thanks to all of you, your help is highly appreciated, as it brings me 
up to speed in understanding weewx. So far I could follow all of your 
comments and it works well for me. As I'm progressing, more follow-up 
questions appear :)

Here comes my next one: Using the import function, this required user 
interaction and confirming with "y", that I wish to continue. How can I 
pass the "y" parameter in batch-mode?

Am Donnerstag, 22. März 2018 09:33:23 UTC+1 schrieb Gucky:
>
> I have a Raspberry Pi and Arduinos collecting weather data and I would 
> like to use Weews software to visualize my data. I'm not using a weather 
> station.
> I have already enabled a mysql database in weewx and when running the 
> simulator, mysql is properly populated with data.
> My approach is to use the import function of weewx to import data from my 
> sensors an get the internal calculations etc. properly done.
>
> Question: As I don't want the data from the simulator, what do I need to 
> configure to get my sensor data visualized?
>
> Thanks a lot for your help !
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] How I can display current data from Davis vantage pro 2 on Pi terminal using weewx and pyqt or Tkinter

2018-03-22 Thread Joush
Hi everyone,

I have a Davis vantage pro2 (firmware 1.6)
I tried weewx and like it so much.
I wonder if there is a way to display some of data (temperature, 
barometer...) from Davis on Raspberry Pi's terminal or GUI using vnctight?

I guess it can be done by reading data from sql, but i don't know how to do 
it.
Can anyone help me with it?

Thank you,

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Who is using what Weather Station

2018-03-22 Thread vince
On Thursday, March 22, 2018 at 7:58:54 AM UTC-7, David Hathaway wrote:
>
> "the vast majority of the users here are running everything with a Pi"
>
> That's interesting.  Is it true?  Not in my case; I'm in the 
> inconsequential minority.
>

I'm not aware of any place we say what kind of hardware we're on, but I 
would definitely find it interesting to see some data on that topic

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: How can I use WeeWx without a weather standard station

2018-03-22 Thread Thomas Keffer
>
> How does the report generator know, which database to use? I have
> installed and configured mysql parrelel to sqlite following the description
> in the manual. I cannot find any infor how to disable sqlite.
>
>
All of the weeWX utilities, including wee_reports, get their configuration
information from ​weewx.conf. So, wee_reports will use the database
selected by option 'database' in subsection [[wxbinding]].

-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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: How can I use WeeWx without a weather standard station

2018-03-22 Thread Gucky
When running the reports, I see one entry in syslog saying 
"cheetagenerator: generated 14 files for report StandardReport in 3.68 
seconds" 
and
Imagegenerator: generated 12 images for StandardReport in 0.66 seconds
and
copygenerator: copied 14 files to ...weewx/public_html

Interesting, now the new files are there :)), Don't know why, I simply ran 
the report again to watch the syslog  :))

How does the report generator know, which database to use? I have installed 
and configured mysql parrelel to sqlite following the description in the 
manual. I cannot find any infor how to disable sqlite.
Many thanks for link to the "intake strategies", I will study that 
carefulley.
Bear with me, it may take a while, I'm not a native speaker of English :)


Am Donnerstag, 22. März 2018 09:33:23 UTC+1 schrieb Gucky:
>
> I have a Raspberry Pi and Arduinos collecting weather data and I would 
> like to use Weews software to visualize my data. I'm not using a weather 
> station.
> I have already enabled a mysql database in weewx and when running the 
> simulator, mysql is properly populated with data.
> My approach is to use the import function of weewx to import data from my 
> sensors an get the internal calculations etc. properly done.
>
> Question: As I don't want the data from the simulator, what do I need to 
> configure to get my sensor data visualized?
>
> Thanks a lot for your help !
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Who is using what Weather Station

2018-03-22 Thread David Hathaway
"the vast majority of the users here are running everything with a Pi"

That's interesting.  Is it true?  Not in my case; I'm in the 
inconsequential minority.

To OP: I am running a Davis Vantage Pro 2.  I originally used an Oregon 
Scientific WMR-200A but I had too many problems with it performing 
reliably.  I am in favor of cost-effectiveness, but when the effectiveness 
of the solution is questionable... I upgraded.

On Wednesday, March 21, 2018 at 11:44:55 AM UTC-5, WindnFog wrote:
>
> I'm using a Davis Vantage Vue.  It's been going since 2012 (6 years 
> non-stop except for battery changes ~ 1 time a year.)  I've only been using 
> weewx for ~2.5 years with it.  This combo is rock solid . . . but I'm not 
> exactly using a Pi to do everything.  My Pi just takes pictures every 5 
> minutes and sends them to my main CentOS system, which is running weewx.  A 
> bit more complicated than I want, but it evolved over time and it's hard to 
> get the energy to put everything on the Pi.  I'd recommend Davis any day, 
> and I suspect the vast majority of the users here are running everything 
> with a Pi.  As Andrew suggested, take a look at the various combinations 
> that over 1000 users have picked on the station map.
>
> - Paul VE1DX
>
>
> On Tuesday, March 20, 2018 at 1:49:04 AM UTC-3, Kevin Hedgepeth wrote:
>>
>> I am looking to attach a weather station to a Pi.  I am curious to know 
>> what weather stations you are using.  Please include the manufacturer and 
>> model.  If you had issues getting it to work with WeeWx or the Pi I would 
>> like to hear that too.
>>
>> Kevin Hedgepeth, Hermiston, Oregon
>>
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: How can I use WeeWx without a weather standard station

2018-03-22 Thread Andrew Milner
Have you checked the wiki for ideas on getting data into the database??

https://github.com/weewx/weewx/wiki/intake-strategies



On Thursday, 22 March 2018 16:39:26 UTC+2, Andrew Milner wrote:

> The log is your friend.  What does the log say when you run wee_reports??
>
>
>
> On Thursday, 22 March 2018 16:23:31 UTC+2, Gucky wrote:
>
>> Thanks for your quick answer. I have cleaned up the mysql database and 
>> left the sqlite database with old testdata from simulator.
>> Then I have imported some data to mysql using weewx-import function. Data 
>> are imported property to mysql database.
>> Then I ran the wee_reports. Unfortunately the graphics in the web 
>> interface didn't change at all, the timestamps for the files in 
>> ...weewx/public_html don't get updated.
>> Any advise, what I made wrong?
>>
>> Am Donnerstag, 22. März 2018 09:33:23 UTC+1 schrieb Gucky:
>>>
>>> I have a Raspberry Pi and Arduinos collecting weather data and I would 
>>> like to use Weews software to visualize my data. I'm not using a weather 
>>> station.
>>> I have already enabled a mysql database in weewx and when running the 
>>> simulator, mysql is properly populated with data.
>>> My approach is to use the import function of weewx to import data from 
>>> my sensors an get the internal calculations etc. properly done.
>>>
>>> Question: As I don't want the data from the simulator, what do I need to 
>>> configure to get my sensor data visualized?
>>>
>>> Thanks a lot for your help !
>>>
>>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: How can I use WeeWx without a weather standard station

2018-03-22 Thread Andrew Milner
The log is your friend.  What does the log say when you run wee_reports??



On Thursday, 22 March 2018 16:23:31 UTC+2, Gucky wrote:

> Thanks for your quick answer. I have cleaned up the mysql database and 
> left the sqlite database with old testdata from simulator.
> Then I have imported some data to mysql using weewx-import function. Data 
> are imported property to mysql database.
> Then I ran the wee_reports. Unfortunately the graphics in the web 
> interface didn't change at all, the timestamps for the files in 
> ...weewx/public_html don't get updated.
> Any advise, what I made wrong?
>
> Am Donnerstag, 22. März 2018 09:33:23 UTC+1 schrieb Gucky:
>>
>> I have a Raspberry Pi and Arduinos collecting weather data and I would 
>> like to use Weews software to visualize my data. I'm not using a weather 
>> station.
>> I have already enabled a mysql database in weewx and when running the 
>> simulator, mysql is properly populated with data.
>> My approach is to use the import function of weewx to import data from my 
>> sensors an get the internal calculations etc. properly done.
>>
>> Question: As I don't want the data from the simulator, what do I need to 
>> configure to get my sensor data visualized?
>>
>> Thanks a lot for your help !
>>
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: How can I use WeeWx without a weather standard station

2018-03-22 Thread Gucky
Thanks for your quick answer. I have cleaned up the mysql database and left 
the sqlite database with old testdata from simulator.
Then I have imported some data to mysql using weewx-import function. Data 
are imported property to mysql database.
Then I ran the wee_reports. Unfortunately the graphics in the web interface 
didn't change at all, the timestamps for the files in ...weewx/public_html 
don't get updated.
Any advise, what I made wrong?

Am Donnerstag, 22. März 2018 09:33:23 UTC+1 schrieb Gucky:
>
> I have a Raspberry Pi and Arduinos collecting weather data and I would 
> like to use Weews software to visualize my data. I'm not using a weather 
> station.
> I have already enabled a mysql database in weewx and when running the 
> simulator, mysql is properly populated with data.
> My approach is to use the import function of weewx to import data from my 
> sensors an get the internal calculations etc. properly done.
>
> Question: As I don't want the data from the simulator, what do I need to 
> configure to get my sensor data visualized?
>
> Thanks a lot for your help !
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: WeeWx changing time on Davis Vantage Vue Console?

2018-03-22 Thread Thomas Keffer
What happens after 60 seconds? Does the same error occur?

-tk

On Thu, Mar 22, 2018 at 5:35 AM, Matt  wrote:

> I set the correct time on my Davis then restarted my weewx
>
> Mar 21 23:29:10 raspberrypi weewx[1746]: restx: StationRegistry:
> Registration not requested.
> Mar 21 23:29:10 raspberrypi weewx[1746]: restx: Wunderground-PWS: Data for
> station KCAMARIN10 will be posted
> Mar 21 23:29:10 raspberrypi weewx[1746]: restx: PWSweather: Posting not
> enabled.
> Mar 21 23:29:10 raspberrypi weewx[1746]: restx: CWOP: Data for station
> EW will be posted
> Mar 21 23:29:10 raspberrypi weewx[1746]: restx: WOW: Posting not enabled.
> Mar 21 23:29:10 raspberrypi weewx[1746]: restx: AWEKAS: Posting not
> enabled.
> Mar 21 23:29:10 raspberrypi weewx[1746]: engine: Starting up weewx version
> 3.6.2
> Mar 21 23:29:10 raspberrypi weewx[1746]: engine: Clock error is -25228.35
> seconds (positive is fast)
> Mar 21 23:29:10 raspberrypi weewx[1746]: vantage: Clock set to 2018-03-21
> 23:29:11 UTC (1521674951)
> Mar 21 23:29:11 raspberrypi weewx[1746]: engine: Starting main packet loop.
> Mar 21 23:29:15 raspberrypi weewx[1746]: vantage: LOOP try #1; error:
> Expected to read 99 chars; got 0 instead
> Mar 21 23:29:20 raspberrypi weewx[1746]: vantage: LOOP try #2; error:
> Expected to read 99 chars; got 0 instead
> Mar 21 23:29:30 raspberrypi weewx[1746]: vantage: LOOP try #3; error:
> Expected to read 99 chars; got 0 instead
> Mar 21 23:29:38 raspberrypi weewx[1746]: vantage: LOOP try #4; error:
> Expected to read 99 chars; got 0 instead
> Mar 21 23:29:38 raspberrypi weewx[1746]: vantage: LOOP max tries (4)
> exceeded.
> Mar 21 23:29:38 raspberrypi weewx[1746]: engine: Caught WeeWxIOError: Max
> tries exceeded while getting LOOP data.
> Mar 21 23:29:38 raspberrypi weewx[1746]:   Waiting 60 seconds then
> retrying...
>
>
> On Tuesday, March 20, 2018 at 5:35:36 PM UTC-7, Matt wrote:
>>
>> Hi All,
>> I did a search on this forum regarding time problems, but didn't see any
>> answers to my question.
>>
>> Is it possible that WeeWx is changing the time on my Davis console?  If
>> so, do I need to change one of the time sync settings or Vantage driver?
>> My weather data is making it to the web just fine, but my console time
>> keeps getting messed up.
>>
>> Thanks in advance
>> Matt
>>
> --
> 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+unsubscr...@googlegroups.com.
> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: WeeWx changing time on Davis Vantage Vue Console?

2018-03-22 Thread Matt
I set the correct time on my Davis then restarted my weewx

Mar 21 23:29:10 raspberrypi weewx[1746]: restx: StationRegistry: 
Registration not requested.
Mar 21 23:29:10 raspberrypi weewx[1746]: restx: Wunderground-PWS: Data for 
station KCAMARIN10 will be posted
Mar 21 23:29:10 raspberrypi weewx[1746]: restx: PWSweather: Posting not 
enabled.
Mar 21 23:29:10 raspberrypi weewx[1746]: restx: CWOP: Data for station 
EW will be posted
Mar 21 23:29:10 raspberrypi weewx[1746]: restx: WOW: Posting not enabled.
Mar 21 23:29:10 raspberrypi weewx[1746]: restx: AWEKAS: Posting not enabled.
Mar 21 23:29:10 raspberrypi weewx[1746]: engine: Starting up weewx version 
3.6.2
Mar 21 23:29:10 raspberrypi weewx[1746]: engine: Clock error is -25228.35 
seconds (positive is fast)
Mar 21 23:29:10 raspberrypi weewx[1746]: vantage: Clock set to 2018-03-21 
23:29:11 UTC (1521674951)
Mar 21 23:29:11 raspberrypi weewx[1746]: engine: Starting main packet loop.
Mar 21 23:29:15 raspberrypi weewx[1746]: vantage: LOOP try #1; error: 
Expected to read 99 chars; got 0 instead
Mar 21 23:29:20 raspberrypi weewx[1746]: vantage: LOOP try #2; error: 
Expected to read 99 chars; got 0 instead
Mar 21 23:29:30 raspberrypi weewx[1746]: vantage: LOOP try #3; error: 
Expected to read 99 chars; got 0 instead
Mar 21 23:29:38 raspberrypi weewx[1746]: vantage: LOOP try #4; error: 
Expected to read 99 chars; got 0 instead
Mar 21 23:29:38 raspberrypi weewx[1746]: vantage: LOOP max tries (4) 
exceeded.
Mar 21 23:29:38 raspberrypi weewx[1746]: engine: Caught WeeWxIOError: Max 
tries exceeded while getting LOOP data.
Mar 21 23:29:38 raspberrypi weewx[1746]:   Waiting 60 seconds then 
retrying...


On Tuesday, March 20, 2018 at 5:35:36 PM UTC-7, Matt wrote:
>
> Hi All,
> I did a search on this forum regarding time problems, but didn't see any 
> answers to my question.
>
> Is it possible that WeeWx is changing the time on my Davis console?  If 
> so, do I need to change one of the time sync settings or Vantage driver?  
> My weather data is making it to the web just fine, but my console time 
> keeps getting messed up.
>
> Thanks in advance
> Matt
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: How can I use WeeWx without a weather standard station

2018-03-22 Thread Andrew Milner
If you are loading the database yourself then you can just use cron to run 
wee_reports say every 5 minutes - and the html pages will be generated 
every 5 minutes for you - no need to run weewx itself.

Any help??



On Thursday, 22 March 2018 10:33:23 UTC+2, Gucky wrote:

> I have a Raspberry Pi and Arduinos collecting weather data and I would 
> like to use Weews software to visualize my data. I'm not using a weather 
> station.
> I have already enabled a mysql database in weewx and when running the 
> simulator, mysql is properly populated with data.
> My approach is to use the import function of weewx to import data from my 
> sensors an get the internal calculations etc. properly done.
>
> Question: As I don't want the data from the simulator, what do I need to 
> configure to get my sensor data visualized?
>
> Thanks a lot for your help !
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] How can I use WeeWx without a weather standard station

2018-03-22 Thread Gucky
I have a Raspberry Pi and Arduinos collecting weather data and I would like 
to use Weews software to visualize my data. I'm not using a weather station.
I have already enabled a mysql database in weewx and when running the 
simulator, mysql is properly populated with data.
My approach is to use the import function of weewx to import data from my 
sensors an get the internal calculations etc. properly done.

Question: As I don't want the data from the simulator, what do I need to 
configure to get my sensor data visualized?

Thanks a lot for your help !

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.