[weewx-user] Re: Import Data from Mesowest

2019-12-12 Thread rich T
Thanks Gary

I'm in no hurry, I'll wait until V4.0 is released.  It will give me some 
time to ensure all fields are correctly formatted.

Rich

On Thursday, December 12, 2019 at 1:54:18 AM UTC-5, gjr80 wrote:

> Hi,
>
> I would save your data in csv format and import as a csv import via 
> wee_import . 
> A few suggestions:
>
> 1. On first glance it appears there are no significant gaps in your data 
> so I would let wee_import derive the WeeWX interval field from the data 
> being imported. A few missed records won't make any great difference.
>
> 3. You have two distinct fields with date and time for each record, you 
> will need to massage this into a single field (a simple search and replace 
> post csv conversion should work) and then come up with an appropriate 
> date-time format string that wee_import can use to decode this combined 
> date-time. This is covered briefly in the Importing from CSV files 
>  section in 
> the Utilities Guide.
>
> 3. Work out what fields you wish to map to which WeeWX fields then use 
> this info to produce your [[FieldMap]] stanza in your import config file. 
> Remove the unused fields from the Excel/csv file.
>
> 4. Once you have your import config file setup up make sure you do a dry 
> run import first.
>
> There is an issue with the wee_import calc-missing functionality included 
> in WeeWX 3.x that means that some missing derived observations that rely on 
> historical data are skipped (this largely only affects calculating WeeWX 
> field pressure). This issue will be fixed in wee_import included with 
> WeeWX v4.0 so if this issue affects you you might want to wait for the soon 
> to be released WeeWX V4.
>
> Gary
>
> On Thursday, 12 December 2019 12:35:17 UTC+10, rich T wrote:
>>
>> What would the best way to import data into the weewx db from Mesowest.  
>>
>> Thanks
>> Rich
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/9f94e708-4776-42b0-89d2-05356cc698fd%40googlegroups.com.


[weewx-user] Re: install Mqtt

2019-12-12 Thread salinois

is it related to mqtt

Le 12/12/2019 à 20:21, salinois a écrit :


Hello,
I have not yet installed MQTT on my station,

what do you recommend? private or public,

can I install it on the same RPi where weewx-belchertown is installed?

I started to look at the github of PAT

tell me, thanks to you

Patrick (from FRANCE)





--
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/d08c57e0-be11-d858-4514-2f96b2d73e0a%40gmail.com.


[weewx-user] install Mqtt

2019-12-12 Thread salinois

Hello,
I have not yet installed MQTT on my station,

what do you recommend? private or public,

can I install it on the same RPi where weewx-belchertown is installed?

I started to look at the github of PAT

tell me, thanks to you

Patrick (from FRANCE)



--
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/a3c4d83c-67ef-c882-8989-5d57c70ac30f%40gmail.com.


Re: [weewx-user] Re: Rain rate too high with SDR driver?

2019-12-12 Thread mwall
thank you for those details, but we need to go deeper.  here are two things 
to try:

1) run weewx-sdr directly, during a rain event, and post the data here.  
invoke it like this:

sudo PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/sdr.py 
--cmd="rtl_433 -M utc -F json -R 32"

i am looking for a few things in the output:

- why are there duplicate packets?  the weewx-sdr driver has logic to 
eliminate duplicates, so why do they show up in your weewxd output?

- which packets are you actually receiving?  in your configuration you 
specify both FOWHx080Packet and FOWH3080Packet, but the '-R32' option 
should pick up only the FOWHx080Packet (i'll bet that you never see any UV 
or radiation data)

- exactly what is the packet format that you receive?  this will tell us if 
the JSON output from rtl_433 is in the right units and format that are 
expected by weewx-sdr.

still unanswered:

- why is your archive interval inconsistent?

- where did the fractional REC value rain_total=3.975 come from?


2) run without the bme288wx extension.  does that extension modify LOOP or 
REC data?  try running weewxd without it to see if behavior is any 
different during and after rain events.  (bme288wx might be perfectly fine, 
but i have no idea which version you have or what it is actually doing)

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/0b309c5b-96f1-47b8-ac5e-52da420eef64%40googlegroups.com.


[weewx-user] Re: WeeWX et WS-2300

2019-12-12 Thread J D
Hi,
I use WS23xx driver on a pi  but you need to be careful about your serial 
to usb converter.  This is stated in the driver file

With a USB-serial converter one can connect the station to a computer with
only USB ports, but not every converter will work properly.  Perhaps the two
most common converters are based on the Prolific and FTDI chipsets.  Many
people report better luck with the FTDI-based converters.  Some converters
that use the Prolific chipset (PL2303) will work, but not all of them.

Known to work: ATEN UC-232A

I use the ATEN converter and it does work without any issues. 
Also here is what I see in my dmesg

[3.784359] usbserial: USB Serial support registered for generic
[3.804690] usbserial: USB Serial support registered for FTDI USB Serial 
Device
[3.805247] ftdi_sio 1-1.2:1.0: FTDI USB Serial Device converter detected
[3.837746] usb 1-1.2: FTDI USB Serial Device converter now attached to 
ttyUSB0
[3.838010] ftdi_sio 1-1.2:1.1: FTDI USB Serial Device converter detected
[3.841931] usb 1-1.2: FTDI USB Serial Device converter now attached to 
ttyUSB1

I would look at getting a different converter or a different pi since this 
looks like a hardware issue.
Thanks Jerry


On Friday, December 6, 2019 at 7:24:07 AM UTC-7, Olivier Garnier wrote:
>
> Hi,
>
>
> I used to use WS2300 with wview (RIP).
> Now i try to configure weewx with ws2300 on Raspberry and it does not work 
> ...
> i installed it with apt-get.
>
> dmesg :
> [1.623394] usb 1-1.4: New USB device found, idVendor=0403, idProduct=
> 6001, bcdDevice= 4.00
> [1.623410] usb 1-1.4: New USB device strings: Mfr=1, Product=2, 
> SerialNumber=0
> [1.623423] usb 1-1.4: Product: USB <-> Serial
> [1.623434] usb 1-1.4: Manufacturer: FTDI
>
> #modprobe ftdi_sio
> #ls /dev/ttyUSB*
> /dev/ttyUSB0
>
>
> weewx.conf :
> ...
>
> [Station]
>
> # Description of the station location
> location = ""
>
> # Latitude and longitude in decimal degrees
> latitude = 50.000
> longitude = 1.000
>
> # Altitude of the station, with unit it is in. This is downloaded from
> # from the station if the hardware supports it.
> altitude = 100, meter
>
> # Set to type of station hardware. There must be a corresponding 
> stanza
> # in this file with a 'driver' parameter indicating the driver to be 
> used.
> station_type = WS23xx
>
> # If you have a website, you may specify an URL
> #station_url = http://www.example.com
>
> # The start of the rain year (1=January; 10=October, etc.). This is
> # downloaded from the station if the hardware supports it.
> rain_year_start = 1
>
> # Start of week (0=Monday, 6=Sunday)
> week_start = 0
>
>
> ##
>
> [WS23xx]
> # This section is for the La Crosse WS-2300 series of weather 
> stations.
>
> # Serial port such as /dev/ttyS0, /dev/ttyUSB0, or /dev/cuaU0
> port = /dev/ttyUSB0
>
> # The station model, e.g., 'LaCrosse WS2317' or 'TFA Primus'
> model = LaCrosse WS-2300
>
> # The driver to use:
> driver = weewx.drivers.ws23xx
>
>
> ##
> ...
>
>
>
> and when i ask wee_device --current
> Using configuration file /etc/weewx/weewx.conf
> Using WS23xx driver version 0.27 (weewx.drivers.ws23xx)
> Querying the station for current weather data...
> Traceback (most recent call last):
>   File "/usr/bin/wee_device", line 66, in 
> main()
>   File "/usr/bin/wee_device", line 62, in main
> device.configure(config_dict)
>   File "/usr/share/weewx/weewx/drivers/__init__.py", line 69, in configure
> self.do_options(options, parser, config_dict, prompt)
>   File "/usr/share/weewx/weewx/drivers/ws23xx.py", line 313, in do_options
> self.show_current()
>   File "/usr/share/weewx/weewx/drivers/ws23xx.py", line 339, in 
> show_current
> for packet in self.station.genLoopPackets():
>   File "/usr/share/weewx/weewx/drivers/ws23xx.py", line 502, in 
> genLoopPackets
> raise weewx.RetriesExceeded(msg)
> weewx.RetriesExceeded: Max retries (5) exceeded for LOOP data
>
> Does anyone has an idéa ?
>
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/8d6ac1a7-bc71-4b07-b0df-31f569a8dad8%40googlegroups.com.


Re: [weewx-user] Re: Rain rate too high with SDR driver?

2019-12-12 Thread S1m0n3
what hardware are you using?

Raspberry Pi 3 with an rtl-sdr usb to retrieve data from 433mhz WH3080 (has 
partial packets for time, uv and weather)

please post your weewx configuration file

it's in attachment

how many times did you restart weewx during the capture of the output?

this is a log of an entire session of weewx started directly 

how many times, and when, did you cause a rain event (e.g., tip the rain 
bucket)?

I waited for a real rain because the station is 3 meters high and is not 
easily accessible.

did you modify the output before posting it here?
Il giorno giovedì 12 dicembre 2019 15:00:34 UTC+1, mwall ha scritto:
>
> On Monday, December 9, 2019 at 6:38:36 PM UTC-5, S1m0n3 wrote:
>>
>> 1. Yes, I have rtl_433 version 19.08 directly from git and same for 
>> rtl-sdr i have cloned from official git (This is a new installation made 
>> one week ago)
>> 2. I have recorded 3 hours of log with an event of rain (start at 
>> 16:27:47) from 2.7mm to 4.2mm of rain_total (in attachment)
>>
>
> what hardware are you using?
>
> please post your weewx configuration file.
>
> how many times did you restart weewx during the capture of the output?
>
> how many times, and when, did you cause a rain event (e.g., tip the rain 
> bucket)?
>
> did you modify the output before posting it here?
>
> here is the summary of rain events.  your database is METRIC, so the 
> values below are in centimeters.  
>
> your output shows a system that is all kinds of messed up.
>
> - the loop data are not being accumulated by the archive records
> - here are duplicate LOOP events
> - there is a very odd anomaly in the 16:56:00 REC
> - the REC intervals are not consistent.  for awhile the archive interval 
> is 1 minute, but then sometimes it is 2 or 5
>
> i have no explanation for any of these things without knowing more about 
> your configuration.  it looks like you tampered with the output and/or the 
> testing procedure.
>
> type timestamprain  rain_total
>
> LOOP 2019-12-09 16:27:47 CET (1575905267) 0.3   3.0
>
> REC  2019-12-09 16:23:00 CET (1575904980) 0.3   3.0
>
> LOOP 2019-12-09 16:28:06 CET (1575905286) 0.3   3.0
>
> REC  2019-12-09 16:28:00 CET (1575905280) 0.0   3.0
>
> LOOP 2019-12-09 16:28:35 CET (1575905315) 0.0   3.0
>
> LOOP 2019-12-09 16:29:06 CET (1575905346) 0.0   3.0
>
> REC  2019-12-09 16:29:00 CET (1575905340) 0.3   3.0
>
> ...
>
> LOOP 2019-12-09 16:38:06 CET (1575905886) 0.0   3.0
>
> LOOP 2019-12-09 16:38:11 CET (1575905891) 0.3   3.3
>
> LOOP 2019-12-09 16:38:59 CET (1575905939) 0.3   3.6
>
> REC  2019-12-09 16:38:00 CET (1575905880) 0.0   3.0
>
> LOOP 2019-12-09 16:39:06 CET (1575905946) 0.3   3.6
>
> LOOP 2019-12-09 16:40:06 CET (1575906006) 0.3   3.6
>
> REC  2019-12-09 16:40:00 CET (1575906000) 0.3   3.6
>
> LOOP 2019-12-09 16:40:35 CET (1575906035) 0.3   3.9
>
> LOOP 2019-12-09 16:41:06 CET (1575906066) 0.3   3.9
>
> LOOP 2019-12-09 16:42:06 CET (1575906126) 0.3   3.9
>
> REC  2019-12-09 16:42:00 CET (1575906120) 0.3   3.9
>
> LOOP 2019-12-09 16:42:59 CET (1575906179) 0.0   3.9
>
> LOOP 2019-12-09 16:43:06 CET (1575906186) 0.0   3.9
>
> ...
>
> LOOP 2019-12-09 16:55:07 CET (1575906907) 0.0   3.9
>
> LOOP 2019-12-09 16:55:47 CET (1575906947) 0.3   4.2
>
> REC  2019-12-09 16:55:00 CET (1575906900) 0.0   3.9
>
> LOOP 2019-12-09 16:56:06 CET (1575906966) 0.3   4.2
>
> LOOP 2019-12-09 16:56:35 CET (1575906995) 0.0   4.2
>
> REC  2019-12-09 16:56:00 CET (1575906960) 0.3   3.975
>
> LOOP 2019-12-09 16:57:06 CET (1575907026) 0.0   4.2
>
> LOOP 2019-12-09 16:57:06 CET (1575907026) 0.0   4.2
>
> LOOP 2019-12-09 16:57:23 CET (1575907043) 0.0   4.2
>
> REC  2019-12-09 16:57:00 CET (1575907020) 0.6   4.2
>
> LOOP 2019-12-09 16:58:06 CET (1575907086) 0.0   4.2
>
> LOOP 2019-12-09 16:58:06 CET (1575907086) 0.0   4.2
>
> LOOP 2019-12-09 16:58:11 CET (1575907091) 0.0   4.2
>
> LOOP 2019-12-09 16:58:59 CET (1575907139) 0.0   4.2
>
> REC  2019-12-09 16:58:00 CET (1575907080) 0.0   4.2
>
> LOOP 2019-12-09 16:59:06 CET (1575907146) 0.0   4.2
>
> LOOP 2019-12-09 16:59:06 CET (1575907146) 0.0   4.2
>
> LOOP 2019-12-09 16:59:47 CET (1575907187) 0.0   4.2
>
> REC  2019-12-09 16:59:00 CET (1575907140) 0.0   4.2
>
> LOOP 2019-12-09 17:00:06 CET (1575907206) 0.0   4.2
>
> LOOP 2019-12-09 17:00:06 CET (1575907206) 0.0   4.2
>
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/74134166-51c8-42eb-9a1e-df8ac13dd184%40googlegroups.com.
# WEEWX CONFIGURATION FILE
#
# Copyright (c) 2009-2019 Tom Keffer 
# See the file LICENSE.txt for your rights.

##

# This section is for general configuration information.

# Set to 1 for extra debug info, otherwise comment i

[weewx-user] Re: WeeWX et WS-2300

2019-12-12 Thread mwall

On Saturday, December 7, 2019 at 3:55:57 PM UTC-5, Olivier Garnier wrote:
>
> Anybody can help me ?
> Who can i ask ?


this is the place to ask. maybe there is someone else running a ws23xx on 
an rpi?

i am running a ws23xx but it is on an x86_64 system (with an ancient 
version on debian), i'm afraid i am not much help

Linux saga 3.2.0-4-amd64 #1 SMP Debian 3.2.81-2 x86_64 GNU/Linux

can you try running weewx on an x86/x86_64 system?

you might have to hunt around the rpi forums for information about serial 
and usb-serial settings.  i seem to recall the rpi default configuration of 
the modem/tty causing problems for some serial communications.

you could also look at some of the resources listed in the comments in the 
ws23xx.py driver file.  the driver is based mostly on Russell Stuart's 
implementation, with some bug fixes.  if you can get his original 
implementation to work, that might provide a clue about what is different 
about the serial setup on arm/rpi.  or perhaps try the Kenneth Lavrsen 
Open2300 implementation.

i'm happy to incorporate whatever you find so that the weewx ws23xx driver 
will work reliably on any platform, but i'm afraid i do not have time right 
now to set up an rpi or other arm platform to do the exploratory work.

m

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/858a0ba5-4126-4d2c-93ad-908b83503a52%40googlegroups.com.


Re: [weewx-user] Re: Rain rate too high with SDR driver?

2019-12-12 Thread mwall
On Monday, December 9, 2019 at 6:38:36 PM UTC-5, S1m0n3 wrote:
>
> 1. Yes, I have rtl_433 version 19.08 directly from git and same for 
> rtl-sdr i have cloned from official git (This is a new installation made 
> one week ago)
> 2. I have recorded 3 hours of log with an event of rain (start at 
> 16:27:47) from 2.7mm to 4.2mm of rain_total (in attachment)
>

what hardware are you using?

please post your weewx configuration file.

how many times did you restart weewx during the capture of the output?

how many times, and when, did you cause a rain event (e.g., tip the rain 
bucket)?

did you modify the output before posting it here?

here is the summary of rain events.  your database is METRIC, so the values 
below are in centimeters.  

your output shows a system that is all kinds of messed up.

- the loop data are not being accumulated by the archive records
- here are duplicate LOOP events
- there is a very odd anomaly in the 16:56:00 REC
- the REC intervals are not consistent.  for awhile the archive interval is 
1 minute, but then sometimes it is 2 or 5

i have no explanation for any of these things without knowing more about 
your configuration.  it looks like you tampered with the output and/or the 
testing procedure.

type timestamprain  rain_total

LOOP 2019-12-09 16:27:47 CET (1575905267) 0.3   3.0

REC  2019-12-09 16:23:00 CET (1575904980) 0.3   3.0

LOOP 2019-12-09 16:28:06 CET (1575905286) 0.3   3.0

REC  2019-12-09 16:28:00 CET (1575905280) 0.0   3.0

LOOP 2019-12-09 16:28:35 CET (1575905315) 0.0   3.0

LOOP 2019-12-09 16:29:06 CET (1575905346) 0.0   3.0

REC  2019-12-09 16:29:00 CET (1575905340) 0.3   3.0

...

LOOP 2019-12-09 16:38:06 CET (1575905886) 0.0   3.0

LOOP 2019-12-09 16:38:11 CET (1575905891) 0.3   3.3

LOOP 2019-12-09 16:38:59 CET (1575905939) 0.3   3.6

REC  2019-12-09 16:38:00 CET (1575905880) 0.0   3.0

LOOP 2019-12-09 16:39:06 CET (1575905946) 0.3   3.6

LOOP 2019-12-09 16:40:06 CET (1575906006) 0.3   3.6

REC  2019-12-09 16:40:00 CET (1575906000) 0.3   3.6

LOOP 2019-12-09 16:40:35 CET (1575906035) 0.3   3.9

LOOP 2019-12-09 16:41:06 CET (1575906066) 0.3   3.9

LOOP 2019-12-09 16:42:06 CET (1575906126) 0.3   3.9

REC  2019-12-09 16:42:00 CET (1575906120) 0.3   3.9

LOOP 2019-12-09 16:42:59 CET (1575906179) 0.0   3.9

LOOP 2019-12-09 16:43:06 CET (1575906186) 0.0   3.9

...

LOOP 2019-12-09 16:55:07 CET (1575906907) 0.0   3.9

LOOP 2019-12-09 16:55:47 CET (1575906947) 0.3   4.2

REC  2019-12-09 16:55:00 CET (1575906900) 0.0   3.9

LOOP 2019-12-09 16:56:06 CET (1575906966) 0.3   4.2

LOOP 2019-12-09 16:56:35 CET (1575906995) 0.0   4.2

REC  2019-12-09 16:56:00 CET (1575906960) 0.3   3.975

LOOP 2019-12-09 16:57:06 CET (1575907026) 0.0   4.2

LOOP 2019-12-09 16:57:06 CET (1575907026) 0.0   4.2

LOOP 2019-12-09 16:57:23 CET (1575907043) 0.0   4.2

REC  2019-12-09 16:57:00 CET (1575907020) 0.6   4.2

LOOP 2019-12-09 16:58:06 CET (1575907086) 0.0   4.2

LOOP 2019-12-09 16:58:06 CET (1575907086) 0.0   4.2

LOOP 2019-12-09 16:58:11 CET (1575907091) 0.0   4.2

LOOP 2019-12-09 16:58:59 CET (1575907139) 0.0   4.2

REC  2019-12-09 16:58:00 CET (1575907080) 0.0   4.2

LOOP 2019-12-09 16:59:06 CET (1575907146) 0.0   4.2

LOOP 2019-12-09 16:59:06 CET (1575907146) 0.0   4.2

LOOP 2019-12-09 16:59:47 CET (1575907187) 0.0   4.2

REC  2019-12-09 16:59:00 CET (1575907140) 0.0   4.2

LOOP 2019-12-09 17:00:06 CET (1575907206) 0.0   4.2

LOOP 2019-12-09 17:00:06 CET (1575907206) 0.0   4.2


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/c6c52023-91a1-4bf9-b8ed-d7df59295bd2%40googlegroups.com.


[weewx-user] Re: Rain rate too high with SDR driver?

2019-12-12 Thread S1m0n3
Il giorno domenica 25 novembre 2018 21:58:25 UTC+1, S1m0n3 ha scritto:
> Hello to all, I've installed weewx with SDR driver to my raspberry to 
> intercept signals from my WH3080, all it's ok (except report to the 
> Wunderground that I understood by some forum posts that has been fixed in the 
> 3.9 version in development). But I have a big issue with rain rate and rain 
> accu...  it seems really exaggerated... Today I've registered... 
> 
> Today's Rain177.0 mmHigh Rain Rate48.0 mm/hr at 01:51:00
> 
> 
> 
> That isn't much credible... The station sends rain total of the day so weewx 
> must calculate the rain rate.
> 
> 
> this is sensor map
> 
> 
> 
>   [[sensor_map]]
>         windGust = wind_gust.201.FOWHx080Packet
>         outBatteryStatus = battery.201.FOWHx080Packet
>         rain_total = rain_total.201.FOWHx080Packet
>         windSpeed = wind_speed.201.FOWHx080Packet
>         windDir = wind_dir.201.FOWHx080Packet
>         outHumidity = humidity.201.FOWHx080Packet
>         outTemp = temperature.201.FOWHx080Packet
>   UV = uv_index.95.FOWH3080Packet
>   radiation = radiation.95.FOWH3080Packet
> 
> 
> maybe I have to add deltas for rain? 

Any idea? 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/b05d05ee-85a0-409c-a268-df92401c903c%40googlegroups.com.


[weewx-user] Re: Installing rtl-sdr and rtl-433 on Raspberry Pi

2019-12-12 Thread Gert Andersen
Hi Ian

Great, up and running with 868MHz.

Rgds
Gert


On Thursday, December 12, 2019 at 11:48:22 AM UTC+1, Gert Andersen wrote:
>
> Hi
>
> I'm new to WeeWx and I'm trying to install the SDR software. I have 
> followed this guide https://github.com/weewx/weewx/wiki/sdr-rpi-recipe. I 
> get an error as You can see on the screenshot.
>
> It is the first time I'm using the SDR software, so I really don't know 
> where to look.
>
> Any ideas and thanks for your help?
>
> Rgds
> Gert
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/d94f6b5a-60a0-4d9e-9ea9-e098b06d2b6e%40googlegroups.com.


Re: [weewx-user] Re: Installing rtl-sdr and rtl-433 on Raspberry Pi

2019-12-12 Thread steeple ian
Sensor map something like this:-

[[sensor_map]]

outTemp = temperature.71.FOWH65BPacket
windSpeed = wind_speed.71.FOWH65BPacket
UV = uv_index.71.FOWH65BPacket
light = light.71.FOWH65BPacket
outBatteryStatus = battery.71.FOWH65BPacket
outHumidity = humidity.71.FOWH65BPacket
windDir = wind_dir.71.FOWH65BPacket
windGust = wind_gust.71.FOWH65BPacket
rain_total = rain_total.71.FOWH65BPacket
inTemp = temperature.233.FOWH32BPacket
inHumidity = humidity.233.FOWH32BPacket
barometer = pressure.233.FOWH32BPacket
inTempBatteryStatus = battery.233.FOWH32BPacket

Then in calibrate section:-

[StdCalibrate]

[[Corrections]]
# For each type, an arbitrary calibration expression can be given.
# It should be in the units defined in the StdConvert section.
# Example:
foo = foo + 0.2
radiation = light * 0.007893 if light is not None else None


On Thu, 12 Dec 2019 at 12:08, steeple ian  wrote:

>
>
> On Thu, 12 Dec 2019 at 12:04, steeple ian  wrote:
>
>> driver = user.sdr
>> path = /usr/local/bin
>> cmd = rtl_433 -f 868M -s 1024k -M utc -F json -R 78
>>
>>
>> On Thu, 12 Dec 2019 at 11:55, Gert Andersen 
>> wrote:
>>
>>> Hi Ian
>>>
>>> Thanks for the tip. I have overlooked that part.
>>> Now I just need to shift the the right freq. I need 868 MHz instead of
>>> 433Mhz
>>>
>>> Rgds
>>> Gert
>>>
>>> On Thursday, December 12, 2019 at 11:48:22 AM UTC+1, Gert Andersen wrote:

 Hi

 I'm new to WeeWx and I'm trying to install the SDR software. I have
 followed this guide https://github.com/weewx/weewx/wiki/sdr-rpi-recipe.
 I get an error as You can see on the screenshot.

 It is the first time I'm using the SDR software, so I really don't know
 where to look.

 Any ideas and thanks for your help?

 Rgds
 Gert

>>> --
>>> 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.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/weewx-user/29ea46ea-8060-4fdf-85b7-77bd1a76ae8e%40googlegroups.com
>>> 
>>> .
>>>
>>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CADASSaR8Of-_Ofc0anNPweT7j5D3vY0b2a%3D1k%2B4CwY00kTF4MQ%40mail.gmail.com.


Re: [weewx-user] Re: Installing rtl-sdr and rtl-433 on Raspberry Pi

2019-12-12 Thread steeple ian
On Thu, 12 Dec 2019 at 12:04, steeple ian  wrote:

> driver = user.sdr
> path = /usr/local/bin
> cmd = rtl_433 -f 868M -s 1024k -M utc -F json -R 78
>
>
> On Thu, 12 Dec 2019 at 11:55, Gert Andersen 
> wrote:
>
>> Hi Ian
>>
>> Thanks for the tip. I have overlooked that part.
>> Now I just need to shift the the right freq. I need 868 MHz instead of
>> 433Mhz
>>
>> Rgds
>> Gert
>>
>> On Thursday, December 12, 2019 at 11:48:22 AM UTC+1, Gert Andersen wrote:
>>>
>>> Hi
>>>
>>> I'm new to WeeWx and I'm trying to install the SDR software. I have
>>> followed this guide https://github.com/weewx/weewx/wiki/sdr-rpi-recipe.
>>> I get an error as You can see on the screenshot.
>>>
>>> It is the first time I'm using the SDR software, so I really don't know
>>> where to look.
>>>
>>> Any ideas and thanks for your help?
>>>
>>> Rgds
>>> Gert
>>>
>> --
>> 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.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/29ea46ea-8060-4fdf-85b7-77bd1a76ae8e%40googlegroups.com
>> 
>> .
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CADASSaSDD0CEUvxSferK-d%2BWb7mWQHDUsoaTwqJvWwZAFq7XQQ%40mail.gmail.com.


Re: [weewx-user] Re: Installing rtl-sdr and rtl-433 on Raspberry Pi

2019-12-12 Thread steeple ian
driver = user.sdr
path = /usr/local/bin
cmd = rtl_433 -f 868M -s 1024k -M utc -F json -R 78


On Thu, 12 Dec 2019 at 11:55, Gert Andersen  wrote:

> Hi Ian
>
> Thanks for the tip. I have overlooked that part.
> Now I just need to shift the the right freq. I need 868 MHz instead of
> 433Mhz
>
> Rgds
> Gert
>
> On Thursday, December 12, 2019 at 11:48:22 AM UTC+1, Gert Andersen wrote:
>>
>> Hi
>>
>> I'm new to WeeWx and I'm trying to install the SDR software. I have
>> followed this guide https://github.com/weewx/weewx/wiki/sdr-rpi-recipe.
>> I get an error as You can see on the screenshot.
>>
>> It is the first time I'm using the SDR software, so I really don't know
>> where to look.
>>
>> Any ideas and thanks for your help?
>>
>> Rgds
>> Gert
>>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/29ea46ea-8060-4fdf-85b7-77bd1a76ae8e%40googlegroups.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CADASSaRB%3DLsXStgp_PXiTCe8-D0RDV6_s9uirp%2BGDtXmDi1bnA%40mail.gmail.com.


[weewx-user] Re: Installing rtl-sdr and rtl-433 on Raspberry Pi

2019-12-12 Thread Gert Andersen
Hi Ian

Thanks for the tip. I have overlooked that part.
Now I just need to shift the the right freq. I need 868 MHz instead of 
433Mhz

Rgds
Gert 

On Thursday, December 12, 2019 at 11:48:22 AM UTC+1, Gert Andersen wrote:
>
> Hi
>
> I'm new to WeeWx and I'm trying to install the SDR software. I have 
> followed this guide https://github.com/weewx/weewx/wiki/sdr-rpi-recipe. I 
> get an error as You can see on the screenshot.
>
> It is the first time I'm using the SDR software, so I really don't know 
> where to look.
>
> Any ideas and thanks for your help?
>
> Rgds
> Gert
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/29ea46ea-8060-4fdf-85b7-77bd1a76ae8e%40googlegroups.com.


Re: [weewx-user] Installing rtl-sdr and rtl-433 on Raspberry Pi

2019-12-12 Thread steeple ian
Hi Gert,
Have you tried to blacklist? See the trouble shooting section at the end of
the recipe instructions.
Ian

On Thu, 12 Dec 2019 at 10:48, Gert Andersen  wrote:

> Hi
>
> I'm new to WeeWx and I'm trying to install the SDR software. I have
> followed this guide https://github.com/weewx/weewx/wiki/sdr-rpi-recipe. I
> get an error as You can see on the screenshot.
>
> It is the first time I'm using the SDR software, so I really don't know
> where to look.
>
> Any ideas and thanks for your help?
>
> Rgds
> Gert
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/073287b4-9583-46b9-867f-3aa496ba38d2%40googlegroups.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CADASSaTPLmhZiRiV0gTU%3D5v%2BdL6g91fc4h0iQ81ii2wP-KCRWw%40mail.gmail.com.


[weewx-user] Installing rtl-sdr and rtl-433 on Raspberry Pi

2019-12-12 Thread Gert Andersen
Hi

I'm new to WeeWx and I'm trying to install the SDR software. I have 
followed this guide https://github.com/weewx/weewx/wiki/sdr-rpi-recipe. I 
get an error as You can see on the screenshot.

It is the first time I'm using the SDR software, so I really don't know 
where to look.

Any ideas and thanks for your help?

Rgds
Gert

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/073287b4-9583-46b9-867f-3aa496ba38d2%40googlegroups.com.


Re: [weewx-user] WMR300A -> Wunderground, no rain data

2019-12-12 Thread Alberto Sánchez
I have had the same issue and I have solved it in the same way...

El domingo, 14 de abril de 2019, 7:13:33 (UTC+2), Leon Shaner escribió:
>
> Hey, Cameron,
>
> You are absolutely right!  I did some digging and determined that my 
> WMR300 is set to 1 minute internal data logging interval, which is good 
> only for 22 days and has been full since 2016!  I confirmed this by moving 
> my SD card to a faster RPI and starting from a fresh weewx.sdb, and watched 
> as it pulled in less than a month's worth of data from July of 2016, then 
> said it was done processing the data from the unit.
>
> I found the right doc on how to clear the WMR300's internal data log.
> I'll set a reminder to do so every other Sunday.
>
> It would be nice if the WeeWX WMR300 driver could automatically do a 
> weekly purge of the oldest 1 week's worth of data.  That would keep it well 
> below the default 22 day limit.
>
> I saw mention in the comments in the driver that the protocol does support 
> purging of records after reading them.
> Of course what is unclear is if you do purge the oldest 1-week worth of 
> data does that actually free up space to allow the next week going forward?
> Probably deserves some experimentation.  :-/
>
> Anyway, thanks for the note.  =D
>
> Here's that doc.  Bear in mind the rain counter is reset separately by 
> touching the rain display a few times until it say "ACCUM" and then you can 
> hold the MEM button there to reset it.  If it's full it says HHH for the 
> total accumulation of rain.
>
> I think I will write a mod and submit it via github to have a warning when 
> the rain limit is at 90%.  =D
>
>
> [image: image1.png]
>
> Regards,
> Leon
> --
> Leon Shaner :: Dearborn, Michigan (iPad Pro)
>
> On Apr 13, 2019, at 4:05 PM, Cameron D  > wrote:
>
> Hi Leon,
> it seems you still have a problem with the archive data.  As far as I 
> recall the history in the console does not wrap around, so once it is full 
> then the console never saves any more.
>
> Your version of the driver is set to clear the history after it reaches 
> 20% however your last index value looks to me greater than mine was when it 
> was classed as full.
> I suspect there is a bug in the code that means the unexpected high index 
> count results in it not clearing at all. 
>
> Your firmware version A04 is the same as mine.  Did you ever do a firmware 
> update?
>
> I would recommend a factory reset because I can't be sure how to tackle a 
> history clear that has to read beyond what I think is the end of the buffer.
>
> Cameron
>
> -- 
> 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...@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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/290daa35-a32c-476c-a60b-1aa62851c8d2%40googlegroups.com.