Re: [weewx-user] Re: Using an extra channel as outside tempurature and humidity with my WMR968

2019-01-17 Thread Stephen Emert
Wow, I am reviving an old one but I face the same issue. My original 
Channel 1 humidity sensor died and there are no reliable replacements to be 
found. So I purchased an add-on outdoor temp & humidity sensor. So I need 
channel 2 to be the default to send data to Weather Underground. I am also 
making the move from Cumulus on a Windows Home Server V1 to weewx on a 
Raspberry PI, so I am a bit in the weeds. Looks like it is just a matter to 
modify the driver file to change the mappings for the channels. John, did 
you solve this problem by chance?

On Saturday, November 22, 2014 at 2:51:25 PM UTC-6, John Trostel wrote:
>
> Hacking about with the skins has let me show the outside temperature...  
> Any idea how to send it correctly to Wunderground?
>
>
> John Trostel
> jtro...@gmail.com 
>
> On Sat, Nov 22, 2014 at 1:41 PM, mwall  > wrote:
>
>> On Saturday, November 22, 2014 1:26:23 PM UTC-5, John Trostel wrote:
>>>
>>> I'm seeing the outside data when I run weewx directly as extraHumid1 and 
>>> extraTemp1.  Is there a place to make that display on the local webpage?
>>>
>>
>> you must modify the skin to display additional observations.
>>
>> as an example, consider the Standard skin.  in skins/Standard/skin.conf 
>> you tell weewx to include extraTemp1 and extraHumid1 in plots.  for 
>> example, if you want extraTemp1 in the same plot as outTemp and dewpoint, 
>> then change this:
>>
>> [[[daytempdew]]]
>> outTemp
>> dewpoint
>>
>> to this:
>>
>> [[[daytempdew]]]
>> outTemp
>> extraTemp1
>> dewpoint
>>
>> similarly for humidity.
>>
>> to display current readings, modify skins/Standard/index.html.tmpl.  for 
>> example, change this:
>>
>>   
>> Outside Temperature
>> $current.outTemp
>>   
>>
>> to this:
>>
>>   
>> Outside Temperature
>> $current.outTemp
>>   
>>   
>> Extra Temperature
>> $current.extraTemp1
>>   
>>
>> see the Labels section in skin.conf to assign a label to extraTemp1.  
>> the customizing guide describes these things in much greater detail.
>>
>> m 
>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "weewx-user" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/weewx-user/WxuyI4DoakM/unsubscribe.
>> To unsubscribe from this group and all its topics, 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] Re: RPI and Saving Files to NAS

2019-01-17 Thread Tom Robertson
I read about using systemd and actually tried what I found on the internet but 
still no luck. I read about using systemd-networkd-wait-online.service as well.

Could you perhaps give details about your setup so I can try them? I am a 
fairly new at Linux.

Tom


From: weewx-user@googlegroups.com  on behalf of 
vk3...@gmail.com 
Sent: Thursday, January 17, 2019 8:07 PM
To: weewx-user
Subject: [weewx-user] Re: RPI and Saving Files to NAS

I have Weewx running on a RPi (zero, also used 3B+) that connects to my 
Synology NAS via WiFi.The entire Weewx folder lives on the NAS so that the data 
base and regularly generated files all live on storage that is not so prone to 
wearing out.
I also use systemd to make sure that the network is up and the NAS drive is 
mounted before it tries to start Weewx.
Worked nicely and has done for a couple of years now.
(I also use a memory drive for the log files - in theory the SD card has very 
minimal writes to it.)
Susan

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


Re: [weewx-user] Re: RPI and Saving Files to NAS

2019-01-17 Thread Tom Robertson
Thanks.  I tried this but the RPI still would not boot.

Tom


From: weewx-user@googlegroups.com  on behalf of 
vk3...@gmail.com 
Sent: Thursday, January 17, 2019 8:10 PM
To: weewx-user
Subject: [weewx-user] Re: RPI and Saving Files to NAS

The entry to the drive (whichis the root for weewx) is:
x.x.x.x:/volume1/weewx/home/weewx   nfs   
defaults,nofail,noatime,nolock,intr   0   0

Of course the first part is the reference to the NAS folder

Susan

--
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: RPI and Saving Files to NAS

2019-01-17 Thread vk3anz
The entry to the drive (whichis the root for weewx) is:
x.x.x.x:/volume1/weewx/home/weewx   nfs  
 defaults,nofail,noatime,nolock,intr   0   0

Of course the first part is the reference to the NAS folder

Susan

-- 
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: RPI and Saving Files to NAS

2019-01-17 Thread vk3anz
I have Weewx running on a RPi (zero, also used 3B+) that connects to my 
Synology NAS via WiFi.The entire Weewx folder lives on the NAS so that the 
data base and regularly generated files all live on storage that is not so 
prone to wearing out.
I also use systemd to make sure that the network is up and the NAS drive is 
mounted before it tries to start Weewx.
Worked nicely and has done for a couple of years now.
(I also use a memory drive for the log files - in theory the SD card has 
very minimal writes to it.)
Susan

-- 
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] RPI and Saving Files to NAS

2019-01-17 Thread nineback
I have my laptop running Linux and weewx set up to store the archive folder 
and the public_html folder on my Synology NAS.  I have entered the lines 
into the fstab to have the NAS mounted when the laptop boots up.

I have tried different combinations of fstab with my RPI and the RPI will 
not boot.  I can mount the NAS folders from the command line once the RPI 
boots.

I've tried googling without success.  

I thought it would be as easy as transferring my Ubuntu fstab to the RPI.  
Boy was I mistaken.

Anyone had success putting your files on a nas using an RPI?

Thanks.

Tom

-- 
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: Problem with rtl_433 driver Bresser 5-in-1 and sensor mapping

2019-01-17 Thread mercurystorm
Bresser 5-in-1 was not supported when I purchased mine and had to write my 
own code

On Thursday, 17 January 2019 11:55:25 UTC, U G wrote:
>
> Thats odd... my Class of sdr.py looks totally different to yours:
>
> (ignore the # in front of the lines)
>
> @staticmethod
> #def parse_json(obj):
> #pkt = dict()
> #pkt['dateTime'] = Packet.parse_time(obj.get('time'))
> #pkt['usUnits'] = weewx.METRICWX
> #pkt['station_id'] = obj.get('id')
> #pkt['temperature'] = Packet.get_float(obj, 'temperature_C')
> #pkt['humidity'] = Packet.get_float(obj, 'humidity')
> #pkt['wind_gust'] = Packet.get_float(obj, 'gust_speed') 
> #pkt['wind_speed'] = Packet.get_float(obj, 'wind_speed')  
> #pkt['wind_dir'] = Packet.get_float(obj, 'wind_dir')
> #   pkt['rain_total'] = Packet.get_float(obj, 'rain_mm')
> #pkt['uv'] = Packet.get_float(obj, 'uv')
> #pkt['uv_index'] = Packet.get_float(obj, 'uvi')
> #return Bresser5in1Packet.insert_ids(pkt)
>
> vs. your
>
>  PARSEINFO = {
>
> #   'Msg type': ['msg_type', None, None],
> 'StationID': ['station_id', None, None],
> 'Temperature': ['temperature', re.compile('([\d.-]+) C'), lambda 
> x: float(x)],
> 'Humidity': ['humidity', re.compile('([\d.]+) %'), lambda x: 
> float(x)],
> 'Wind Gust': ['wind_gust', None, lambda x: float(x)],
> 'Wind Speed': ['wind_speed', None, lambda x: float(x)],
> 'Direction': ['wind_dir', None, lambda x: int(x)],
> 'Rain': ['rain_total', None, lambda x: float(x)]} 
>
> Is yours from the official repository or did you develop this yourself?
>
> Cheers,
>
> UG
>
>
> Am Do., 17. Jan. 2019 um 01:22 Uhr schrieb mercurystorm <
> mercur...@gmail.com >:
>
>>
>> Output in debug log 
>>
>>> Jan 17 00:18:51 raspberrypi weewx[1066]: sdr: MainThread: 
 lines=['{"time" : "2019-01-17 00:18:48", "model" : "Bresser-5in1", "id" : 
 118, "temperature_C" : 5.200, "humidity" : 95, "wind_gust" : 1.400, 
 "wind_speed" : 1.700, "wind_dir_deg" : 337.500, "rain_mm" : 37.600, "data" 
 : "df897feb0fe8efadff6a89ecff20768014f01710520095761300", "mic" : 
 "CHECKSUM"}\n']

 Jan 17 00:18:51 raspberrypi weewx[1066]: sdr: MainThread: 
 packet={'outHumidity': 95.0, 'dateTime': 1547684328, 'windDir': 337.5, 
 'outTemp': 5.2, 'windSpeed': 1.7, 'windGust': 1.4, 'rain_total': 37.6, 
 'usUnits': 17}

>>>
>> weewx.conf
>>
>> [SDR]
>>
>> # This section is for the software-defined radio driver.
>>
>>
>> # The driver to use
>>
>> driver = user.sdr
>>
>> cmd = /usr/local/bin/rtl_433 -f 868.3M -R 119 -F json
>>
>>
>> [[sensor_map]]
>>
>> outTemp = temperature.118.Bresser5in1Packet
>>
>> outHumidity = humidity.118.Bresser5in1Packet
>>
>> windSpeed = wind_speed.118.Bresser5in1Packet
>>
>> windDir = wind_dir.118.Bresser5in1Packet
>>
>> windGust = wind_gust.118.Bresser5in1Packet
>>
>> rain_total = rain_total.118.Bresser5in1Packet
>>
>> log_unknown_sensors = True
>>
>> log_unmapped_sensors = True
>>
>>
>> [[deltas]]
>> rain = rain_total
>>
>> sdr.py
>>
>> class Bresser5in1Packet(Packet):
>>
>> # '{"time" : "2018-12-15 16:39:52", "model" : "Bresser-5in1", "id" : 
>> 118, "temperature_C" : 6.200, "humidity" : 88, "wind_gust" : 1.400, 
>> "wind_speed" : 1.500, "wind_dir_deg" : 67.500, "rain_mm" : 10.800, "data" : 
>> "ea897febcfeaef9dff77f7feff15768014301510620088080100", "mic" : 
>> "CHECKSUM"}#012'  
>>
>> IDENTIFIER = "Bresser-5in1"
>>
>> PARSEINFO = {
>>
>> #   'Msg type': ['msg_type', None, None],
>>
>> 'StationID': ['station_id', None, None],
>>
>> 'Temperature': ['temperature', re.compile('([\d.-]+) C'), 
>> lambda x: float(x)],
>>
>> 'Humidity': ['humidity', re.compile('([\d.]+) %'), lambda x: 
>> float(x)],
>>
>> 'Wind Gust': ['wind_gust', None, lambda x: float(x)],
>>
>> 'Wind Speed': ['wind_speed', None, lambda x: float(x)],
>>
>> 'Direction': ['wind_dir', None, lambda x: int(x)],
>> 'Rain': ['rain_total', None, lambda x: float(x)]} 
>>
>>
>> and its all working perfectly on https://stormy.ie/weather
>>
>> -- 
>> 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 is not generating a Website

2019-01-17 Thread Thomas Keffer
You're not giving us much to go on. One thing to check is whether HTML_ROOT
in weewx.conf matches where your webserver expects to find HTML files.

-tk

On Thu, Jan 17, 2019 at 12:10 PM 'Johannes Ebner' via weewx-user <
weewx-user@googlegroups.com> wrote:

> Dear all,
>
> Weewx is driving me crazy. I got it working with my WH3080 (WS3083) with
> FineOffsetUSB. After a couple days I have broken the config by playing
> around with skins aso...
>
> So I tried to do a reinstallation of my RPI:
>
> *) Installed latest Raspbian Jessie Lite
> *) Enabled WLAN and SSH
> *) Installed PIP
> *) Added key and sourcelist
> *) Installed NGINX
> *) Installed weewx
>
> Nginx is up and running.
>
> Weewx should create the weewx directory under /var/www/html/ but this is
> not happening.
>
> syslog doesnt show any error messages...
>
> Br,
> Johannes
>
> --
> 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] Weewx is not generating a Website

2019-01-17 Thread 'Johannes Ebner' via weewx-user
Dear all, 

Weewx is driving me crazy. I got it working with my WH3080 (WS3083) with 
FineOffsetUSB. After a couple days I have broken the config by playing 
around with skins aso...

So I tried to do a reinstallation of my RPI:

*) Installed latest Raspbian Jessie Lite
*) Enabled WLAN and SSH
*) Installed PIP
*) Added key and sourcelist
*) Installed NGINX
*) Installed weewx

Nginx is up and running.

Weewx should create the weewx directory under /var/www/html/ but this is 
not happening.

syslog doesnt show any error messages...

Br,
Johannes

-- 
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: use Weewx on raspberry

2019-01-17 Thread Patrick Tranchant
hello PAT,
yes, watch the result; and I counted the number of tips, it corresponds.

Measuring wind direction for 5 seconds...
Measuring wind direction for 5 seconds...
INSERT INTO WEATHER_MEASUREMENT (AMBIENT_TEMPERATURE, GROUND_TEMPERATURE, 
AIR_QUALITY, AIR_PRESSURE, HUMIDITY, WIND_DIRECTION, WIND_SPEED, 
WIND_GUST_SPEED, RAINFALL, CREATED) VALUES(21.07, 17.81, 0, 1000.03, 40.2, 
180.0, 1.2, 1.44, 0.84, 2019-01-17 20:08:48);

Wind direction: 180.0 / Wind speed: 1.2010937033204496 / Wind gust: 
1.4413124439845395 / Rainfall: 0.8382 / Humidity: 40.19593080947323 / 
Pressure: 1000.0261784837883 / Ambient Temperature: 21.07133923138026 / 
Ground Temperature: 17.812;

Measuring wind direction for 5 seconds...

Patrick

On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote:
>
> hello I am a newbie from France ( sorry for my english )
>
> I want to use weewx on a raspberry with a weather station built by myself 
> (view on Magpi)
> I don't see my station on your website to configure :
>
> Weather Station Hardware Comparison: I don't found my weather station.
> Do you have a solution or how to configure Weewx
>
> thank you for your help
>
> Patrick
>

-- 
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: use Weewx on raspberry

2019-01-17 Thread Pat
If you stop weewx and open the Python script that you created, does the 
rain work?

On Thursday, January 17, 2019 at 1:00:27 PM UTC-5, Patrick Tranchant wrote:
>
>
> hello Gary,
> for the rain: I put an LED on the connection of the rain gauge, like that 
> with each passage in front of the magnet the Led lights up (verification of 
> the wiring), but the rain_count remains with zero.
> I have the impression (but I'm not a programmer) that the problem is the 
> same as wind_count  are not you in my opinion?
> I search with my means, by doing a small program just for the rain ... 
> it's not won for me.
>
> Patrick
>
> On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote:
>>
>> hello I am a newbie from France ( sorry for my english )
>>
>> I want to use weewx on a raspberry with a weather station built by myself 
>> (view on Magpi)
>> I don't see my station on your website to configure :
>>
>> Weather Station Hardware Comparison: I don't found my weather station.
>> Do you have a solution or how to configure Weewx
>>
>> thank you for your help
>>
>> Patrick
>>
>

-- 
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: use Weewx on raspberry

2019-01-17 Thread Patrick Tranchant

hello Gary,
for the rain: I put an LED on the connection of the rain gauge, like that 
with each passage in front of the magnet the Led lights up (verification of 
the wiring), but the rain_count remains with zero.
I have the impression (but I'm not a programmer) that the problem is the 
same as wind_count  are not you in my opinion?
I search with my means, by doing a small program just for the rain ... it's 
not won for me.

Patrick

On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote:
>
> hello I am a newbie from France ( sorry for my english )
>
> I want to use weewx on a raspberry with a weather station built by myself 
> (view on Magpi)
> I don't see my station on your website to configure :
>
> Weather Station Hardware Comparison: I don't found my weather station.
> Do you have a solution or how to configure Weewx
>
> thank you for your help
>
> Patrick
>

-- 
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: Can weeWX link with an SQLite3 Database?

2019-01-17 Thread V. Kelly Bellis
Thank you for the reply, Tom. 

Atmocom's UDP broadcast listener and parser will capture broadcast packets 
(currently only in WU data format) containing weather data sent from the 
Ambient Weather WS-2000 (in my test example), gets passed along by ATMOCOM 
to WU (again, in this beta scenario) and then logs each record in a monthly 
SQLite database, which in in my first experiments are on the RPi running 
the aforecited atmoudp36.bin. 

If interested, more on that here: 
https://github.com/atmocom/python3-udp#installing-and-running-atmoudp36bin-standalone-executable-for-raspberry-pi

Kind regards,

Kelly

On Thursday, January 17, 2019 at 12:07:37 PM UTC-5, V. Kelly Bellis wrote:
>
> Hello,
>
> New to all of this weather data business; please excuse my stupid 
> questions.
>
> I'm currently beta testing Atmocom, a device best described as a special 
> purpose wireless router. It connects your WiFi enabled weather station to 
> your regular home or business network wireless router and the Internet. Any 
> network traffic that passes through will be forwarded to its original 
> destination while also being replicated and forwarded (using UDP) to a user 
> configurable alternate destination. In my current case, that's a RPi 3B+ 
> running Raspbian: /home/pi/atmocom/wxdb 
>
> The database is in the SQLite3 format produced by atmoudp36.bin which is 
> a standalone executable for Raspberry PI using Python 3. I've begun 
> browsing the http://weewx.com/docs/usersguide.htm and see that Python 3 
> will not work as an environment for weeWX, but wondered if the database in 
> SQLite3 might still be of any use in weeWX?
>
> Thanks!
>
> Kind regards,
>
> Kelly
>

-- 
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] Can weeWX link with an SQLite3 Database?

2019-01-17 Thread Thomas Keffer
I'm not sure what you're asking.

WeeWX already uses Sqlite3 --- it's the default database, although, of
course, it uses its own schema, probably quite different from the one in
Atmocom.

-tk



On Thu, Jan 17, 2019 at 9:07 AM V. Kelly Bellis 
wrote:

> Hello,
>
> New to all of this weather data business; please excuse my stupid
> questions.
>
> I'm currently beta testing Atmocom, a device best described as a special
> purpose wireless router. It connects your WiFi enabled weather station to
> your regular home or business network wireless router and the Internet. Any
> network traffic that passes through will be forwarded to its original
> destination while also being replicated and forwarded (using UDP) to a user
> configurable alternate destination. In my current case, that's a RPi 3B+
> running Raspbian: /home/pi/atmocom/wxdb
>
> The database is in the SQLite3 format produced by atmoudp36.bin which is
> a standalone executable for Raspberry PI using Python 3. I've begun
> browsing the http://weewx.com/docs/usersguide.htm and see that Python 3
> will not work as an environment for weeWX, but wondered if the database in
> SQLite3 might still be of any use in weeWX?
>
> Thanks!
>
> Kind regards,
>
> Kelly
>
> --
> 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] Can weeWX link with an SQLite3 Database?

2019-01-17 Thread V. Kelly Bellis
Hello,

New to all of this weather data business; please excuse my stupid questions.

I'm currently beta testing Atmocom, a device best described as a special 
purpose wireless router. It connects your WiFi enabled weather station to 
your regular home or business network wireless router and the Internet. Any 
network traffic that passes through will be forwarded to its original 
destination while also being replicated and forwarded (using UDP) to a user 
configurable alternate destination. In my current case, that's a RPi 3B+ 
running Raspbian: /home/pi/atmocom/wxdb 

The database is in the SQLite3 format produced by atmoudp36.bin which is a 
standalone executable for Raspberry PI using Python 3. I've begun browsing 
the http://weewx.com/docs/usersguide.htm and see that Python 3 will not 
work as an environment for weeWX, but wondered if the database in SQLite3 
might still be of any use in weeWX?

Thanks!

Kind regards,

Kelly

-- 
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 is not updating the Webpage (Standard Skin)

2019-01-17 Thread vince
On Thursday, January 17, 2019 at 6:56:23 AM UTC-8, Johannes Ebner wrote:

>
> Now I noticed that I get the correct site with values when I add 
> "/reports" to the url... 
>   
>
 
>

Your weewx.conf is defining one place to put the HTML files it generates, 
and your webserver configuration is assuming something different.   You 
'probably' need to change your HTML_ROOT definition in weewx.conf 

-- 
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 is not updating the Webpage (Standard Skin)

2019-01-17 Thread 'Johannes Ebner' via weewx-user


Am Donnerstag, 17. Januar 2019 13:08:00 UTC+1 schrieb gjr80:
>
> Hi,
>
> Could be any one of a number of things, we are going to need to see the 
> log. I suggest you edit weewx.conf, set debug = 1, save weewx.conf and 
> restart weeWX. Let weeWX run for at least two archive periods and then post 
> the log from when you restarted weeWX and covering the two archive periods.
>
> Gary
>

Maybe I found the issue: As I am running weewx on a Raspberry I followed 
the following instruction:

https://jackstromberg.com/2018/06/setting-up-weewx-with-a-raspberry-pi/

On Point Number 10 the steps should reduce the disk IO.

Now I noticed that I get the correct site with values when I add "/reports" 
to the url... 
 

-- 
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 is not updating the Webpage (Standard Skin)

2019-01-17 Thread 'Johannes Ebner' via weewx-user


Am Donnerstag, 17. Januar 2019 13:08:00 UTC+1 schrieb gjr80:
>
> Hi,
>
> Could be any one of a number of things, we are going to need to see the 
> log. I suggest you edit weewx.conf, set debug = 1, save weewx.conf and 
> restart weeWX. Let weeWX run for at least two archive periods and then post 
> the log from when you restarted weeWX and covering the two archive periods.
>
> Gary
>

Here you go.

 

-- 
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.
pi@weewx:/var/www/html/weewx $ tail -f /var/log/syslog
Jan 17 14:34:56 weewx weewx[5818]: engine: Finished loading service 
weewx.engine.StdPrint
Jan 17 14:34:56 weewx weewx[5818]: engine: Loading service 
weewx.engine.StdReport
Jan 17 14:34:56 weewx weewx[5818]: engine: Finished loading service 
weewx.engine.StdReport
Jan 17 14:34:56 weewx weewx[5818]: engine: Starting up weewx version 3.8.2
Jan 17 14:34:56 weewx weewx[5818]: engine: Station does not support reading the 
time
Jan 17 14:34:56 weewx weewx[5818]: manager: Daily summary version is 2.0
Jan 17 14:34:56 weewx weewx[5818]: manager: Daily summary version is 2.0
Jan 17 14:34:56 weewx weewx[5818]: fousb: get 243 records since 2019-01-17 
13:33:30
Jan 17 14:34:56 weewx weewx[5818]: fousb: synchronising to the weather station 
(quality=1)
Jan 17 14:34:57 weewx weewx[5818]: fousb: status {'unknown': 0, 
'lost_connection': 0, 'rain_overflow': 0} (0)
Jan 17 14:35:13 weewx weewx[5818]: fousb: changing data format from 1080 to 3080
Jan 17 14:35:13 weewx weewx[5818]: fousb: new ptr: 0026bc (0026a8)
Jan 17 14:35:13 weewx weewx[5818]: fousb: setting station clock 13.088
Jan 17 14:35:13 weewx weewx[5818]: fousb: log synchronised
Jan 17 14:35:13 weewx weewx[5818]: fousb: packet timestamp is 13:35:13
Jan 17 14:35:13 weewx weewx[5818]: fousb: synchronised to 2019-01-17 13:35:13 
for ptr 0x26a8
Jan 17 14:35:13 weewx weewx[5818]: fousb: avoid 2.90530180931
Jan 17 14:35:16 weewx weewx[5818]: fousb: found 2 archive records
Jan 17 14:35:16 weewx weewx[5818]: fousb: returning archive record 1547732053
Jan 17 14:35:16 weewx weewx[5818]: manager: Added record 2019-01-17 14:34:13 
CET (1547732053) to database 'weewx.sdb'
Jan 17 14:35:16 weewx weewx[5818]: manager: Added record 2019-01-17 14:34:13 
CET (1547732053) to daily summary in 'weewx.sdb'
Jan 17 14:35:17 weewx weewx[5818]: fousb: returning archive record 1547732113
Jan 17 14:35:17 weewx weewx[5818]: restx: MQTT: Published record 2019-01-17 
14:34:13 CET (1547732053)
Jan 17 14:35:17 weewx weewx[5818]: manager: Added record 2019-01-17 14:35:13 
CET (1547732113) to database 'weewx.sdb'
Jan 17 14:35:17 weewx weewx[5818]: manager: Added record 2019-01-17 14:35:13 
CET (1547732113) to daily summary in 'weewx.sdb'
Jan 17 14:35:17 weewx weewx[5818]: restx: Wunderground-PWS: Published record 
2019-01-17 14:34:13 CET (1547732053)
Jan 17 14:35:19 weewx weewx[5818]: engine: Starting main packet loop.
Jan 17 14:35:19 weewx weewx[5818]: restx: MQTT: Published record 2019-01-17 
14:35:13 CET (1547732113)
Jan 17 14:35:19 weewx weewx[5818]: fousb: station status {'unknown': 0, 
'lost_connection': 0, 'rain_overflow': 0} (0)
Jan 17 14:35:19 weewx weewx[5818]: restx: Wunderground-PWS: Published record 
2019-01-17 14:35:13 CET (1547732113)
Jan 17 14:36:19 weewx weewx[5818]: manager: Added record 2019-01-17 14:36:00 
CET (1547732160) to database 'weewx.sdb'
Jan 17 14:36:19 weewx weewx[5818]: manager: Added record 2019-01-17 14:36:00 
CET (1547732160) to daily summary in 'weewx.sdb'
Jan 17 14:36:20 weewx weewx[5818]: reportengine: Running reports for latest 
time in the database.
Jan 17 14:36:20 weewx weewx[5818]: reportengine: Running report StandardReport
Jan 17 14:36:20 weewx weewx[5818]: reportengine: Found configuration file 
/etc/weewx/skins/Standard/skin.conf for report StandardReport
Jan 17 14:36:21 weewx weewx[5818]: cheetahgenerator: using search list 
['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
Jan 17 14:36:21 weewx weewx[5818]: restx: MQTT: Published record 2019-01-17 
14:36:00 CET (1547732160)
Jan 17 14:36:21 weewx weewx[5818]: manager: Daily summary version is 2.0
Jan 17 14:36:21 weewx weewx[5818]: restx: Wunderground-PWS: Published record 
2019-01-17 14:36:00 CET (1547732160)
Jan 17 14:36:24 weewx weewx[5818]: cheetahgenerator: Generated 14 files for 
report StandardReport in 3.64 seconds
Jan 17 14:36:24 weewx weewx[5818]: manager: Daily summary version is 2.0
Jan 17 14:36:25 weewx weewx[5818]: imagegenerator: Generated 12 images for 
StandardReport in 0.70 seconds
Jan 17 14:36:25 weewx weewx[5818]: copygenerator: copied 9 files to 
/var/weewx/reports
Jan 17 14:36:25 weewx weewx[5818]: 

[weewx-user] Re: use Weewx on raspberry

2019-01-17 Thread Patrick Tranchant
hello Gary,

here
I redid the measurements, my station is inside for now, it's easy for 
testing.
I put you the statements of my script (for comparison); and the anemometer 
turns well, I put a fan in front for simulation; the statements in my 
script prove that there are no hardware problems.
thank you again for your help.

Patrick

On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote:
>
> hello I am a newbie from France ( sorry for my english )
>
> I want to use weewx on a raspberry with a weather station built by myself 
> (view on Magpi)
> I don't see my station on your website to configure :
>
> Weather Station Hardware Comparison: I don't found my weather station.
> Do you have a solution or how to configure Weewx
>
> thank you for your help
>
> Patrick
>

-- 
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.
values with byows.py modified by you

datas of Loop:
Measuring wind direction for 5 seconds...
LOOP:   2019-01-17 13:23:26 CET (1547727806) altimeter: 29.9170749158, appTemp: 
68.9335141523, barometer: 29.9139641064, cloudbase: 5792.06132667, dateTime: 
1547727806, dewpoint: 46.4872602145, heatindex: 69.7492274135, humidex: 
70.5206154515, maxSolarRad: None, outHumidity: 43.4067114991, outTemp: 
69.7492274135, pressure: 29.383484014, rain: 0.0, rainRate: 0.044, soilTemp1: 
64.175, usUnits: 1, windchill: 69.7492274135, windDir: 45.0, windGust: 0.0, 
windSpeed: 0.0
Measuring wind direction for 5 seconds...
Measuring wind direction for 5 seconds...
unknown value 1.1
Measuring wind direction for 5 seconds...
Measuring wind direction for 5 seconds...
Measuring wind direction for 5 seconds...
unknown value 1.1
unknown value 1.0
Measuring wind direction for 5 seconds...
Measuring wind direction for 5 seconds...
Measuring wind direction for 5 seconds...
Measuring wind direction for 5 seconds...
Measuring wind direction for 5 seconds...
Measuring wind direction for 5 seconds...
Measuring wind direction for 5 seconds...
LOOP:   2019-01-17 13:24:27 CET (1547727867) altimeter: 29.9134955897, appTemp: 
69.0766516605, barometer: 29.9102198356, cloudbase: 5835.32447372, dateTime: 
1547727867, dewpoint: 46.4492080766, heatindex: 69.9015331227, humidex: 
70.6573310457, maxSolarRad: None, outHumidity: 43.1200242375, outTemp: 
69.9015331227, pressure: 29.37995733, rain: 0.0, rainRate: 0.044, soilTemp1: 
64.4, usUnits: 1, windchill: 69.9015331227, windDir: 45.0, windGust: 0.0, 
windSpeed: 0.0

values of syslog:
Jan 17 13:19:47 raspberrypi weewx[1531]: BYOWS: calculated wind speed 
final_speed=0.0 self.wind_count=0
Jan 17 13:19:52 raspberrypi weewx[1531]: BYOWS: calculated wind speed 
final_speed=0.0 self.wind_count=0
Jan 17 13:19:57 raspberrypi weewx[1531]: BYOWS: calculated wind speed 
final_speed=0.0 self.wind_count=0
Jan 17 13:20:02 raspberrypi weewx[1531]: BYOWS: calculated wind speed 
final_speed=0.0 self.wind_count=0
Jan 17 13:20:07 raspberrypi weewx[1531]: BYOWS: calculated wind speed 
final_speed=0.0 self.wind_count=0
Jan 17 13:20:12 raspberrypi weewx[1531]: BYOWS: calculated wind speed 
final_speed=0.0 self.wind_count=0
Jan 17 13:20:17 raspberrypi weewx[1531]: BYOWS: calculated wind speed 
final_speed=0.0 self.wind_count=0
Jan 17 13:20:22 raspberrypi weewx[1531]: BYOWS: calculated wind speed 
final_speed=0.0 self.wind_count=0
Jan 17 13:20:22 raspberrypi weewx[1531]: BYOWS: calculated wind_speed=0.0 
self.store_speeds=[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
Jan 17 13:20:23 raspberrypi weewx[1531]: manager: Added record 2019-01-17 
13:20:00 CET (1547727600) to database 'weewx.sdb'
Jan 17 13:20:23 raspberrypi weewx[1531]: manager: Added record 2019-01-17 
13:20:00 CET (1547727600) to daily summary in 'weewx.sdb'
Jan 17 13:20:28 raspberrypi weewx[1531]: BYOWS: calculated wind speed 
final_speed=0.0 self.wind_count=0
Jan 17 13:20:32 raspberrypi weewx[1531]: cheetahgenerator: Generated 14 files 
for report StandardReport in 8.78 seconds
Jan 17 13:20:33 raspberrypi weewx[1531]: BYOWS: calculated wind speed 
final_speed=0.0 self.wind_count=0
Jan 17 13:20:34 raspberrypi weewx[1531]: imagegenerator: Generated 12 images 
for StandardReport in 1.66 seconds
Jan 17 13:20:34 raspberrypi weewx[1531]: copygenerator: copied 9 files to 
/var/www/html/weewx
Jan 17 13:20:38 raspberrypi weewx[1531]: BYOWS: calculated wind speed 
final_speed=0.0 self.wind_count=0
Jan 17 13:20:43 raspberrypi weewx[1531]: BYOWS: calculated wind speed 
final_speed=0.0 self.wind_count=0
Jan 17 13:20:48 raspberrypi weewx[1531]: BYOWS: calculated wind speed 
final_speed=0.0 self.wind_count=0
Jan 17 13:20:53 raspberrypi weewx[1531]: BYOWS: calculated wind speed 
final_speed=0.0 self.wind_count=0
Jan 17 13:20:58 raspberrypi weewx[1531]: BYOWS: calculated wind speed 
final_speed=0.0 

[weewx-user] Weewx is not updating the Webpage (Standard Skin)

2019-01-17 Thread gjr80
Hi,

Could be any one of a number of things, we are going to need to see the log. I 
suggest you edit weewx.conf, set debug = 1, save weewx.conf and restart weeWX. 
Let weeWX run for at least two archive periods and then post the log from when 
you restarted weeWX and covering the two archive periods.

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: Problem with rtl_433 driver Bresser 5-in-1 and sensor mapping

2019-01-17 Thread U G
Thats odd... my Class of sdr.py looks totally different to yours:

(ignore the # in front of the lines)

@staticmethod
#def parse_json(obj):
#pkt = dict()
#pkt['dateTime'] = Packet.parse_time(obj.get('time'))
#pkt['usUnits'] = weewx.METRICWX
#pkt['station_id'] = obj.get('id')
#pkt['temperature'] = Packet.get_float(obj, 'temperature_C')
#pkt['humidity'] = Packet.get_float(obj, 'humidity')
#pkt['wind_gust'] = Packet.get_float(obj, 'gust_speed')
#pkt['wind_speed'] = Packet.get_float(obj, 'wind_speed')
#pkt['wind_dir'] = Packet.get_float(obj, 'wind_dir')
#   pkt['rain_total'] = Packet.get_float(obj, 'rain_mm')
#pkt['uv'] = Packet.get_float(obj, 'uv')
#pkt['uv_index'] = Packet.get_float(obj, 'uvi')
#return Bresser5in1Packet.insert_ids(pkt)

vs. your

 PARSEINFO = {

#   'Msg type': ['msg_type', None, None],
'StationID': ['station_id', None, None],
'Temperature': ['temperature', re.compile('([\d.-]+) C'), lambda x:
float(x)],
'Humidity': ['humidity', re.compile('([\d.]+) %'), lambda x:
float(x)],
'Wind Gust': ['wind_gust', None, lambda x: float(x)],
'Wind Speed': ['wind_speed', None, lambda x: float(x)],
'Direction': ['wind_dir', None, lambda x: int(x)],
'Rain': ['rain_total', None, lambda x: float(x)]}

Is yours from the official repository or did you develop this yourself?

Cheers,

UG


Am Do., 17. Jan. 2019 um 01:22 Uhr schrieb mercurystorm <
mercuryst...@gmail.com>:

>
> Output in debug log
>
>> Jan 17 00:18:51 raspberrypi weewx[1066]: sdr: MainThread: lines=['{"time"
>>> : "2019-01-17 00:18:48", "model" : "Bresser-5in1", "id" : 118,
>>> "temperature_C" : 5.200, "humidity" : 95, "wind_gust" : 1.400, "wind_speed"
>>> : 1.700, "wind_dir_deg" : 337.500, "rain_mm" : 37.600, "data" :
>>> "df897feb0fe8efadff6a89ecff20768014f01710520095761300", "mic" :
>>> "CHECKSUM"}\n']
>>>
>>> Jan 17 00:18:51 raspberrypi weewx[1066]: sdr: MainThread:
>>> packet={'outHumidity': 95.0, 'dateTime': 1547684328, 'windDir': 337.5,
>>> 'outTemp': 5.2, 'windSpeed': 1.7, 'windGust': 1.4, 'rain_total': 37.6,
>>> 'usUnits': 17}
>>>
>>
> weewx.conf
>
> [SDR]
>
> # This section is for the software-defined radio driver.
>
>
> # The driver to use
>
> driver = user.sdr
>
> cmd = /usr/local/bin/rtl_433 -f 868.3M -R 119 -F json
>
>
> [[sensor_map]]
>
> outTemp = temperature.118.Bresser5in1Packet
>
> outHumidity = humidity.118.Bresser5in1Packet
>
> windSpeed = wind_speed.118.Bresser5in1Packet
>
> windDir = wind_dir.118.Bresser5in1Packet
>
> windGust = wind_gust.118.Bresser5in1Packet
>
> rain_total = rain_total.118.Bresser5in1Packet
>
> log_unknown_sensors = True
>
> log_unmapped_sensors = True
>
>
> [[deltas]]
> rain = rain_total
>
> sdr.py
>
> class Bresser5in1Packet(Packet):
>
> # '{"time" : "2018-12-15 16:39:52", "model" : "Bresser-5in1", "id" :
> 118, "temperature_C" : 6.200, "humidity" : 88, "wind_gust" : 1.400,
> "wind_speed" : 1.500, "wind_dir_deg" : 67.500, "rain_mm" : 10.800, "data" :
> "ea897febcfeaef9dff77f7feff15768014301510620088080100", "mic" :
> "CHECKSUM"}#012'
>
> IDENTIFIER = "Bresser-5in1"
>
> PARSEINFO = {
>
> #   'Msg type': ['msg_type', None, None],
>
> 'StationID': ['station_id', None, None],
>
> 'Temperature': ['temperature', re.compile('([\d.-]+) C'),
> lambda x: float(x)],
>
> 'Humidity': ['humidity', re.compile('([\d.]+) %'), lambda x:
> float(x)],
>
> 'Wind Gust': ['wind_gust', None, lambda x: float(x)],
>
> 'Wind Speed': ['wind_speed', None, lambda x: float(x)],
>
> 'Direction': ['wind_dir', None, lambda x: int(x)],
> 'Rain': ['rain_total', None, lambda x: float(x)]}
>
>
> and its all working perfectly on https://stormy.ie/weather
>
> --
> 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.


Re: [weewx-user] Re: Getting the RPi 3 with Davis Vantage up and running

2019-01-17 Thread monmul
AwesomeI thought that weeimport could only deal with csv files and so 
went and converted them allbut kept the txt files for backup!

On Thursday, 17 January 2019 22:35:30 UTC+13, gjr80 wrote:
>
> Ok, that explains the csv file you provided having a different name 
> structure to what I had found. I believe that there was/is the ability for 
> WD to publish csv format log files and that is what I have. Weeimport will 
> happily work with the MMlg.txt files just as they are. No need to dig 
> anything out of an old machine. You will be the 1st so it will work with 
> your logs and I guess we see where it goes from there. Weeimport is fairly 
> flexible in structure and can easily be adapted.
>
> 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.


[weewx-user] Weewx is not updating the Webpage (Standard Skin)

2019-01-17 Thread 'Johannes Ebner' via weewx-user
Hi, 

I installed weewx with fineoffsetusb to get the weatherinformation from a 
WS3083.

I got i already working, but becasue playing around I destroyed the config 
and started again from scratch.

I made a new setup and only added Upload to Wunderground and also to an 
internal MQTT Broker.

The Upload to Wunderground as well to MQTT is working. There I can see the 
values and they are updated based on the device intervall.

But somehow the "Standard"-SKin is not updated. It stays with a very early 
status after the installation process.

Any ideas what could be wrong?

Br,
Johannes

-- 
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: Getting the RPi 3 with Davis Vantage up and running

2019-01-17 Thread gjr80
Ok, that explains the csv file you provided having a different name structure 
to what I had found. I believe that there was/is the ability for WD to publish 
csv format log files and that is what I have. Weeimport will happily work with 
the MMlg.txt files just as they are. No need to dig anything out of an old 
machine. You will be the 1st so it will work with your logs and I guess we see 
where it goes from there. Weeimport is fairly flexible in structure and can 
easily be adapted.

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: Getting the RPi 3 with Davis Vantage up and running

2019-01-17 Thread gjr80
Thanks, I have mainly been working with some .txt log files I found.

One thing you could help me with is the WD log file names. I have 
MMlg.txt, MMvantagelog.txt and MMvantageextrasensorlog.csv. I 
also have MMlgcsv.csv and MMvantagelogcsv.csv. MM is a 1 or 2 digit 
month and  a 4 digit year. Are these the standard WD log files, the csv 
you provided follows a different naming convention?

MMlg.txt and MMlgcsv.csv are near identical except for format (txt 
delimited v csv) and .txt contains the midnight at the start of the month 
record but .csv does not (odd). Likewise with MMvantagelog.txt and 
MMvantagelogcsv.csv but this time .txt has the record from midnight at 
the end of the month but .csv does not (just as odd). Is this common to 
your logs?

Gary

On Thursday, 17 January 2019 13:45:24 UTC+10, monmul wrote:
>
> Actually Gary, I now realise that there was a formatting error in the 
> example csv file I gave you earlier - profuse apologies for not checking it 
> properly. Here is a properly formatted one!
>
> On Wednesday, 16 January 2019 21:48:07 UTC+13, monmul wrote:
>>
>> Wow! cool thanks!
>>
>> On Wed, Jan 16, 2019 at 9:17 PM gjr80 > 
>> wrote:
>>
>>> wee_import will import it all month by month. You just drop all your 
>>> log files into a single directory and wee_import works through the lot.
>>>
>>> Gary
>>>
>>> On Wednesday, 16 January 2019 18:12:48 UTC+10, monmul wrote:

 Great thank you so much!should I import month by month...or 
 transfer all the monthly data to one big file (probably 100 months in 
 total) and import it in one big hit?

 On Wed, Jan 16, 2019 at 8:47 PM gjr80  wrote:

> Good. I have a first cut of a wee_import that supports importing 
> Weather Display logs sort of working. Should not be too long, just needs 
> a 
> bit more work to sort out a few minor issues.
>
> Gary
>
> On Wednesday, 16 January 2019 17:44:03 UTC+10, monmul wrote:
>>
>> I changed it in skin.conf and everything is working fine now (well it 
>> will require a minor tweak or two :) )..thank you once again Gary 
>> for 
>> your patience and commitment...I have only one more part of the 
>> project 
>> to complete, if you could please guide me on how to import the 
>> historical 
>> data
>>
>> -- 
> 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+...@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: use Weewx on raspberry

2019-01-17 Thread gjr80
Patrick,

I don't see anything necessarily unusual with your rain. WeeWX records 
rainfall on a per interval basis not a cumulative basis. So if during a 
loop period there is one tip of your rain gauge that will record 
(approximately) 0.2mm of rain in the loop packet for that period. If there 
is no further rain (or tips of your rain gauge) then the next loop packet 
will be 0.0. Also, it could be raining steadily but you might see a loop 
packet with rainfall but the next one or two (or more) may not. How often 
you see rain in a loop packet is dependent on how heavy the rain is, how 
big your rain gauge bucket is and how often you sample the rain gauge.

The best way to test your gauge and the driver is to manually tip your rain 
gauge while weeWX is running. As long as you take note of how many tips you 
do you should be able to tell if the correct number of tips (and therefore 
'rain') comes through to weeWX.

Gary

On Thursday, 17 January 2019 05:41:21 UTC+10, Patrick Tranchant wrote:
>
> hello Gary,
> for the rain, I inserted print in the driver and look at the result, it's 
> not normal; the rain meter always returns to "0".
> I enclose the driver with my modification. (just that part).
>
>  self.wind_gust = max( self.store_speeds )
> wind_speed = statistics.mean( self.store_speeds )
> # calculate rainfall in cm for weeWX Metric units
> *print(self.rain_count)*
> rainfall = self.rain_count * self.bucket_size / 10.0
> self.reset_rainfall()
> *print(rainfall)*
> self.store_speeds = []
> self.store_directions = []
>
> result:
>
> Measuring wind direction for 5 seconds...
> Measuring wind direction for 5 seconds...
> Measuring wind direction for 5 seconds...
>
> *10.02794*
> LOOP:   2019-01-16 20:28:33 CET (1547666913) altimeter: 29.8285479241, 
> appTemp: 66.6407995301, barometer: 29.8266499274, cloudbase: 6282.37102025, 
> dateTime: 1547666913, dewpoint: 42.8606032025, heatindex: 68.2799330532, 
> humidex: 68.2799330532, maxSolarRad: None, outHumidity: 39.7562170511, 
> outTemp: 68.2799330532, pressure: 29.296259363, rain: 0.011, rainRate: 
> 0.044, soilTemp1: 63.6116, usUnits: 1, windchill: 68.2799330532, windDir: 
> 315.0, windGust: 0.0, windSpeed: 0.0
> Measuring wind direction for 5 seconds...
> Measuring wind direction for 5 seconds...
> Measuring wind direction for 5 seconds...
> Measuring wind direction for 5 seconds...
> Measuring wind direction for 5 seconds...
> Measuring wind direction for 5 seconds...
> Measuring wind direction for 5 seconds...
> Measuring wind direction for 5 seconds...
> Measuring wind direction for 5 seconds...
> Measuring wind direction for 5 seconds...
> Measuring wind direction for 5 seconds...
> Measuring wind direction for 5 seconds...
>
> *00.0*
> LOOP:   2019-01-16 20:29:34 CET 
>
> Patrick
>
>
> On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote:
>>
>> hello I am a newbie from France ( sorry for my english )
>>
>> I want to use weewx on a raspberry with a weather station built by myself 
>> (view on Magpi)
>> I don't see my station on your website to configure :
>>
>> Weather Station Hardware Comparison: I don't found my weather station.
>> Do you have a solution or how to configure Weewx
>>
>> thank you for your help
>>
>> Patrick
>>
>

-- 
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: use Weewx on raspberry

2019-01-17 Thread gjr80
Patrick,

Do you know if your anemometer was spinning when you ran the modified 
driver? I forgot to mention the anemometer needs to be spinning so we can 
see if the driver is picking up any wind speed values.

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.