Re: [weewx-user] spurious gaps within weather data - wh23xx on raspberry pi 3

2018-03-11 Thread Greg Troxel

One bit of advice:  Do not assume that you only have one problem.  You
might have multiple ones, and that makes debugging much harder.

If you had problems after installing the forecast plugin, then uninstall
it and try for a while.  I don't mean to say that I suspect it's a
problem, but all sorts of things could be going on, like increased CPU
temperature, load on the power supply, or lots of others that no one can
think of.

-- 
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.


signature.asc
Description: PGP signature


[weewx-user] Re: HP 1000 and UV-Index

2018-03-11 Thread RothMa

Hello Vince,

Thanks for the answer. I think it's not easy to convert. In your link, I 
read, "The index is equal to the EAS-weighted irradiance (in watts / m²) x 
40. An index of 10 corresponds to an EAS-weighted irradiance of 0.25 W / 
m², but if I convert my values this does not fit the index on the display 
of the station.
At least I think it's easier to adjust the charts and live with the 
reported values ...

Martin

-- 
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] spurious gaps within weather data - wh23xx on raspberry pi 3

2018-03-11 Thread Michale Waldor
I'm a new user to weewx running on a raspberry pi 3 connected to the 
weatherstation Renkforce WH2300. And I have some spurious problems where I 
need some help:

Raspberry pi 3, 16GB sdcard,
network connection via wifi,
2A power supply for raspberry pi,
batteries within weatherstation (BTW I believe that USB connection will 
power weatherstation, too)
cat /etc/issue --> Raspbian GNU/Linux 9, uname -a --> Linux IMURR9 
4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l

I gradually added functionality to weewx in the following sequence
- base installation weewx 3.8.0 + wh23xx driver 0.14
- nginx Web server on the same pi
- upload towards wunderground
- German Sofaskin_1.1_DE, partly tweaked to match my preferences
- forecast plugin 3.2.19
- pyephem 3.7.6.0
- reboot once per day at around midnight

Everything worked smooth but some problems started after installing the 
forecast plugin. Randomly for a short timespan data from the sensor array 
was missing. The amount of missing data continuously increased from day to 
day. Thus I assumed bad batteries within the sensor array are the problem 
(it worked without any problem for about 2 weeks even for outside 
temperature ~ -10°C). First I tried a reset/resync of my weatherstation. 
Afterwards it worked for 1..2 days, then the gaps increased again (in the 
meantime outside temperature was at +5°C or above). Yesterday the 
connection to the sensor array was more or less completely broken. Thus I 
replaced the orginal rechargeable batteries by standard alkaline batteries 
- immedeately the connection worked smooth again.

Thus: All problems solved (but why do I post that at all)? No, during last 
night again (one small) gap appeared within the data despite new batteries. 
Ok, then I inspected the logfiles from weewx to search for potential 
reasons. I have no real clue about the cause of my problem since there are 
some different kinds of errors:

2..3 times per day
Mär 11 00:02:15 IMURR9 kernel: usb 1-1.3: reset full-speed USB device 
number 4 using dwc_otg

during boot: I wonder that there were never ids be printed from "Found 
device ..." - but the USB connection always works:
Mär 11 07:43:13 IMURR9 weewx[3157]: wh23xx: driver version is 0.14
Mär 11 07:43:13 IMURR9 weewx[3157]: wh23xx: usb info: pyusb_version=1.0.0
Mär 11 07:43:13 IMURR9 weewx[3157]: wh23xx: poll interval is 15
Mär 11 07:43:13 IMURR9 weewx[3157]: wh23xx: Found device on USB bus= device=
Mär 11 07:43:13 IMURR9 kernel: usb 1-1.3: reset full-speed USB device 
number 4 using dwc_otg
Mär 11 07:43:13 IMURR9 weewx[3157]: engine: StdConvert target unit is 0x1
Mär 11 07:43:13 IMURR9 weewx[3157]: wxcalculate: The following values will 
be calculated: barometer=prefer_hardware, windchill=prefer_hardware, 
dewpoint=prefer_hardware, appTemp=prefer_hardware, 
rainRate=prefer_hardware, windrun=prefer_hardware, heatindex=prefer_hardware
Mär 11 07:43:13 IMURR9 weewx[3157]: wxcalculate: The following algorithms 
will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Mär 11 07:43:13 IMURR9 weewx[3157]: engine: Archive will use data binding 
wx_binding
Mär 11 07:43:13 IMURR9 weewx[3157]: engine: Record generation will be 
attempted in 'hardware'
Mär 11 07:43:13 IMURR9 weewx[3157]: engine: Using archive interval of 300 
seconds (specified in weewx configuration)
Mär 11 07:43:13 IMURR9 weewx[3157]: engine: Using binding 'wx_binding' to 
database 'weewx.sdb'
Mär 11 07:43:13 IMURR9 weewx[3157]: manager: Starting backfill of daily 
summaries

sometimes per day
Mär 11 08:17:23 IMURR9 weewx[3157]: wh23xx: get_current: failed attempt 1 
of 5: [Errno 110] Operation timed out
Mär 11 08:17:50 IMURR9 weewx[3157]: wh23xx: get_current: failed attempt 1 
of 5: [Errno 110] Operation timed out
Mär 11 08:18:16 IMURR9 weewx[3157]: wh23xx: get_current: failed attempt 1 
of 5: [Errno 110] Operation timed out
Mär 11 08:18:43 IMURR9 weewx[3157]: wh23xx: get_current: failed attempt 1 
of 5: [Errno 110] Operation timed out
Mär 11 08:19:10 IMURR9 weewx[3157]: wh23xx: get_current: failed attempt 1 
of 5: [Errno 110] Operation timed out
Mär 11 08:19:36 IMURR9 weewx[3157]: wh23xx: get_current: failed attempt 1 
of 5: [Errno 110] Operation timed out
Mär 11 08:20:03 IMURR9 weewx[3157]: wh23xx: get_current: failed attempt 1 
of 5: [Errno 110] Operation timed out

once per day
Mär 11 03:40:30 IMURR9 weewx[532]: cheetahgenerator: Generate failed with 
exception ''
Mär 11 03:40:30 IMURR9 weewx[532]: cheetahgenerator:  Ignoring template 
/etc/weewx/skins/forecast/compact.html.tmpl
Mär 11 03:40:30 IMURR9 weewx[532]: cheetahgenerator:  Reason: database 
is locked
Mär 11 03:40:31 IMURR9 weewx[532]: forecast: WUThread: WU: deleted 
forecasts prior to 1520131228
Mär 11 03:40:31 IMURR9 weewx[532]:   Traceback (most recent call last):
Mär 11 03:40:31 IMURR9 weewx[532]: File 
"/usr/share/weewx/weewx/cheetahgenerator.py", line 330, in generate
Mär 11 03:40:31 IMURR9 weewx[532]:   print >> _file, 
compiled_template