[weewx-user] Looking for reliable weather station -- reliably working with WeeWX

2018-05-15 Thread Max G
I have used the WH3080 and 3081 with the occasional lookup problem, which 
is a known issue with the weather station hardware.

It looks like the hardware had it; as in: I get the "Can't set a number" 
error in the EasyWeatherPlus software, when I want to set the Interval from 
30 to 5 minutes.
>From what I am reading the above error is related to a broken air pressure 
sensor

Given the USB lockup issue, and the issue reported by others, such as solar 
readings, etc. I had it with this unreliable business.

I am prepared to buy another weather station which works well with WeeWx.
Failing that, I dump the lot and and build my own, or simply use the data 
from some nearby wunderground station.

I am not keen on another FineOffset for said issues.

Any hints appreciated.


-- 
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: Looking for reliable weather station -- reliably working with WeeWX

2018-05-15 Thread Max G

>
> Thanks Rich...
>

The Vantage Pro is certainly a good piece of equipment, but costs more than 
I am prepared to spend.
Can certainly live with the Acurite 5+1.

I didn't get the Acurite intercept thing... is it the smart hub... is this 
device required in order to intercept TCP traffic?
Or will WeeWX simply listen to TCP traffic on the network and does its 
magic? with the interceptor driver only?

The Acurite 5+1 is usually 200AUD. But I am not keen to spend another 
130AUD in the smart hub.


 

-- 
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: Looking for reliable weather station -- reliably working with WeeWX

2018-05-16 Thread Max G

>
> :) OK, if I understand you correctly, there is a hardware interface of 
> sort required between the weather station and the computer...
>
I have got a 433MHz dongle... :) what software do you use do decode the 
signal? Where does it run on? Raspberry? 


 

-- 
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: Looking for reliable weather station -- reliably working with WeeWX

2018-05-20 Thread Max G
Thanks guys...

All clear now... as it so happens, my rPi1B had a corrupt SD card today... 
installed WeeWX on another Pi instead of fixing this one.
I also had a second base station, which I now use to continue with the 
WH3080 for the time being.

Given your input and what I researched the Acurite 5+1 in conjunction with 
the SDR sounds like a great solution.
I run loads of sensors on networked Arduinos for my property automation; 
hence air pressure won't be an issue to capture elsewhere.

-- 
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] Which fields/values does WeeWX publish via MQTT?

2018-10-12 Thread Max G
After being unable to find an answer, I am posting here...

Which fields/values does WeeWX publish via MQTT?
Where can I configure this?

I am getting these values (marked with a +) by using the fields provided 
under skins.conf:
... and not getting those marked with -

+ {mqtt="<[mymosquitto:weewx_weather/inTemp_C:state:default]"}
+ {mqtt="<[mymosquitto:weewx_weather/inHumidity:state:default]"}
+ {mqtt="<[mymosquitto:weewx_weather/outTemp_C:state:default]"}
+ {mqtt="<[mymosquitto:weewx_weather/outHumidity:state:default]"}
+ {mqtt="<[mymosquitto:weewx_weather/humidex_C:state:default]"}
- {mqtt="<[mymosquitto:weewx_weather/barometer:state:default]"}
- {mqtt="<[mymosquitto:weewx_weather/radiation:state:default]"}
- {mqtt="<[mymosquitto:weewx_weather/rain:state:default]"}
- {mqtt="<[mymosquitto:weewx_weather/rainRate:state:default]"}
+ {mqtt="<[mymosquitto:weewx_weather/rxCheckPercent:state:default]"}
- {mqtt="<[mymosquitto:weewx_weather/windDir:state:default]"}
{mqtt="<[mymosquitto:weewx_weather/windSpeed:state:default]"}

Any hints appreciated. 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 an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Which fields/values does WeeWX publish via MQTT?

2018-10-12 Thread Max G
Thanks Vince; the FWIW contained the hint I needed.
I then understood how to investigate further...

subscribing to what weewx actually sends:
mosquitto_sub -v -t weewx_weather/#

(showing a subset)
weewx_weather/altimeter_mbar 1023.68869064
weewx_weather/windchill_C 14.8
weewx_weather/appTemp_C 16.0114023019
weewx_weather/outTemp_C 14.8
weewx_weather/windGustDir 202.5

then made it clear what I had actually query.

Thank you! :)


On Saturday, October 13, 2018 at 2:48:27 AM UTC+10, vince wrote:
>
> On Friday, October 12, 2018 at 5:34:48 AM UTC-7, Max G wrote:
>>
>> After being unable to find an answer, I am posting here...
>>
>> Which fields/values does WeeWX publish via MQTT?
>> Where can I configure this?
>>
>>
> It publishes everything it has by default.
> In weewx.conf as always
>
> ...
>
 

> FWIW, I just let it publish everything and only subscribe to topics I care 
> about (specifically, I just grab weather/loop and grab the pieces therein). 
>   I also set append_units_label to False so that 'if' I subscribe to a 
> specific topic, I'll just get the data value.
>
>
>
>

-- 
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] Why are my daily graphs from different dates?

2017-12-09 Thread Max G
When I look at my standard daily graphs, I notice they are not from the 
same date.
How can I troubleshoot this problem?

I installed WeeWX in May; changed the standard template by moving things 
around; e.g. standard stuff to the bottom, info at the top.
It worked ever since, no changes... almost forgot about, and then noticed 
this two days ago.
Restarted the service in the hpe this would fix it.

The current actual values / data is shown on the display, but does not go 
through the stats page.



Any hints appreciated. 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 an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Why are my daily graphs from different dates?

2017-12-09 Thread Max G
Thanks, appreciate the comment; however, this (default y/n) is just a side 
issue, which has nothing to do with the observed reporting. Sorry, my 
mistake to put a second issue into the first.

So the question remains: why would I get graphs from different dates, and 
not all from today; despite the weather station happily displaying updated 
values?

On Sunday, December 10, 2017 at 11:45:32 AM UTC+10, gjr80 wrote:
>
> I suspect the dialog you refer to is a standard dialog used by the python 
> distutils (and/or elsewhere). Probably could be changed but then the users 

-- 
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: Why are my daily graphs from different dates?

2017-12-09 Thread Max G
OK, I start again...

I installed WeeWX in February 2017 with this command:
sudo dpkg -i weewx_X.Y.Z-R_all.deb
sudo apt-get update
sudo apt-get -f install
sudo pip install paho-mqtt
wget 
http://lancet.mit.edu/mwall/projects/weather/releases/weewx-mqtt-0.15.tgz
sudo wee_extension --install weewx-mqtt-0.15.tgz

Hardware is a Raspberry Pi v1B
Station: FineOffset WH3081

Since then all was running well.
A few days ago I noticed that not all graphs are from today, but rather 3-4 
days old... when looking on the standard page:
http://192.168.1.6/weewx/index.html
... please refer to my first post for the image of this page.
My second post contains a section of the log file.

I have not changed anything in the WeeWX config since the first 
installation in Feb...
... other then the odd apt-get update | upgrade
The Raspberry is up 113 days.

Additional info: the graphs not from today (Dec 10, 14:00) are:
out side temp, dew point (Dec 6, 10:25)
outside humidity (Dec 7, 02:24)
wind chill, heat index (Dec 23:05)
UV index (Dec 6, 15:35)


Any hints appreciated...

-- 
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: Why are my daily graphs from different dates?

2017-12-09 Thread Max G

>
> Thanks Gary... didn't see your post... will check the logs, and switch on 
> debug=1;

Have in rebooted the raspberry ... no difference, but then I do not know, 
whether all graphs are updated every 10 minutes; I reckon they are.

Here the normal log since reboot:
Dec 10 14:03:48 rpi1b systemd[1]: Starting Graphical Interface.
Dec 10 14:03:48 rpi1b systemd[1]: Reached target Graphical Interface.
Dec 10 14:03:48 rpi1b systemd[1]: Starting Update UTMP about System 
Runlevel Changes...
Dec 10 14:03:48 rpi1b systemd[1]: Started Update UTMP about System Runlevel 
Changes.
Dec 10 14:03:48 rpi1b systemd[1]: Startup finished in 2.638s (kernel) + 
52.599s (userspace) = 55.237s.
Dec 10 14:04:06 rpi1b weewx[483]: fousb: changing data format from 1080 to 
3080
Dec 10 14:04:07 rpi1b weewx[483]: manager: Added record 2017-12-10 14:04:06 
AEST (1512878646) to database 'weewx.sdb'
Dec 10 14:04:07 rpi1b weewx[483]: manager: Added record 2017-12-10 14:04:06 
AEST (1512878646) to daily summary in 'weewx.sdb'
Dec 10 14:04:08 rpi1b weewx[483]: engine: Starting main packet loop.
Dec 10 14:04:10 rpi1b weewx[483]: fousb: station status {'unknown': 0, 
'lost_connection': 0, 'rain_overflow': 0} (0)
Dec 10 14:06:14 rpi1b weewx[483]: manager: Added record 2017-12-10 14:05:00 
AEST (1512878700) to database 'weewx.sdb'
Dec 10 14:06:14 rpi1b weewx[483]: manager: Added record 2017-12-10 14:05:00 
AEST (1512878700) to daily summary in 'weewx.sdb'
Dec 10 14:06:51 rpi1b weewx[483]: cheetahgenerator: Generated 14 files for 
report StandardReport in 33.66 seconds
Dec 10 14:06:56 rpi1b weewx[483]: imagegenerator: Generated 14 images for 
StandardReport in 4.29 seconds
Dec 10 14:06:56 rpi1b weewx[483]: copygenerator: copied 9 files to 
/var/www/html/weewx
Dec 10 14:10:19 rpi1b weewx[483]: manager: Added record 2017-12-10 14:10:00 
AEST (1512879000) to database 'weewx.sdb'
Dec 10 14:10:19 rpi1b weewx[483]: manager: Added record 2017-12-10 14:10:00 
AEST (1512879000) to daily summary in 'weewx.sdb'
Dec 10 14:10:33 rpi1b weewx[483]: cheetahgenerator: Generated 14 files for 
report StandardReport in 13.00 seconds
Dec 10 14:10:37 rpi1b weewx[483]: imagegenerator: Generated 14 images for 
StandardReport in 4.16 seconds
Dec 10 14:10:37 rpi1b weewx[483]: copygenerator: copied 0 files to 
/var/www/html/weewx
Dec 10 14:15:27 rpi1b weewx[483]: manager: Added record 2017-12-10 14:15:00 
AEST (1512879300) to database 'weewx.sdb'
Dec 10 14:15:27 rpi1b weewx[483]: manager: Added record 2017-12-10 14:15:00 
AEST (1512879300) to daily summary in 'weewx.sdb'
Dec 10 14:15:41 rpi1b weewx[483]: cheetahgenerator: Generated 14 files for 
report StandardReport in 12.65 seconds
Dec 10 14:15:45 rpi1b weewx[483]: imagegenerator: Generated 14 images for 
StandardReport in 4.07 seconds
Dec 10 14:15:45 rpi1b weewx[483]: copygenerator: copied 0 files to 
/var/www/html/weewx
Dec 10 14:17:02 rpi1b CRON[839]: (root) CMD (   cd / && run-parts --report 
/etc/cron.hourly)


-- 
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: Why are my daily graphs from different dates?

2017-12-09 Thread Max G
OK, here are the syslog portions around the times the various graphs did 
not update further:


Dec  5 10:05:56 rpi1b weewx[27154]: manager: Added record 2017-12-05 
10:05:00 AEST (1512432300) to daily summary in 'weewx.sdb'
Dec  5 10:05:56 rpi1b weewx[27154]: restx: MQTT: Published record 
2017-12-05 10:05:00 AEST (1512432300)
Dec  5 10:06:09 rpi1b weewx[27154]: cheetahgenerator: Generated 14 files 
for report StandardReport in 12.39 seconds
Dec  5 10:06:13 rpi1b weewx[27154]: imagegenerator: Generated 14 images for 
StandardReport in 4.03 seconds
Dec  5 10:06:13 rpi1b weewx[27154]: copygenerator: copied 0 files to 
/var/www/html/weewx
Dec  5 10:11:04 rpi1b weewx[27154]: manager: Added record 2017-12-05 
10:10:00 AEST (1512432600) to database 'weewx.sdb'
Dec  5 10:11:04 rpi1b weewx[27154]: manager: Added record 2017-12-05 
10:10:00 AEST (1512432600) to daily summary in 'weewx.sdb'
Dec  5 10:11:05 rpi1b weewx[27154]: restx: MQTT: Published record 
2017-12-05 10:10:00 AEST (1512432600)
Dec  5 10:11:31 rpi1b weewx[27154]: cheetahgenerator: Generated 14 files 
for report StandardReport in 25.36 seconds
Dec  5 10:11:39 rpi1b weewx[27154]: imagegenerator: Generated 14 images for 
StandardReport in 8.25 seconds
Dec  5 10:11:39 rpi1b weewx[27154]: copygenerator: copied 0 files to 
/var/www/html/weewx
Dec  5 10:16:07 rpi1b weewx[27154]: manager: Added record 2017-12-05 
10:15:00 AEST (1512432900) to database 'weewx.sdb'
Dec  5 10:16:07 rpi1b weewx[27154]: manager: Added record 2017-12-05 
10:15:00 AEST (1512432900) to daily summary in 'weewx.sdb'
Dec  5 10:16:08 rpi1b weewx[27154]: restx: MQTT: Published record 
2017-12-05 10:15:00 AEST (1512432900)
Dec  5 10:16:21 rpi1b weewx[27154]: cheetahgenerator: Generated 14 files 
for report StandardReport in 12.36 seconds
Dec  5 10:16:25 rpi1b weewx[27154]: imagegenerator: Generated 14 images for 
StandardReport in 4.01 seconds
Dec  5 10:16:25 rpi1b weewx[27154]: copygenerator: copied 0 files to 
/var/www/html/weewx
Dec  5 10:17:01 rpi1b CRON[28345]: (root) CMD (   cd / && run-parts 
--report /etc/cron.hourly)
Dec  5 10:21:14 rpi1b weewx[27154]: manager: Added record 2017-12-05 
10:20:00 AEST (1512433200) to database 'weewx.sdb'
Dec  5 10:21:14 rpi1b weewx[27154]: manager: Added record 2017-12-05 
10:20:00 AEST (1512433200) to daily summary in 'weewx.sdb'
Dec  5 10:21:16 rpi1b weewx[27154]: restx: MQTT: Published record 
2017-12-05 10:20:00 AEST (1512433200)
Dec  5 10:21:28 rpi1b weewx[27154]: cheetahgenerator: Generated 14 files 
for report StandardReport in 12.40 seconds
Dec  5 10:21:32 rpi1b weewx[27154]: imagegenerator: Generated 14 images for 
StandardReport in 4.02 seconds
Dec  5 10:21:32 rpi1b weewx[27154]: copygenerator: copied 0 files to 
/var/www/html/weewx
Dec  5 10:25:17 rpi1b weewx[27154]: manager: Added record 2017-12-05 
10:25:00 AEST (1512433500) to database 'weewx.sdb'
Dec  5 10:25:17 rpi1b weewx[27154]: manager: Added record 2017-12-05 
10:25:00 AEST (1512433500) to daily summary in 'weewx.sdb'
Dec  5 10:25:18 rpi1b weewx[27154]: restx: MQTT: Published record 
2017-12-05 10:25:00 AEST (1512433500)
Dec  5 10:25:31 rpi1b weewx[27154]: cheetahgenerator: Generated 14 files 
for report StandardReport in 12.67 seconds
Dec  5 10:25:35 rpi1b weewx[27154]: imagegenerator: Generated 14 images for 
StandardReport in 4.16 seconds
Dec  5 10:25:35 rpi1b weewx[27154]: copygenerator: copied 0 files to 
/var/www/html/weewx
Dec  5 10:29:25 rpi1b weewx[27154]: fousb: unstable read: blocks differ for 
ptr 0x006cc0
Dec  5 10:30:26 rpi1b weewx[27154]: manager: Added record 2017-12-05 
10:30:00 AEST (1512433800) to database 'weewx.sdb'
Dec  5 10:30:26 rpi1b weewx[27154]: manager: Added record 2017-12-05 
10:30:00 AEST (1512433800) to daily summary in 'weewx.sdb'
Dec  5 10:30:27 rpi1b weewx[27154]: restx: MQTT: Published record 
2017-12-05 10:30:00 AEST (1512433800)
Dec  5 10:30:40 rpi1b weewx[27154]: cheetahgenerator: Generated 14 files 
for report StandardReport in 12.38 seconds
Dec  5 10:30:44 rpi1b weewx[27154]: imagegenerator: Generated 14 images for 
StandardReport in 4.00 seconds
Dec  5 10:30:44 rpi1b weewx[27154]: copygenerator: copied 0 files to 
/var/www/html/weewx
Dec  5 10:35:29 rpi1b weewx[27154]: manager: Added record 2017-12-05 
10:35:00 AEST (1512434100) to database 'weewx.sdb'
Dec  5 10:35:29 rpi1b weewx[27154]: manager: Added record 2017-12-05 
10:35:00 AEST (1512434100) to daily summary in 'weewx.sdb'
Dec  5 10:35:30 rpi1b weewx[27154]: restx: MQTT: Published record 
2017-12-05 10:35:00 AEST (1512434100)
Dec  5 10:35:42 rpi1b weewx[27154]: cheetahgenerator: Generated 14 files 
for report StandardReport in 12.41 seconds
Dec  5 10:35:46 rpi1b weewx[27154]: imagegenerator: Generated 14 images for 
StandardReport in 4.05 seconds
Dec  5 10:35:46 rpi1b weewx[27154]: copygenerator: copied 0 files to 
/var/www/html/weewx
Dec  5 10:40:44 rpi1b weewx[27154]: fousb: unstable read: blocks differ for 
ptr 0x006ce0
Dec  5 10:40:44 rpi1b weewx[27154]: manager: Added record 

[weewx-user] Re: Why are my daily graphs from different dates?

2017-12-09 Thread Max G
My weewx.conf...

grep -vxE '[[:blank:]]*([#;].*)?' weewx.conf

debug = 0
WEEWX_ROOT = /
socket_timeout = 20
version = 3.8.0
[Station]
location = "Mount Hallen, QLD"
latitude = -27.164855
longitude = 152.701568
altitude = 200, meter
station_type = FineOffsetUSB
rain_year_start = 1
week_start = 6
[FineOffsetUSB]
model = WH3081
polling_interval = 60
driver = weewx.drivers.fousb
[StdRESTful]
[[StationRegistry]]
register_this_station = false
[[AWEKAS]]
enable = false
username = replace_me
password = replace_me
[[CWOP]]
enable = false
station = replace_me
[[PWSweather]]
enable = false
station = replace_me
password = replace_me
[[WOW]]
enable = false
station = replace_me
password = replace_me
[[Wunderground]]
enable = false
station = replace_me
password = replace_me
rapidfire = False
[StdReport]
SKIN_ROOT = /etc/weewx/skins
HTML_ROOT = /var/www/html/weewx
data_binding = wx_binding
[[StandardReport]]
skin = Standard
[[[Units]]]
Groups
group_altitude = meter
group_speed2 = meter_per_second2
group_pressure = mbar
group_rain = mm
group_rainrate = mm_per_hour
group_temperature = degree_C
group_degree_day = degree_C_day
group_speed = meter_per_second
[[FTP]]
skin = Ftp
secure_ftp = False
port = 21
passive = 1
[[RSYNC]]
skin = Rsync
delete = 0
[StdConvert]
target_unit = US# Options are 'US', 'METRICWX', or 'METRIC'
[StdCalibrate]
[[Corrections]]
foo = foo + 0.2
[StdQC]
[[MinMax]]
barometer = 26, 32.5, inHg
outTemp = -40, 120, degree_F
inTemp = 10, 120, degree_F
outHumidity = 0, 100
inHumidity = 0, 100
windSpeed = 0, 120, mile_per_hour
pressure = 24, 34.5, inHg
[StdWXCalculate]
[[Calculations]]
pressure = prefer_hardware
barometer = prefer_hardware
altimeter = prefer_hardware
windchill = prefer_hardware
heatindex = prefer_hardware
dewpoint = prefer_hardware
inDewpoint = prefer_hardware
rainRate = prefer_hardware
[StdTimeSynch]
clock_check = 14400
max_drift = 5
[StdArchive]
archive_interval = 300
record_generation = software
loop_hilo = True
data_binding = wx_binding
[DataBindings]
[[wx_binding]]
database = archive_sqlite
table_name = archive
manager = weewx.wxmanager.WXDaySummaryManager
schema = schemas.wview.schema
[Databases]
[[archive_sqlite]]
database_type = SQLite
database_name = weewx.sdb
[[archive_mysql]]
database_type = MySQL
database_name = weewx
[DatabaseTypes]
[[SQLite]]
driver = weedb.sqlite
SQLITE_ROOT = /var/lib/weewx
[[MySQL]]
driver = weedb.mysql
host = localhost
user = weewx
password = weewx
[Engine]
[[Services]]
prep_services = weewx.engine.StdTimeSynch
data_services = ,
process_services = weewx.engine.StdConvert, 
weewx.engine.StdCalibrate, weewx.engine.StdQC, 
weewx.wxservices.StdWXCalculate
archive_services = weewx.engine.StdArchive
restful_services = weewx.restx.StdStationRegistry, 
weewx.restx.StdWunderground, weewx.restx.StdPWSweather, 
weewx.restx.StdCWOP, weewx.restx.StdWOW, weewx.restx.StdAWEKAS
report_services = weewx.engine.StdPrint, weewx.engine.StdReport

-- 
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: Why are my daily graphs from different dates?

2017-12-09 Thread Max G
syslog with debug=1

Dec 10 14:53:02 rpi1b weewx[1240]: engine: Finished loading service 
weewx.restx.StdAWEKAS
Dec 10 14:53:02 rpi1b weewx[1240]: engine: Loading service 
weewx.engine.StdPrint
Dec 10 14:53:02 rpi1b weewx[1240]: engine: Finished loading service 
weewx.engine.StdPrint
Dec 10 14:53:02 rpi1b weewx[1240]: engine: Loading service 
weewx.engine.StdReport
Dec 10 14:53:02 rpi1b weewx[1240]: engine: Finished loading service 
weewx.engine.StdReport
Dec 10 14:53:02 rpi1b weewx[1240]: engine: Starting up weewx version 3.8.0
Dec 10 14:53:02 rpi1b weewx[1240]: engine: Station does not support reading 
the time
Dec 10 14:53:03 rpi1b weewx[1240]: fousb: get 3263 records since 2017-12-10 
04:52:30
Dec 10 14:53:03 rpi1b weewx[1240]: fousb: synchronising to the weather 
station (quality=1)
Dec 10 14:53:04 rpi1b weewx[1240]: fousb: status {'unknown': 0, 
'lost_connection': 0, 'rain_overflow': 0} (0)
Dec 10 14:53:22 rpi1b weewx[1240]: fousb: new data
Dec 10 14:53:22 rpi1b weewx[1240]: fousb: setting sensor clock 34.9207
Dec 10 14:53:22 rpi1b weewx[1240]: fousb: live synchronised
Dec 10 14:53:22 rpi1b weewx[1240]: fousb: packet timestamp is 04:53:22
Dec 10 14:53:22 rpi1b weewx[1240]: fousb: avoid 2.99252986908
Dec 10 14:54:06 rpi1b weewx[1240]: fousb: changing data format from 1080 to 
3080
Dec 10 14:54:06 rpi1b weewx[1240]: fousb: new ptr: 00e0fc (00e0e8)
Dec 10 14:54:06 rpi1b weewx[1240]: fousb: setting station clock 6.72347
Dec 10 14:54:06 rpi1b weewx[1240]: fousb: log synchronised
Dec 10 14:54:06 rpi1b weewx[1240]: fousb: packet timestamp is 04:54:06
Dec 10 14:54:06 rpi1b weewx[1240]: fousb: synchronised to 2017-12-10 
04:54:06 for ptr 0xe0e8
Dec 10 14:54:06 rpi1b weewx[1240]: fousb: found 1 archive records
Dec 10 14:54:06 rpi1b weewx[1240]: fousb: returning archive record 
1512881646
Dec 10 14:54:07 rpi1b weewx[1240]: manager: Added record 2017-12-10 
14:54:06 AEST (1512881646) to database 'weewx.sdb'
Dec 10 14:54:07 rpi1b weewx[1240]: manager: Added record 2017-12-10 
14:54:06 AEST (1512881646) to daily summary in 'weewx.sdb'
Dec 10 14:54:07 rpi1b weewx[1240]: engine: Starting main packet loop.
Dec 10 14:54:07 rpi1b weewx[1240]: fousb: avoid 1.78823208809
Dec 10 14:54:09 rpi1b weewx[1240]: fousb: avoid 4.18950986862
Dec 10 14:54:14 rpi1b weewx[1240]: fousb: station status {'unknown': 0, 
'lost_connection': 0, 'rain_overflow': 0} (0)
Dec 10 14:55:14 rpi1b weewx[1240]: manager: Added record 2017-12-10 
14:55:00 AEST (1512881700) to database 'weewx.sdb'
Dec 10 14:55:14 rpi1b weewx[1240]: manager: Added record 2017-12-10 
14:55:00 AEST (1512881700) to daily summary in 'weewx.sdb'
Dec 10 14:55:15 rpi1b weewx[1240]: reportengine: Running reports for latest 
time in the database.
Dec 10 14:55:15 rpi1b weewx[1240]: reportengine: Running report 
StandardReport
Dec 10 14:55:15 rpi1b weewx[1240]: reportengine: Found configuration file 
/etc/weewx/skins/Standard/skin.conf for report StandardReport
Dec 10 14:55:16 rpi1b weewx[1240]: cheetahgenerator: using search list 
['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
Dec 10 14:55:16 rpi1b weewx[1240]: manager: Daily summary version is 1.0
Dec 10 14:55:43 rpi1b weewx[1240]: cheetahgenerator: Generated 14 files for 
report StandardReport in 27.28 seconds
Dec 10 14:55:44 rpi1b weewx[1240]: manager: Daily summary version is 1.0
Dec 10 14:55:48 rpi1b weewx[1240]: imagegenerator: Generated 14 images for 
StandardReport in 4.25 seconds
Dec 10 14:55:48 rpi1b weewx[1240]: copygenerator: copied 9 files to 
/var/www/html/weewx
Dec 10 14:55:48 rpi1b weewx[1240]: reportengine: Running report FTP
Dec 10 14:55:48 rpi1b weewx[1240]: reportengine: Found configuration file 
/etc/weewx/skins/Ftp/skin.conf for report FTP
Dec 10 14:55:48 rpi1b weewx[1240]: ftpgenerator: FTP upload not requested. 
Skipped.
Dec 10 14:55:48 rpi1b weewx[1240]: reportengine: Running report RSYNC
Dec 10 14:55:48 rpi1b weewx[1240]: reportengine: Found configuration file 
/etc/weewx/skins/Rsync/skin.conf for report RSYNC
Dec 10 14:55:48 rpi1b weewx[1240]: rsyncgenerator: rsync upload not 
requested. Skipped.

Dec 10 15:00:17 rpi1b weewx[1240]: manager: Added record 2017-12-10 
15:00:00 AEST (1512882000) to database 'weewx.sdb'
Dec 10 15:00:17 rpi1b weewx[1240]: manager: Added record 2017-12-10 
15:00:00 AEST (1512882000) to daily summary in 'weewx.sdb'
Dec 10 15:00:18 rpi1b weewx[1240]: reportengine: Running reports for latest 
time in the database.
Dec 10 15:00:18 rpi1b weewx[1240]: reportengine: Running report 
StandardReport
Dec 10 15:00:18 rpi1b weewx[1240]: reportengine: Found configuration file 
/etc/weewx/skins/Standard/skin.conf for report StandardReport
Dec 10 15:00:19 rpi1b weewx[1240]: cheetahgenerator: using search list 
['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.S

[weewx-user] Re: Why are my daily graphs from different dates?

2017-12-09 Thread Max G
I also did not modify any config files...

# [2017-12-10 15:21] maxg@rpi1b /etc/weewx/skins/Standard $
la
total 256
drwxr-xr-x 6 root root  4096 Dec 10 09:22 .
drwxr-xr-x 5 root root  4096 Feb 14  2017 ..
drwxr-xr-x 2 root root  4096 Dec 10 09:22 backgrounds
-rw-r--r-- 1 root root  1150 Nov  9  2016 favicon.ico
-rw-r--r-- 1 root root 20855 Feb 22  2017 index.html.tmpl
-rw-r--r-- 1 root root 20156 Feb 17  2017 index.html.tmpl.bak
-rw-r--r-- 1 root root 19518 Mar 12  2017 index.html.tmpl.dpkg-dist
-rw-r--r-- 1 root root 19797 Mar  1  2017 index.html.tmpl.save
-rw-r--r-- 1 root root   564 Nov  9  2016 mobile.css
-rw-r--r-- 1 root root  2600 Nov  9  2016 mobile.html.tmpl
-rw-r--r-- 1 root root 14167 Mar 12  2017 month.html.tmpl
drwxr-xr-x 2 root root  4096 Dec 10 09:22 NOAA
drwxr-xr-x 2 root root  4096 Dec 10 09:22 RSS
-rw-r--r-- 1 root root 23356 Feb 17  2017 skin.conf
-rw-r--r-- 1 root root 22889 Nov 22 23:36 skin.conf.dpkg-dist
-rw-r--r-- 1 root root 22828 Feb 17  2017 skin.conf.org
drwxr-xr-x 3 root root  4096 Dec 10 09:22 smartphone
-rw-r--r-- 1 root root  6959 Mar 12  2017 statistics-a.inc~
-rw-r--r-- 1 root root  6300 Mar 12  2017 statistics-b.inc~
-rw-r--r-- 1 root root 14144 Mar 12  2017 week.html.tmpl
-rw-r--r-- 1 root root  3533 Nov  9  2016 weewx.css
-rw-r--r-- 1 root root  9587 Mar 12  2017 year.html.tmpl

I have no clue what to look for...

-- 
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: Why are my daily graphs from different dates?

2017-12-09 Thread Max G
I assume you mean the file in /var/www/html/weewx

# [2017-12-10 16:55] maxg@rpi1b /var/www/html/weewx $
la
total 324
drwxr-xr-x 6 root root  4096 Dec 10 16:50 .
drwxr-xr-x 3 root root  4096 Feb 14  2017 ..
drwxr-xr-x 2 root root  4096 Feb 14  2017 backgrounds
-rw-r--r-- 1 root root  2807 Dec 10 16:50 daybarometer.png
-rw-r--r-- 1 root root  3028 Dec 10 16:50 dayhumidityinside.png
-rw-r--r-- 1 root root  2617 Dec 10 16:50 dayhumidityoutside.png
-rw-r--r-- 1 root root  2981 Dec 10 16:50 dayinside.png
-rw-r--r-- 1 root root  1707 Dec 10 16:50 daypond.png
-rw-r--r-- 1 root root  3063 Dec 10 16:50 dayradiation.png
-rw-r--r-- 1 root root  1922 Dec 10 16:50 dayrain.png
-rw-r--r-- 1 root root  1819 Dec 10 16:50 dayrx.png
-rw-r--r-- 1 root root  3186 Dec 10 16:50 daytempchill.png
-rw-r--r-- 1 root root  3867 Dec 10 16:50 daytempdew.png
-rw-r--r-- 1 root root  2039 Dec 10 16:50 dayuv.png
-rw-r--r-- 1 root root  3104 Dec 10 16:50 daywinddir.png
-rw-r--r-- 1 root root  4023 Dec 10 16:50 daywind.png
-rw-r--r-- 1 root root  3576 Dec 10 16:50 daywindvec.png
-rw-r--r-- 1 root root  1150 Dec 10 15:51 favicon.ico
-rw-r--r-- 1 root root 12699 Dec 10 16:50 index.html

Looks like the images are being generated...

It looks more and more like an update issue... .conf file changed?!
I noticed that my weewx.conf did not contain the mqtt section I had 
initially installed.

I have forgotten, which config file says what graphs to include. I do 
remember that I wanted the odd graph more, and did configure something. 
Would this be the index.html.tmpl file? But then why show them with an old 
date? I expect if the config file has changed is would not show them (the 
missing/old ones) at all.

-- 
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: Why are my daily graphs from different dates?

2017-12-09 Thread Max G
The last bit might be nonsense...
The .html and .png files are being generated; also those which have an old 
date.

Where does WeeWX get the date from it puts in the graph?
Is this the result of a query in the database, where the last time stamp is 
the date.
But this makes no sense; the query would be like show data between today() 
and today()-7 days... then the 6th oops is till in there; so next week, I 
may not see these graphs, as such a query would not produce a recordset??


On Sunday, December 10, 2017 at 5:03:18 PM UTC+10, Max G wrote:
>
>
> I have forgotten, which config file says what graphs to include. I do 
> remember that I wanted the odd graph more, and did configure something. 
> Would this be the index.html.tmpl file? But then why show them with an old 
> date? I expect if the config file has changed is would not show them (the 
> missing/old ones) at all.
>

-- 
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: Why are my daily graphs from different dates?

2017-12-09 Thread Max G
Nonsense again...
I am looking at daily graphs, not weekly ... so why does it show old stuff 
then?

-- 
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: Why are my daily graphs from different dates?

2017-12-09 Thread Max G
Well Andrew, you fixed it!

Thank you very much!!
this was it... loaded the index.html in a different browser, which never 
had these files; all there, latest files.





Thank you all for bearing with me.

In any case, the last update, and this must have been my fault, changed 
some conf file, which I have fixed now, by comparing it to an older version 
and updating it accordingly.

-- 
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: Why are my daily graphs from different dates?

2017-12-10 Thread Max G
After some thinking on how to fix this...

I am using squid3 on the network...

Modifying the squid.conf, like so, fixes this issue:

acl local_server dst 192.168.1.0/24
cache deny local_server


-- 
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] First import: most values out of range...

2017-02-14 Thread Max G
Well... I have just installed jessie on a Pi1 model B.
Installed the weewx package (apt-get), and answered the config questions; 
standard unit selection was metric; no other changes.
The weather station is FineOffset W3081 (though 4 years old)

I have stopped the weewx service and started it 

sudo weewxd /etc/weewx/weewx.conf

Initially nothing happened on that console, so I opened another terminal and 
checked the syslog; but then the weewx console showed records it seemed to be 
importing.

Most if not all records seem to exceed the range; like so:

Feb 14 22:56:18 rpi1b weewx[3670]: manager: added record 2017-01-25 15:54:25 
AEST (1485323665) to database 'weewx.sdb'
Feb 14 22:56:18 rpi1b weewx[3670]: manager: added record 2017-01-25 15:54:25 
AEST (1485323665) to daily summary in 'weewx.sdb'
Feb 14 22:56:19 rpi1b weewx[3670]: fousb: ignoring spurious rain counter 
decrement (None): new: 7.44 old: 38.7
Feb 14 22:56:19 rpi1b weewx[3670]: engine: 2017-01-25 16:04:25 AEST 
(1485324265) Archive value 'pressure' 7.5596768 outside limits (24.0, 34.5)
Feb 14 22:56:19 rpi1b weewx[3670]: engine: 2017-01-25 16:04:25 AEST 
(1485324265) Archive value 'outTemp' 142.52 outside limits (-40.0, 120.0)
Feb 14 22:56:19 rpi1b weewx[3670]: manager: added record 2017-01-25 16:04:25 
AEST (1485324265) to database 'weewx.sdb'
Feb 14 22:56:19 rpi1b weewx[3670]: manager: added record 2017-01-25 16:04:25 
AEST (1485324265) to daily summary in 'weewx.sdb'
Feb 14 22:56:20 rpi1b weewx[3670]: manager: added record 2017-01-25 16:34:25 
AEST (1485326065) to database 'weewx.sdb'
Feb 14 22:56:20 rpi1b weewx[3670]: manager: added record 2017-01-25 16:34:25 
AEST (1485326065) to daily summary in 'weewx.sdb'
Feb 14 22:56:21 rpi1b weewx[3670]: engine: 2017-01-25 16:34:25 AEST 
(1485326065) Archive value 'pressure' 49.8968198788 outside limits (24.0, 34.5)
Feb 14 22:56:21 rpi1b weewx[3670]: engine: 2017-01-25 16:34:25 AEST 
(1485326065) Archive value 'outTemp' 964.94 outside limits (-40.0, 120.0)
Feb 14 22:56:21 rpi1b weewx[3670]: engine: 2017-01-25 16:34:25 AEST 
(1485326065) Archive value 'windSpeed' 859.880447885 outside limits (0.0, 120.0)
Feb 14 22:56:21 rpi1b weewx[3670]: engine: 2017-01-25 16:34:25 AEST 
(1485326065) Archive value 'inHumidity' 138.0 outside limits (0.0, 100.0)
Feb 14 22:56:21 rpi1b weewx[3670]: manager: unable to add record 2017-01-25 
16:34:25 AEST (1485326065) to database 'weewx.sdb': UNIQUE constraint failed: 
archive.dateTime
Feb 14 22:56:21 rpi1b weewx[3670]: fousb: ignoring spurious rain counter 
decrement (None): new: 7.92 old: 130.98
Feb 14 22:56:21 rpi1b weewx[3670]: engine: 2017-01-25 16:36:25 AEST 
(1485326185) Archive value 'pressure' 7.5596768 outside limits (24.0, 34.5)
Feb 14 22:56:21 rpi1b weewx[3670]: engine: 2017-01-25 16:36:25 AEST 
(1485326185) Archive value 'outHumidity' 192.0 outside limits (0.0, 100.0)
Feb 14 22:56:21 rpi1b weewx[3670]: engine: 2017-01-25 16:36:25 AEST 
(1485326185) Archive value 'outTemp' 199.94 outside limits (-40.0, 120.0)
Feb 14 22:56:21 rpi1b weewx[3670]: manager: added record 2017-01-25 16:36:25 
AEST (1485326185) to database 'weewx.sdb'
Feb 14 22:56:21 rpi1b weewx[3670]: manager: added record 2017-01-25 16:36:25 
AEST (1485326185) to daily summary in 'weewx.sdb'

Where would I look for the problem?
Any hints appreciated.


-- 
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: First import: most values out of range...

2017-02-14 Thread Max G
Thank you kindly for your quick reply...

I just made the change and syslog shows manager added record to database 
and summary... meaning, I think it is working.
the console shows: REC ... REC... seems to read form the weather station 
basedon the datum...

Very nice...

I am glad we are still human... error found, problem solved, we both should 
be happy :)
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] wh3081 singal drops out every 24 hours for 1 hour-ish

2017-03-12 Thread Max G



This is not a WeeWX issue!

I thought I post on this forum due to the audience being very familiar with 
this weather station.

I had a wh3081 for four years, until the radiation sensor died a while ago. 
It was working perfectly.
I replaced it with the same model, and put the external unit where the 
previous station was mounted.
All good for a couple of days, when all of a sudden, around 15:00 each day, 
the signal goes to zero.
As a side effect, when it comes back, it may send a false rain gauge 
signal; e.g. 30mm or 800mm per hour.

It can't be the battery or solar panel charger, as the unit happily sends 
data for the other 23 hours of the day.

One theory is: The unit sits in the sun, and enters shade around that 
time... maybe it got all heated up, and when cooling down, the change in 
temperature triggers a micro crack or cold solder point to come into play.

Any other creative theories or experiences to find the problem?

My approach was:
a) to put the batteries from the old unit into the new one; but, since the 
battery seems to work fine for the other 23 hours; I gave this idea a miss.
b) Pull the station down and look for cold solder points.

Is there a 433MHz receiver I could use to see if the station sends a signal?
Yes, it has a LED, which I think should blink when it sends, but then I do 
not want to stand on the ladder and wait for it :)

Any hints appreciated. 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 an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: wh3081 singal drops out every 24 hours for 1 hour-ish

2017-03-14 Thread Max G
Taking a closer look, I figured the problem is temperature dependent... in 
other words, one the sun hit it for a few hours, and it gets shade, it 
drops for out for 1.5 hours... maybe a cold solder point... looks like I 
have to rip this ting apart :(

-- 
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] Importing old station data via CSV: how to map time?

2017-03-14 Thread Max G
I am trying to import data from my previous FineOffset 3081

How do I have to map the time field?

#No,Time,Interval(mi),Indoor Humidity(%),Indoor Temperature(°C),Outdoor 
Humidity(%),Outdoor Temperature(°C),Absolute 
Pressure(hPa),Wind(km/h),Gust(km/h),Direction,Relative 
Pressure(hPa),Dewpoint(°C),Windchill(°C),Hour Rainfall(mm),24 hour 
Rainfall(mm),Week Rainfall(mm),Month Rainfall(mm),Total Rainfall(mm),Wind 
Level(bft),Gust Level(bft),lightmeter(lux),UV
#1,16-02-2017 
09:00,10,57,28.8,64,26.2,993.1,2.5,5.0,NW,1012.0,18.9,26.2,0.0,0.0,0.0,0.9,654.0,1,1,86352.0,0
#2,16-02-2017 
13:46,10,57,28.4,64,26.5,993.0,5.0,8.6,N,1010.6,19.2,26.5,0.0,0.0,0.0,0.9,654.0,1,2,148704.0,0
#3,16-02-2017 
13:56,10,57,28.4,57,28.7,992.9,1.1,3.6,N,1010.5,19.4,28.7,0.0,0.0,0.0,0.9,654.0,1,1,96896.0,0

[[FieldMap]]
dateTime= Time
usUnits = 
interval= 10
barometer   = Relative Pressure(hPa), hPa
pressure= Absolute Pressure(hPa), hPa
altimeter   = 
inTemp  = Indoor Temperature(°C), degree_C
outTemp = Outdoor Temperature(°C), degree_C
inHumidity  = Indoor Humidity(%), percent
outHumidity = Outdoor Humidity(%), percent
windSpeed   = Wind(km/h), km_per_hour
windDir = Direction, compass
windGust= Gust(km/h), km_per_hour
windGustDir = Direction, compass
rainRate= 
rain= Rainfall(mm), mm
dewpoint= 
windchill   = 
heatindex   = 
ET  = 
radiation   = lightmeter(lux), lux
UV  = UV


raw_datetime_format = %d-%m-%Y %H:%M

So, should dateTime = Time, raw_date_time_format?
Tried, does not work.

I get this outcome:

wee_import --import-config=/home/maxg/wwimport/csv.conf --dry-run
Starting wee_import...
A CSV import from source file '/home/maxg/wwimport/test4import.txt' has 
been requested.
Using database binding 'wx_binding', which is bound to database 'weewx.sdb'
Destination table 'archive' unit system is '0x01' (US).
Missing derived observations will be calculated.
This is a dry run, imported data will not be saved to archive.
 Unable to map source data.
 Field '1' not found in source data.
 Nothing done, exiting.


Also, what is the unit for WindDir?


Any hints appreciated; 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 an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Importing old station data via CSV: how to map time?

2017-03-14 Thread Max G
Read on this forum, that dateTime does not need a unit. Fine

However, running the following config against the sample data, here:

#No,Time,Interval(mi),Indoor Humidity(%),Indoor Temperature(°C),Outdoor 
Humidity(%),Outdoor Temperature(°C),Absolute 
Pressure(hPa),Wind(km/h),Gust(km/h),Direction,Relative 
Pressure(hPa),Dewpoint(°C),Windchill(°C),Hour Rainfall(mm),24 hour 
Rainfall(mm),Week Rainfall(mm),Month Rainfall(mm),Total Rainfall(mm),Wind 
Level(bft),Gust Level(bft),lightmeter(lux),UV
#1,16-02-2017 
09:00,10,57,28.8,64,26.2,993.1,2.5,5.0,NW,1012.0,18.9,26.2,0.0,0.0,0.0,0.9,654.0,1,1,86352.0,0
#2,16-02-2017 
13:46,10,57,28.4,64,26.5,993.0,5.0,8.6,N,1010.6,19.2,26.5,0.0,0.0,0.0,0.9,654.0,1,2,148704.0,0
#3,16-02-2017 
13:56,10,57,28.4,57,28.7,992.9,1.1,3.6,N,1010.5,19.4,28.7,0.0,0.0,0.0,0.9,654.0,1,1,96896.0,0

[[FieldMap]]
dateTime= Time
usUnits = 
interval= 10
barometer   = Relative Pressure(hPa), hPa
pressure= Absolute Pressure(hPa), hPa
altimeter   = 
inTemp  = Indoor Temperature(°C), degree_C
outTemp = Outdoor Temperature(°C), degree_C
inHumidity  = Indoor Humidity(%), percent
outHumidity = Outdoor Humidity(%), percent
windSpeed   = Wind(km/h), km_per_hour
windDir = Direction, compass
windGust= Gust(km/h), km_per_hour
windGustDir = Direction, compass
rainRate= 
rain= Rainfall(mm), mm
dewpoint= 
windchill   = 
heatindex   = 
ET  = 
radiation   = lightmeter(lux), lux
UV  = UV


I get this error:
wee_import --import-config=/home/maxg/wwimport/csv.conf --dry-run
Starting wee_import...
Traceback (most recent call last):
  File "/usr/bin/wee_import", line 703, in 
main()
  File "/usr/bin/wee_import", line 652, in main
wlog)
  File "/usr/share/weewx/weeimport/weeimport.py", line 315, in sourceFactory
log)
  File "/usr/share/weewx/weeimport/csvimport.py", line 49, in __init__
log)
  File "/usr/share/weewx/weeimport/weeimport.py", line 183, in __init__
self.import_QC = weewx.qc.QC(config_dict, parent='weeimport')
  File "/usr/share/weewx/weewx/qc.py", line 49, in __init__
minval = converter.convert(vt)[0]
  File "/usr/share/weewx/weewx/units.py", line 762, in convert
new_val_t = convert(val_t, new_unit_type)
  File "/usr/share/weewx/weewx/units.py", line 1079, in convert
conversion_func = conversionDict[val_t[1]][target_unit_type]
KeyError: 'inch'


No idea how to solve this?! :(

-- 
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: Importing old station data via CSV: how to map time?

2017-03-15 Thread Max G
Hi Gary,

Thank you kindly for checking this out for me...
I think the thread and your response is important, as many have these 3081 
weather stations...

Well, I copied your field map straight into the config file:

source = CSV
file = /home/maxg/wwimport/test4import.txt
interval = 10
qc = True
calc_missing = True
tranche = 250
UV_sensor = True
solar_sensor = True
raw_datetime_format = %d-%m-%Y %H:%M
rain = discrete
wind_direction = -360,360

# test4import.txt:
#No,Time,Interval(mi),Indoor Humidity(%),Indoor Temperature(°C),Outdoor 
Humidity(%),Outdoor Temperature(°C),Absolute 
Pressure(hPa),Wind(km/h),Gust(km/h),Direction,Relative 
Pressure(hPa),Dewpoint(°C),Windchill(°C),Hour Rainfall(mm),24 hour 
Rainfall(mm),Week Rainfall(mm),Month Rainfall(mm),Total Rainfall(mm),Wind 
Level(bft),Gust Level(bft),lightmeter(lux),UV
#1,16-02-2017 
09:00,10,57,28.8,64,26.2,993.1,2.5,5.0,NW,1012.0,18.9,26.2,0.0,0.0,0.0,0.9,654.0,1,1,86352.0,0
#2,16-02-2017 
13:46,10,57,28.4,64,26.5,993.0,5.0,8.6,N,1010.6,19.2,26.5,0.0,0.0,0.0,0.9,654.0,1,2,148704.0,0
#3,16-02-2017 
13:56,10,57,28.4,57,28.7,992.9,1.1,3.6,N,1010.5,19.4,28.7,0.0,0.0,0.0,0.9,654.0,1,1,96896.0,0

[[FieldMap]]
dateTime= Time
usUnits =
interval= Interval(mi), minute
barometer   = Relative Pressure(hPa), hPa
pressure= Absolute Pressure(hPa), hPa
altimeter   =
inTemp  = Indoor Temperature(°C), degree_C
outTemp = Outdoor Temperature(°C), degree_C
inHumidity  = Indoor Humidity(%), percent
outHumidity = Outdoor Humidity(%), percent
windSpeed   = Wind(km/h), km_per_hour
windDir =
windGust= Gust(km/h), km_per_hour
windGustDir =
rainRate=
rain= Total Rainfall(mm), mm
dewpoint= Dewpoint(°C), degree_C
windchill   = Windchill(°C), degree_C
heatindex   =
ET  =
radiation   =
UV  = UV, uv_index



and got the following result (failure):

wee_import --import-config=/home/maxg/wwimport/csv.conf --dry-run
Starting wee_import...
A CSV import from source file '/home/maxg/wwimport/test4import.txt' has 
been requested.
Using database binding 'wx_binding', which is bound to database 'weewx.sdb'
Destination table 'archive' unit system is '0x01' (US).
Missing derived observations will be calculated.
This is a dry run, imported data will not be saved to archive.
 Unable to parse source-to-weewx field map.
 No mapping specified in '/home/maxg/wwimport/csv.conf' for field 
'dateTime'.
 Nothing done, exiting.


then I thought, you might be using the latest versions... so I upgraded to 
3.7, and get this (success):

# [2017-03-16 11:02] maxg@rpi1b ~ $
wee_import --import-config=/home/maxg/wwimport/csv.conf --dry-run
Starting wee_import...
A CSV import from source file '/home/maxg/wwimport/test4import.txt' has 
been requested.
Using database binding 'wx_binding', which is bound to database 'weewx.sdb'
Destination table 'archive' unit system is '0x01' (US).
Missing derived observations will be calculated.
This is a dry run, imported data will not be saved to archive.
Starting dry run import ...
3 records identified for import.
Records processed: 3; Unique records: 3; Last timestamp: 2017-02-16 13:56:00 
AEST (1487217360)
Finished dry run import. 3 records were processed and 3 unique records 
would have been imported.



-- 
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] Question: FineOffset; if I reboot the station and do not set a date/time

2017-03-24 Thread Max G
I have the FineOffset base station having this look-up problem every 4th 
day or so.

I was wondering: how does WeeWX know, whether it has already read a record 
of the station?

I am asking, because I want to auto-bounce the base station, by 
disconnecting the 5V from the USB cable (through GPIO pin and some script 
watching the log file) -- and as the base station has currently no 
batteries in it, the date and time will default to something in the past.

So far, I have changed the date/time on the station to the actual datum... 
but thought, whether I could avoid it by just bouncing the base station and 
WeeWX would know which record to import since the base station experienced 
the USB Lockup.




-- 
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: Question: FineOffset; if I reboot the station and do not set a date/time

2017-03-26 Thread Max G
My suspicion is: if I do not enter the date / time on the weather base 
station, WeeWX does not know from when this record is...
Can someone confirm this, please?

-- 
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: Question: FineOffset; if I reboot the station and do not set a date/time

2017-03-28 Thread Max G
Thank you for your reply...

It is clear now... had seen the info before, but forgot where :(

It is sad that a special USB hub is required to switch the power; but great 
that WeeWX has a solution built in.

The "cut the power ro the rPi" solution is an overkill, and I wonder why 
the 5V in the USB chord is not interrupted instead. Not a WeeWX problem at 
all... I might check weather I can cron a job to trip a GPIO pin to trigger 
a NC contact on a relay or transistor...

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