[weewx-user] Re: meteostick driver issues with wind direction and wee_device

2017-04-11 Thread Sef Konings
Thanks Luc !

Op dinsdag 11 april 2017 05:53:48 UTC+2 schreef Luc Heijst:
>
> Hi Sef,
> txBatteryStatus contain 0 for ISS battery OK and 1 for ISS battery low.
> There is no data of the ISS battery voltage. The supercap voltage can only 
> be received from a Vantage Vue.
> Luc

-- 
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: v3.7.1 - WMR 300 - WeeWxIOError: [Errno 110]

2017-04-11 Thread Miguel Iniesta
Hello Matthew,

Tried without success.
Log attached.

Thank you.

On Tuesday, April 11, 2017 at 9:44:41 PM UTC+2, mwall wrote:
>
> miguel,
>
> please try the attached wmr300-0.19rc2.py and post the log
>
> m
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Apr 11 22:08:53 dante kernel: [ 1049.193235] usb 1-4: new full-speed USB device 
number 4 using xhci_hcd
Apr 11 22:08:53 dante kernel: [ 1049.337247] usb 1-4: New USB device found, 
idVendor=0fde, idProduct=ca08
Apr 11 22:08:53 dante kernel: [ 1049.337263] usb 1-4: New USB device strings: 
Mfr=1, Product=2, SerialNumber=0
Apr 11 22:08:53 dante kernel: [ 1049.337272] usb 1-4: Product: USB HID 
Bootloader
Apr 11 22:08:53 dante kernel: [ 1049.337282] usb 1-4: Manufacturer: Microchip 
Technology Inc.
Apr 11 22:08:53 dante mtp-probe: checking bus 1, device 4: 
"/sys/devices/pci:00/:00:14.0/usb1/1-4"
Apr 11 22:08:53 dante mtp-probe: bus: 1, device: 4 was not an MTP device
Apr 11 22:08:53 dante kernel: [ 1049.395615] usbcore: registered new interface 
driver usbhid
Apr 11 22:08:53 dante kernel: [ 1049.395622] usbhid: USB HID core driver
Apr 11 22:08:53 dante kernel: [ 1049.413440] hid-generic 0003:0FDE:CA08.0001: 
hiddev0,hidraw0: USB HID v1.11 Device [Microchip Technology Inc. USB HID 
Bootloader] on usb-:00:14.0-4/input0
Apr 11 22:10:04 dante systemd[1]: Starting LSB: weewx weather system...
Apr 11 22:10:04 dante weewx[1306]:  * Starting weewx weather system weewx
Apr 11 22:10:04 dante weewx[1317]: engine: Initializing weewx version 3.7.1
Apr 11 22:10:04 dante weewx[1317]: engine: Using Python 2.7.12 (default, Nov 19 
2016, 06:48:10) #012[GCC 5.4.0 20160609]
Apr 11 22:10:04 dante weewx[1317]: engine: Platform 
Linux-4.8.0-46-generic-x86_64-with-Ubuntu-16.04-xenial
Apr 11 22:10:04 dante weewx[1317]: engine: Locale is 
'LC_CTYPE=en_US.UTF-8;LC_NUMERIC=es_ES.UTF-8;LC_TIME=es_ES.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=es_ES.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=es_ES.UTF-8;LC_NAME=es_ES.UTF-8;LC_ADDRESS=es_ES.UTF-8;LC_TELEPHONE=es_ES.UTF-8;LC_MEASUREMENT=es_ES.UTF-8;LC_IDENTIFICATION=es_ES.UTF-8'
Apr 11 22:10:04 dante weewx[1317]: engine: pid file is /var/run/weewx.pid
Apr 11 22:10:04 dante weewx[1306]:...done.
Apr 11 22:10:04 dante systemd[1]: Started LSB: weewx weather system.
Apr 11 22:10:04 dante weewx[1321]: engine: Using configuration file 
/home/weewx/weewx.conf
Apr 11 22:10:04 dante weewx[1321]: engine: debug is 1
Apr 11 22:10:04 dante weewx[1321]: engine: Initializing engine
Apr 11 22:10:04 dante weewx[1321]: engine: Loading station type WMR300 
(weewx.drivers.wmr300)
Apr 11 22:10:04 dante weewx[1321]: wmr300: driver version is 0.19rc2
Apr 11 22:10:04 dante weewx[1321]: wmr300: usb info: pyusb_version=1.0.0b2
Apr 11 22:10:04 dante weewx[1321]: wmr300: sensor map is {'outHumidity': 
'humidity_1', 'extraDewpoint6': 'dewpoint_7', 'windchill': 'windchill', 
'extraDewpoint4': 'dewpoint_5', 'rainRate': 'rain_rate', 'heatindex': 
'heatindex_1', 'inTemp': 'temperature_0', 'windGustDir': 'wind_gust_dir', 
'extraDewpoint2': 'dewpoint_3', 'extraDewpoint3': 'dewpoint_4', 
'extraDewpoint1': 'dewpoint_2', 'barometer': 'barometer', 'extraDewpoint7': 
'dewpoint_8', 'dewpoint': 'dewpoint_1', 'extraDewpoint5': 'dewpoint_6', 
'extraHumid6': 'humidity_7', 'pressure': 'pressure', 'extraHumid4': 
'humidity_5', 'extraHumid5': 'humidity_6', 'extraHumid2': 'humidity_3', 
'extraHumid3': 'humidity_4', 'extraHumid1': 'humidity_2', 'extraTemp6': 
'temperature_7', 'extraTemp7': 'temperature_8', 'extraTemp4': 'temperature_5', 
'extraTemp5': 'temperature_6', 'extraTemp2': 'temperature_3', 'extraTemp3': 
'temperature_4', 'extraTemp1': 'temperature_2', 'extraHeatindex3': 
'heatindex_4', 'extraHeatindex2': 'heatindex_3', 'extraHeatindex1': 
'heatindex_2', 'extraHeatindex7': 'heatindex_8', 'extraHeatindex6': 
'heatindex_7', 'extraHeatindex5': 'heatindex_6', 'extraHumid7': 'humidity_8', 
'extraHeatindex4': 'heatindex_5', 'windDir': 'wind_dir', 'outTemp': 
'temperature_1', 'windSpeed': 'wind_avg', 'inHumidity': 'humidity_0', 
'windGust': 'wind_gust'}
Apr 11 22:10:05 dante weewx[1321]: wmr300: Found station at bus= device=
Apr 11 22:10:05 dante kernel: [ 1121.059743] usb 1-4: reset full-speed USB 
device number 4 using xhci_hcd
Apr 11 22:10:05 dante weewx[1321]: engine: Loading service 
weewx.engine.StdTimeSynch
Apr 11 22:10:05 dante weewx[1321]: engine: Finished loading service 
weewx.engine.StdTimeSynch
Apr 11 22:10:05 dante weewx[1321]: engine: Loading service 
weewx.engine.StdConvert
Apr 11 22:10:05 dante weewx[1321]: engine: StdConvert target unit is 0x1
Apr 11 22:10:05 dante weewx[1321]: engine: Finished loading service 
weewx.engine.StdConvert
Apr 11 22:10:05 dante weewx[1321]: engine: Loading service 
weewx.engine.StdCalibrate
Apr 

[weewx-user] Re: sdr drive Acurite 5-in-1 rain doesn't seem to be reporting - preliminary

2017-04-11 Thread Craig Thom
Thank you for your reply.

The problem was that I had not included

[[deltas]]
rain = rain_total



In my defense, [[deltas]] wasn't mentioned in the README.  I found it in 
the sdr.py file itself.

Nine tips of the bucket just produced "rain" of 0.0694

It seems obvious in retrospect that this was needed.

On Tuesday, April 11, 2017 at 1:16:00 PM UTC-4, mwall wrote:
>
> On Tuesday, April 11, 2017 at 12:40:16 PM UTC-4, Craig Thom wrote:
>>
>> My display shows 0.38" of rain today.
>>
>> rtl_433 show an increase of raincounter_raw from 704 to 734 while I was 
>> away (at  0.01" per tick that's 0.3", but "rainfall_accumulation" is still 
>> 0.
>>
>
> the sdr driver only looks for raincounter_raw
>
> please run weewxd directly, then tip the rain bucket.  post the LOOP/REC 
> data from before and after the bucket tip.
>
> also post the [SDR] stanza from your weewx configuration.
>
> m
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: v3.7.1 - WMR 300 - WeeWxIOError: [Errno 110]

2017-04-11 Thread mwall
miguel,

please try the attached wmr300-0.19rc2.py and post the log

m

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
#!/usr/bin/env python
# Copyright 2015 Matthew Wall
# See the file LICENSE.txt for your rights.
#
# Credits:
# Thanks to Benji for the identification and decoding of 7 packet types
#
# Thanks to Eric G for posting USB captures and providing hardware for testing
#   https://groups.google.com/forum/#!topic/weewx-development/5R1ahy2NFsk
#
# Thanks to Zahlii
#   https://bsweather.myworkbook.de/category/weather-software/
#
# No thanks to oregon scientific - repeated requests for hardware and/or
# specifications resulted in no response at all.

# TODO: figure out battery level for each sensor
# TODO: figure out signal strength for each sensor
# TODO: figure out archive interval

# FIXME: figure out unknown bytes in history packet

# FIXME: decode the 0xdb packets

# FIXME: the read/write logic is rather brittle.  it appears that communication
# must be initiated with an interrupt write.  after that, the station will
# spew data.  this implementation starts with a read, which will fail with
# a 'No data available' usb error.  that results in an empty buffer (instead
# of an exception popping up the stack) so that a heartbeat write is sent.
# the genLoopPacket and genStartupRecords logic should be refactored to make
# this behiavor explicit.

# FIXME: deal with initial usb timeout when starting usb communications

# FIXME: warn if altitude in pressure packet does not match weewx altitude

"""Driver for Oregon Scientific WMR300 weather stations.

Sensor data transmission frequencies:
  wind: 2.5 to 3 seconds
TH: 10 to 12 seconds
  rain: 20 to 24 seconds

The station supports 1 wind, 1 rain, 1 UV, and up to 8 temperature/humidity
sensors.

Sniffing USB traffic shows all communication is interrupt.  The endpoint
descriptors for the device show this as well.  Response timing is 1.

The station ships with "Weather OS PRO" software for windows.  This was used
for the USB sniffing.

Internal observation names use the convention name_with_specifier.  These are
mapped to the wview or other schema as needed with a configuration setting.
For example, for the wview schema, wind_speed maps to windSpeed, temperature_0
maps to inTemp, and humidity_1 maps to outHumidity.

Maximum value for rain counter is 400 in (10160 mm) (4 = 0x9c 0x40).  The
counter does not wrap; it must be reset when it hits maximum value otherwise
rain data will not be recorded.


Message types -

packet types from station:
57 - station type/model; history count
41 - ACK
D2 - history; 128 bytes
D3 - temperature/humidity/dewpoint/heatindex; 61 bytes
D4 - wind/windchill; 54 bytes
D5 - rain; 40 bytes
D6 - pressure; 46 bytes
DB - forecast; 32 bytes
DC - temperature/humidity ranges; 62 bytes

packet types from host:
A6 - heartbeat
41 - ACK
65 - ? each of these is ack-ed by the station
cd - ? start history request? last two bytes are one after most recent read
35 - ? finish history request? last two bytes are latest record count
72 - ?
73 - ?

notes:
WOP sends A6 message every 20 seconds
WOP requests history at startup, then again every 120 minutes
each A6 is followed by a 57 from the station
each data packet D* from the station is followed by an ack packet 41 from host
D2 (history) records are recorded every minute
D6 (pressure) packets seem to come every 15 minutes (900 seconds)
4,5 of 7x match 12,13 of 57


Message field decodings ---

Values are stored in 1 to 3 bytes in big endian order.  Negative numbers are
stored as Two's Complement (if the first byte starts with F it is a negative
number).

no data:
 7f ff

values for channel number:
0 - console sensor
1 - sensor 1
2 - sensor 2
...
8 - sensor 8

values for trend:
0 - steady
1 - rising
2 - falling

bitwise transformation for compass direction:
1000    = NNW
0100    = NW
0010    = WNW
0001    = W
 1000   = WSW
 0100   = SW
 0010   = SSW
 0001   = S
  1000  = SSE
  0100  = SE
  0010  = ESE
  0001  = E
   1000 = ENE
   0100 = NE
   0010 = NNE
   0001 = N 

values for forecast:
0x08 - cloudy
0x0c - rainy
0x1e - partly cloudy
0x0e - partly cloudy at night
0x70 - sunny
0x00 - clear night


Message decodings -

message: ACK
byte hex dec description decoded value
 0   41  A   acknowledgement ACK
 1   43  C
 2   4b  K
 3   73
 4   e5
 5   0a
 6   26
 7   0e
 8   c1

ex

[weewx-user] Re: v3.7.1 - WMR 300 - WeeWxIOError: [Errno 110]

2017-04-11 Thread Miguel Iniesta
Hello,

I've tried v3.7.1 on a laptop also running Ubuntu 16.04. It's a Dell 
Inspiron 3552 (Pentium N3700 - 4GB RAM).
Same error is logged. Attached.
I hope It can help.

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.
Apr 11 18:52:53 cicero kernel: [ 1948.938871] usb 1-2.3: new full-speed USB 
device number 7 using xhci_hcd
Apr 11 18:52:53 cicero kernel: [ 1949.043498] usb 1-2.3: New USB device found, 
idVendor=0fde, idProduct=ca08
Apr 11 18:52:53 cicero kernel: [ 1949.043515] usb 1-2.3: New USB device 
strings: Mfr=1, Product=2, SerialNumber=0
Apr 11 18:52:53 cicero kernel: [ 1949.043526] usb 1-2.3: Product: USB HID 
Bootloader
Apr 11 18:52:53 cicero kernel: [ 1949.043537] usb 1-2.3: Manufacturer: 
Microchip Technology Inc.
Apr 11 18:52:53 cicero mtp-probe: checking bus 1, device 7: 
"/sys/devices/pci:00/:00:14.0/usb1/1-2/1-2.3"
Apr 11 18:52:53 cicero mtp-probe: bus: 1, device: 7 was not an MTP device
Apr 11 18:52:53 cicero kernel: [ 1949.129756] usbcore: registered new interface 
driver usbhid
Apr 11 18:52:53 cicero kernel: [ 1949.129761] usbhid: USB HID core driver
Apr 11 18:52:53 cicero kernel: [ 1949.181332] hid-generic 0003:0FDE:CA08.0002: 
hiddev0,hidraw1: USB HID v1.11 Device [Microchip Technology Inc. USB HID 
Bootloader] on usb-:00:14.0-2.3/input0
Apr 11 18:54:08 cicero weewx[10244]: engine: Initializing weewx version 3.7.1
Apr 11 18:54:08 cicero weewx[10244]: engine: Using Python 2.7.12 (default, Nov 
19 2016, 06:48:10) #012[GCC 5.4.0 20160609]
Apr 11 18:54:08 cicero weewx[10244]: engine: Platform 
Linux-4.8.0-46-generic-x86_64-with-Ubuntu-16.04-xenial
Apr 11 18:54:08 cicero weewx[10244]: engine: Locale is 
'LC_CTYPE=en_US.UTF-8;LC_NUMERIC=es_ES.UTF-8;LC_TIME=es_ES.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=es_ES.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=es_ES.UTF-8;LC_NAME=es_ES.UTF-8;LC_ADDRESS=es_ES.UTF-8;LC_TELEPHONE=es_ES.UTF-8;LC_MEASUREMENT=es_ES.UTF-8;LC_IDENTIFICATION=es_ES.UTF-8'
Apr 11 18:54:08 cicero weewx[10244]: engine: Using configuration file 
/home/weewx/weewx.conf
Apr 11 18:54:08 cicero weewx[10244]: engine: Loading station type WMR300 
(weewx.drivers.wmr300)
Apr 11 18:54:08 cicero weewx[10244]: wmr300: driver version is 0.18
Apr 11 18:54:08 cicero weewx[10244]: wmr300: usb info: pyusb_version=1.0.0b2
Apr 11 18:54:08 cicero weewx[10244]: wmr300: sensor map is {'outHumidity': 
'humidity_1', 'extraDewpoint6': 'dewpoint_7', 'windchill': 'windchill', 
'extraDewpoint4': 'dewpoint_5', 'rainRate': 'rain_rate', 'heatindex': 
'heatindex_1', 'inTemp': 'temperature_0', 'windGustDir': 'wind_gust_dir', 
'extraDewpoint2': 'dewpoint_3', 'extraDewpoint3': 'dewpoint_4', 
'extraDewpoint1': 'dewpoint_2', 'barometer': 'barometer', 'extraDewpoint7': 
'dewpoint_8', 'dewpoint': 'dewpoint_1', 'extraDewpoint5': 'dewpoint_6', 
'extraHumid6': 'humidity_7', 'pressure': 'pressure', 'extraHumid4': 
'humidity_5', 'extraHumid5': 'humidity_6', 'extraHumid2': 'humidity_3', 
'extraHumid3': 'humidity_4', 'extraHumid1': 'humidity_2', 'extraTemp6': 
'temperature_7', 'extraTemp7': 'temperature_8', 'extraTemp4': 'temperature_5', 
'extraTemp5': 'temperature_6', 'extraTemp2': 'temperature_3', 'extraTemp3': 
'temperature_4', 'extraTemp1': 'temperature_2', 'extraHeatindex3': 
'heatindex_4', 'extraHeatindex2': 'heatindex_3', 'extraHeatindex1': 
'heatindex_2', 'extraHeatindex7': 'heatindex_8', 'extraHeatindex6': 
'heatindex_7', 'extraHeatindex5': 'heatindex_6', 'extraHumid7': 'humidity_8', 
'extraHeatindex4': 'heatindex_5', 'windDir': 'wind_dir', 'outTemp': 
'temperature_1', 'windSpeed': 'wind_avg', 'inHumidity': 'humidity_0', 
'windGust': 'wind_gust'}
Apr 11 18:54:08 cicero kernel: [ 2023.854523] usb 1-2.3: reset full-speed USB 
device number 7 using xhci_hcd
Apr 11 18:54:08 cicero weewx[10244]: engine: StdConvert target unit is 0x1
Apr 11 18:54:08 cicero weewx[10244]: wxcalculate: The following values will be 
calculated: barometer=prefer_hardware, windchill=hardware, dewpoint=hardware, 
appTemp=prefer_hardware, rainRate=hardware, windrun=prefer_hardware, 
heatindex=hardware, maxSolarRad=prefer_hardware, humidex=prefer_hardware, 
pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, 
altimeter=prefer_hardware, cloudbase=prefer_hardware
Apr 11 18:54:08 cicero weewx[10244]: wxcalculate: The following algorithms will 
be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Apr 11 18:54:08 cicero weewx[10244]: engine: Archive will use data binding 
wx_binding
Apr 11 18:54:08 cicero weewx[10244]: engine: Record generation will be 
attempted in 'hardware'
Apr 11 18:54:08 cicero weewx[10244]: engine: Using archive interval of 300 
seconds (specified in weewx configuration)
Apr 11 18:54:08 cicero weewx[10244]: manager: Created and initialized table 
'arc

[weewx-user] Re: sdr drive Acurite 5-in-1 rain doesn't seem to be reporting - preliminary

2017-04-11 Thread mwall
On Tuesday, April 11, 2017 at 12:40:16 PM UTC-4, Craig Thom wrote:
>
> My display shows 0.38" of rain today.
>
> rtl_433 show an increase of raincounter_raw from 704 to 734 while I was 
> away (at  0.01" per tick that's 0.3", but "rainfall_accumulation" is still 
> 0.
>

the sdr driver only looks for raincounter_raw

please run weewxd directly, then tip the rain bucket.  post the LOOP/REC 
data from before and after the bucket tip.

also post the [SDR] stanza from your weewx configuration.

m

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: sdr drive Acurite 5-in-1 rain doesn't seem to be reporting - preliminary

2017-04-11 Thread Craig Thom
My display shows 0.38" of rain today.

rtl_433 show an increase of raincounter_raw from 704 to 734 while I was 
away (at  0.01" per tick that's 0.3", but "rainfall_accumulation" is still 
0.

It appears to be the SDR driver, right?

{"time" : "2017-04-11 12:35:54", "model" : "Acurite 5n1 sensor", "sensor_id" 
: 1730, "channel" : "A", "sequence_num" : 2, "battery" : "OK", 
"message_type" : 49, "wind_speed" : 0.000, "wind_dir_deg" : 180.000, 
"wind_dir" : "S", "rainfall_accumulation" : 0.000, "raincounter_raw" : 734}



On Tuesday, April 11, 2017 at 8:26:13 AM UTC-4, Craig Thom wrote:
>
> And it's always possible a bird has built a nest in my rain gauge, I 
> guess.  I'll check that later, too.
>
> On Tuesday, April 11, 2017 at 8:23:07 AM UTC-4, Craig Thom wrote:
>>
>> It's raining lightly now, so I can't be sure, but other nearby stations 
>> and the airport not far away are showing accumulation, but I'm not.
>>
>> I've got to go to work now.  When I get home, I'll pour some rain in the 
>> sensor and see what happens.
>>
>> I think the problem is with rtl_433.  Here's the output (with added 
>> carriage returns):
>>
>> {"time" : "2017-04-11 08:13:06", "model" : "Acurite 5n1 sensor", 
>> "sensor_id" : 1730, "channel" : "A",
>> "sequence_num" : 2, "battery" : "OK", "message_type" : 49, "wind_speed" : 
>> 0.000, "wind_dir_deg" : 202.500,
>> "wind_dir" : "SSW", "rainfall_accumulation" : 0.000, "raincounter_raw" : 
>> 706}
>>
>>
>> In my weewx database I've got 0 for rainRate and null for rain.
>>
>> I have
>>
>> rain_total = rain_total.06C2.Acurite5n1Packet
>>
>> in my [[sensor_map]]
>>
>> I have set debug = 2
>>
>> I will do more research when I got home later.
>>
>

-- 
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: sdr drive Acurite 5-in-1 rain doesn't seem to be reporting - preliminary

2017-04-11 Thread Craig Thom
And it's always possible a bird has built a nest in my rain gauge, I guess. 
 I'll check that later, too.

On Tuesday, April 11, 2017 at 8:23:07 AM UTC-4, Craig Thom wrote:
>
> It's raining lightly now, so I can't be sure, but other nearby stations 
> and the airport not far away are showing accumulation, but I'm not.
>
> I've got to go to work now.  When I get home, I'll pour some rain in the 
> sensor and see what happens.
>
> I think the problem is with rtl_433.  Here's the output (with added 
> carriage returns):
>
> {"time" : "2017-04-11 08:13:06", "model" : "Acurite 5n1 sensor", 
> "sensor_id" : 1730, "channel" : "A",
> "sequence_num" : 2, "battery" : "OK", "message_type" : 49, "wind_speed" : 
> 0.000, "wind_dir_deg" : 202.500,
> "wind_dir" : "SSW", "rainfall_accumulation" : 0.000, "raincounter_raw" : 
> 706}
>
>
> In my weewx database I've got 0 for rainRate and null for rain.
>
> I have
>
> rain_total = rain_total.06C2.Acurite5n1Packet
>
> in my [[sensor_map]]
>
> I have set debug = 2
>
> I will do more research when I got home later.
>

-- 
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] sdr drive Acurite 5-in-1 rain doesn't seem to be reporting - preliminary

2017-04-11 Thread Craig Thom
It's raining lightly now, so I can't be sure, but other nearby stations and 
the airport not far away are showing accumulation, but I'm not.

I've got to go to work now.  When I get home, I'll pour some rain in the 
sensor and see what happens.

I think the problem is with rtl_433.  Here's the output (with added 
carriage returns):

{"time" : "2017-04-11 08:13:06", "model" : "Acurite 5n1 sensor", "sensor_id" 
: 1730, "channel" : "A",
"sequence_num" : 2, "battery" : "OK", "message_type" : 49, "wind_speed" : 
0.000, "wind_dir_deg" : 202.500,
"wind_dir" : "SSW", "rainfall_accumulation" : 0.000, "raincounter_raw" : 706
}


In my weewx database I've got 0 for rainRate and null for rain.

I have

rain_total = rain_total.06C2.Acurite5n1Packet

in my [[sensor_map]]

I have set debug = 2

I will do more research when I got home later.

-- 
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: Noob, 3 questions (change graphs, reduce logging, readings from bash)

2017-04-11 Thread stasheck . fora
So, readings from bash:
sqlite3 /home/weewx/archive/weewx.sdb 'SELECT round(inTemp,1), 
round(inHumidity), round(extraTemp1,1), round(extraHumid1), 
round(outTemp,1), round(outHumidity) FROM archive ORDER BY datetime DESC 
LIMIT 1;'

Still, point (1) remains unanswered (I can live with (3) ).

Cheers,
Stan


W dniu poniedziałek, 10 kwietnia 2017 16:34:09 UTC+2 użytkownik 
stashe...@gmail.com napisał:
>
> Hi,
> First of all: successfully running Weewx on Excito B3 (1.2 GHz ARMv5, 
> ArchLinux), using RTL dongle and rtl-sdr plugin, CPU utilization with 3x 
> Prologue sensor is 5-10% - thanks for great software!
>
> Now, 3 questions I couldn't find good answer for, I'm hoping someone can 
> share their own setup.
>
> 1. The Prologue sensors are only giving temp & humidity, so I have 3x temp 
> and 3x humidity. One pair is outside, one pair is bottom floor, one pair is 
> top floor. Question: how can I modify the skin to show those 6 graphs only? 
> (I assume I can't easily source stuff like barometric pressure from 
> outside, not my sensors?)
>
> 2. Weewx is logging a lot, since it works I don't really have a reason to 
> save it all - can someone share their journald config to output those logs 
> to /dev/null? I don't know much about journald configuration.
>
> 3. Is there a way to get the last updates for all sensors from bash? Some 
> sqlite query I can run? Would be useful for other scripts I want to run.
>
> Thanks in advance!
>
> Stan
>

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