[weewx-user] How to backup weewx data and restore it after a new OS installation

2017-02-10 Thread Rakesh R
I'm running Weewx in a raspberry pi for past 1 year.
My SD card is showing some problems, so i want to replace it with a new 
16gb SD card.
Meaning... i'll install a fresh copy of Raspbian and Weewx.
How to backup the present Weewx db and everything then restore it on my 
fresh OS. ??

Please guide.
Thanks
Rakesh

-- 
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 data loop error with new Acurite 02064C

2017-02-10 Thread Kelly Hewitt

>
> Acurite 02064C weewx LOOP error on Ubuntu 14.04 LTS

Failed attempt 1 of 10 to get LOOP data: error sending control message: 
Protocol error 

I've had issues with this for about 13 months. It most often occurs when 
the weewx host reboots, the Acurite display unit will then have USB 
protocol issues for several hours until the acurite.py script effectively 
regains connection with the display unit. I don't like gaps in data and 
this has plagued me for a year. 

Tested:

   1. Ferrite on the USB cable - No effect
   2. Reset the display console - No effect
   3. New USB cable (x2) - No effect
   4. CRON usb script task to reset the USB connection every 4 hours - no 
   effect
   5. Start the weewx host then plug in the display - no effect
   6. Plug in the display then start the weewx host - no effect
   

*The only quick solution I've found is to unplug the display from the weewx 
host and connect it to a Windows machine with the Acurite Connect software 
and allow it to complete a data dump, unplug it, then plug the display USB 
into the weewx host.*

After plugging it back into the weewx host and watching the ubuntu syslog 
(sudo tail -f /var/log/syslog) it will indicate after a few attempts that 
the USB connection is active and receiving data in +/- 5 minutes.

This suggests the USB controller in the display device is getting reset 
with the Acurite Connect software - outside the scope of what weewx 
currently has access to. It's unfortunate there isn't a method to reset the 
display device USB connection remotely.

*If someone has the ability to decompose the Acurite Connect software and 
find out how it is resetting the USB controller on the display device that 
would be very much appreciated.*


*Acurite Connect Software 
*

-- 
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: Repeat degree and wind labels in forecast multiple strips

2017-02-10 Thread Dan'l B
On Friday, February 10, 2017 at 12:16:21 PM UTC-5, mwall wrote:
>
> On Friday, February 10, 2017 at 10:52:36 AM UTC-5, Dan'l B wrote:
>>
>> And: can someone tell me what the [object Object] is in the attached 
>> screen capture?
>>
>
> fixed in forecast 3.2.14
>

Thanks Matthew, works. 

-- 
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] Sum of cold hours per day

2017-02-10 Thread Thomas Keffer
weewx cannot do the aggregation type "min_le" for an "hour" time span. Nor
has it ever been able to.

 $day.outTemp.min_le($HorasFrio).nolabel($Count,$NONE) $day.outTemp.max_ge($
HorasCalor).nolabel($Count,$NONE)$hour.outTemp.min_le($
HorasFrio).nolabel($Count,$NONE) $hour.outTemp.max_ge($
HorasCalor).nolabel($Count,$NONE)

 $month.outTemp.min_le($HorasFrio) $month.outTemp.max_ge($HorasCalor) $hour
.outTemp.min_le($HorasFrio) $hour.outTemp.max_ge($HorasCalor)

-tk

On Fri, Feb 10, 2017 at 10:05 AM, Alejandro Guzmán  wrote:

> Hello im Alejandro from mexico,
>
> I am working on a Summation of cold hours in NOAA report but with the last
> modification weewx no longer generates the report.
>
> These are the lines that adds
>
>  $day.outTemp.min_le($HorasFrio).nolabel($Count,$NONE)
> $day.outTemp.max_ge($HorasCalor).nolabel($Count,$
> NONE)$hour.outTemp.min_le($HorasFrio).nolabel($Count,$NONE)
> $hour.outTemp.max_ge($HorasCalor).nolabel($Count,$NONE)
>
>  $month.outTemp.min_le($HorasFrio) $month.outTemp.max_ge($HorasCalor)
> $hour.outTemp.min_le($HorasFrio) $hour.outTemp.max_ge($HorasCalor)
>
>
> regards!!
>
>
> --
> 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: Current Windspeed in Beaufort ? Bft?

2017-02-10 Thread Eelco F
I do have a question on this.

I noticed that as of weewx 3.2 there is a beaufort calculation in 
Stdwxcalculate, right?

Now how do I get beaufort values in my reports? Until now I used javascript 
too, but it should be possible directly from weewx?

Ef

Op zondag 16 maart 2014 09:08:27 UTC+1 schreef Ronald Wildner:
>
> I am wondering if there is any hint to display current WindSpeed in 
> Beaufort !
> I used google and the search -function, but could not find anything 
> adequate ;-)
>

-- 
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] Sum of cold hours per day

2017-02-10 Thread Alejandro Guzmán
Hello im Alejandro from mexico,

I am working on a Summation of cold hours in NOAA report but with the last 
modification weewx no longer generates the report.

These are the lines that adds

 $day.outTemp.min_le($HorasFrio).nolabel($Count,$NONE) 
$day.outTemp.max_ge($HorasCalor).nolabel($Count,$NONE)$hour.outTemp.min_le($HorasFrio).nolabel($Count,$NONE)
 
$hour.outTemp.max_ge($HorasCalor).nolabel($Count,$NONE)

 $month.outTemp.min_le($HorasFrio) $month.outTemp.max_ge($HorasCalor) 
$hour.outTemp.min_le($HorasFrio) $hour.outTemp.max_ge($HorasCalor)


regards!!


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


NOAA--MM.txt.tmpl
Description: Binary data


[weewx-user] Re: Repeat degree and wind labels in forecast multiple strips

2017-02-10 Thread mwall
On Friday, February 10, 2017 at 10:52:36 AM UTC-5, Dan'l B wrote:
>
> Is it me, or is it correct that the ° and wind speed labels repeat 
> (left/start side) in the strip forecasts?
>
 
the three temperature rows are maximum, expected value, and minimum.  in 
the screenshot you posted you can see a max at 19h.  some forecasts have 
max and min for every period.

the two wind speed rows are speed and gust.

And: can someone tell me what the [object Object] is in the attached screen 
> capture?
>

the [object Object] is a bug.  i fixed it awhile ago, but that 'fix' ended 
up removing the tide indicators.

m 

-- 
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] Repeat degree and wind labels in forecast multiple strips

2017-02-10 Thread Dan'l B
Is it me, or is it correct that the ° and wind speed labels repeat 
(left/start side) in the strip forecasts?

http://suiattle.net/DinkinsBayouWeather/osx-test/forecast/multiple-strips.html

And: can someone tell me what the [object Object] is in the attached screen 
capture?

weewx-forecast-3.2.13
weewx: 3.6.2 with Simulator and exfoliation 0.40


-- 
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: Pi users: your additional software for Raspberry Pi3?

2017-02-10 Thread Steve
Not really Bill, although the raw cpm can vary a bit, the average always 
looks flat.

You can see my data as cpm or equivalent dosage here on the uradmonitor 
website: http://www.uradmonitor.com/?open=1161

Following the uradmonitor forum sometimes shows some interesting readings. 
Here's a thread with some readings after myocardial perfusion 
scans 
http://www.uradmonitor.com/topic/510c-high-but-exponential-declining-readings/

Some how I managed to write a php file that runs via cron every 5 minutes 
and parses the json data from my monitor and write it to a MySQL database 
and read / display it here http://wotid.dyndns.org/solarhtml/radiation.php

I spent a bunch of coin on some python books (learning, programming, pocket 
reference by Lutz) & have access to the WeeWx fileparse example but have 
yet tried to incorporate my radiation data into WeeWx so I can have the 
results displayed alongside my weather data to see if there are any 
correlations between the two. :( I'm a slacker.

Regards,

Steve.

On Saturday, 11 February 2017 00:05:53 UTC+11, Bill Morrow wrote:
>
> Steve, do you ever see any remarkable gamma radiation?
>
> On Wednesday, 18 January 2017 00:03:12 UTC-4, Steve wrote:
>>
>> My radiation monitor is a model D from here http://www.uradmonitor.com/ 
>> as well as the unit reporting to the global map, I have a cron job that 
>> runs every 5 minutes that grabs the data from the unit and writes it to a 
>> MySQL database.
>>
>> I still use the bridge with the WeatherSleuth but WeeWx gets the data via 
>> the local network rather than the bridge sending it to Weather Underground 
>> (this was configurable via the html setup pages the bridge can serve).
>>
>> Regards,
>>
>> Steve.
>>
>>
>>
>> On Wednesday, 18 January 2017 07:55:37 UTC+11, pon...@gmail.com wrote:
>>>
>>> ramlog is ANOTHER great tip. Many thanks! (very interesting waffle)
>>>
>>> Another optimised Pi-Weewx installation add-on I use and forgot about 
>>> earlier: Pulseway  
>>>
>>> Alas, I didn't think to get a Pi compatible electricity monitoring 
>>> solution; just bought an off the shelf thing (Owl Intuition) that sends 
>>> data to a web site w very basic display and no graphing.
>>>
>>> Gamma radiation? I live on top of granite rock that gives off radon and 
>>> I need to get the house remediated -- readings were over 800 (200 is bad). 
>>> It was built before that was the law here. I'd monitor it if there was an 
>>> instrument. 
>>>
>>> I looked up the Aercus WeatherSleuth and it seems to come with an 
>>> Observer unit. Did you ditch that in favour of the Pi or what?
>>>
>>>

-- 
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: forecast extension NWS error

2017-02-10 Thread Pete Geenhuizen

Matt,
Thanks for the quick fix, worked like a charm, appreciate it.
Pete


On 02/09/17 19:50, mwall wrote:

pete,

please update to forecast 3.2.13

there must have been something about the forecast on 7 feb, because 
the current forecast for RAH/NCZ041 is not causing the problem.


i did some minor refactoring and added some logging, so if it happens 
again you'll get a log message and the forecast service will not crap out.


the log message is "NWS: mode unset for label 'xxx'" where xxx is the 
label in the nws forecast that is causing the problem.


m


--
Unencumbered by the thought process.
 -- Click and Clack the Tappet brothers

--
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] No configuration for device 'driver' when running wee_device

2017-02-10 Thread Russell Seymour
Tom,

Thanks very much, that fixed it.

Russell

On Thursday, 9 February 2017 13:38:30 UTC, Tom Keffer wrote:
>
> Your missing a line in your configuration file. It should be:
>
> [FineOffsetUSB]
> model = WH1080
> polling_mode = ADAPTIVE
> driver = weewx.drivers.fousb
>
> -tk
>
>
> On Thu, Feb 9, 2017 at 5:12 AM, Russell Seymour <
> russell...@turtlesystems.co.uk > wrote:
>
>> I have just rebuilt my Raspberry PI device and am in the process of 
>> putting weewx back on.
>>
>> I have a Maplin Weather Station so I am using the FineOffsetUSB driver.
>>
>> Here are the relevant parts of the configuration file:
>>
>> [Station]
>>
>> station_type = FineOffsetUSB
>>
>> [FineOffsetUSB]
>>
>> model = WH1080
>> polling_mode = ADAPTIVE
>>
>>
>>
>> When I run `wee_device --help` I get the following error message:
>>
>> Using configuration file /etc/weewx/weewx.conf
>> No configuration for device 'driver'
>>
>> To see if I could get more information  I ran `weewxd` as root and I got 
>> the following stack trace:
>>
>> Traceback (most recent call last):
>>   File "/usr/bin/weewxd", line 64, in 
>> weewx.engine.main(options, args)
>>   File "/usr/share/weewx/weewx/engine.py", line 841, in main
>> engine = engine_class(config_dict)
>>   File "/usr/share/weewx/weewx/engine.py", line 70, in __init__
>> self.setupStation(config_dict)
>>   File "/usr/share/weewx/weewx/engine.py", line 88, in setupStation
>> driver = config_dict[stationType]['driver']
>>   File "/usr/local/lib/python2.7/dist-packages/configobj.py", line 554, 
>> in __getitem__
>> val = dict.__getitem__(self, key)
>> KeyError: 'driver'
>>
>> I am pretty sure that the configuration file is correct, but am very 
>> happy to be corrected.
>>
>>  - weewx version = 3.6.2-1
>>  - raspbian version = 8
>>  - python version = 2.7.9
>>
>> Does anyone have any ideas on what this might be?  Happy to provide more 
>> information if required, although there are no logs being generated so 
>> would need some advice on what extra information and how to gather it.
>>
>> Thanks, Russell
>>
>>
>> -- 
>> 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.