Re: [weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2022-07-27 Thread Guido Cioni
Been using weewx-rtldavis for a few weeks now and I'm super happy with the performance. I receive the data from a Davis Vantage Vue ISS only. However, there are a few things that I cannot figure out - The fraction of missed packages/good packages is not saved into the database:

Re: [weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2021-10-18 Thread Lloyd Brown
Rain data. I am running the RTL-SDR program Luc set up on a Raspberry Pi 3 B with the Nooelec NESDR Smart v4 Bundle SDR. I am comparing it to a Raspberry Pi 3 B using a RFM-69 receiver. Everything was working nicely until yesterday which was a sunny rainless day. The SDR setup reported

Re: [weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2021-04-11 Thread Lucas Heijst
In the [StdQC] section set: UV = 100,101 # any other value of UV will be set to None Op maandag 12 april 2021 om 00:06:13 UTC-3 schreef arlen@gmail.com: > No obvious foreign objects/debris, just some (what I believe to be) > dielectric grease. I did pull off the PCB cover and notice that my

Re: [weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2021-04-11 Thread Lucas Heijst
Strange! Could you check the UV connector in your ISS? Maybe there are spiders or bugs there which mess up the readings. Op zondag 11 april 2021 om 16:14:13 UTC-3 schreef arlen@gmail.com: > One more question: > > I noticed that I’m logging UV data, which is not a sensor that I have. I >

Re: [weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2021-04-11 Thread kobuki
Weird, the image lost in transmission, lemme try again... On Sunday, April 11, 2021 at 9:39:17 PM UTC+2 kobuki wrote: > It's not UV for sure. UV looks something like image attached (it was a > cloudy day here). It must be a bogus channel you catch on air or some > metric flagged as UV. It

Re: [weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2021-04-11 Thread kobuki
It's not UV for sure. UV looks something like image attached (it was a cloudy day here). It must be a bogus channel you catch on air or some metric flagged as UV. It looks like barometer data, if anything. On Sunday, April 11, 2021 at 9:14:13 PM UTC+2 arlen@gmail.com wrote: > One more

Re: [weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2021-04-09 Thread Arlen Abraham
Perfect, thank you. I was just googling around for something like this. On Fri, Apr 9, 2021 at 19:15 storm...@gmail.com wrote: > You can use a BME280 sensor for the pressure. Here is one I use: >

Re: [weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2021-04-09 Thread storm...@gmail.com
You can use a BME280 sensor for the pressure. Here is one I use: https://www.amazon.com/Adafruit-BME280-Temperature-Humidity-Pressure/dp/B013W1AJUY/ref=sr_1_7?dchild=1=bme280=1618020646=8-7 I been using this driver for a couple of years without any issues on one of my RPIs. On Friday, April

Re: [weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2021-04-09 Thread Arlen Abraham
Well that would certainly do it. Thank you for your help! On Fri, Apr 9, 2021 at 12:22 PM Lucas Heijst wrote: > The pressure sensor is in the Davis console; you can’t read this data with > this driver. > > Op vrijdag 9 april 2021 om 16:06:21 UTC-3 schreef arlen@gmail.com: > >> Hi Luc, >> >>

Re: [weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2021-04-09 Thread Lucas Heijst
The pressure sensor is in the Davis console; you can’t read this data with this driver. Op vrijdag 9 april 2021 om 16:06:21 UTC-3 schreef arlen@gmail.com: > Hi Luc, > > Ok I took a look at the weewx web interface and it does look like it's > receiving data, which is good! I had not checked

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2021-04-09 Thread Lucas Heijst
Hi Arlen, Running weewx directly seems to be broken. I have to look at that. Please set debug=1 in weewx.conf and run weewx as a daemon. Then send the log file from start till the first error. Op vrijdag 9 april 2021 om 03:53:36 UTC-3 schreef arlen@gmail.com: > Hi Luc, > > Sorry for the

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2021-04-09 Thread Arlen Abraham
Hi Luc, Sorry for the thread necromancy but I'm not really sure what the norms are around starting new threads or opening github issues. I'm having the same issue as uvedhe, but I believe that I am getting data, it just takes a while. For example, here's what happens when I run rtldavis

Re: [weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2020-09-29 Thread Germano S
Hello, Thank you both for the advise. I recompiled the driver with DENABLE_ZEROCOPY=0 and that did not help. i tried using -u and i didn't get any extra output. Randomly it will not set the power correctly, I will set -gain 338 for example and still get 0db I will have a revisit of the

Re: [weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2020-09-25 Thread Steve Wormley
If you're using the version from: https://github.com/lheijst/rtldavis it should just work provided you told it "-tr US" and provided any ppm correction. Now, the one problem you may have is if you're using the system provided librtlsdr, and if it's saying something about Zero Copy Buffers, not

Re: [weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2020-09-25 Thread Steve Wormley
I'd try a couple things, 1. add "-u true" to see if it's picking up any transmitters on any channel. And try specifying a gain value "-gain 338" or so, 0 should be automatic gain, but it never hurts to try to set it yourself. It's odd that it's reporting the SetFreqCorrection as '0' but it

Re: [weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2020-09-23 Thread Germano Soru
Thank you Steve for the quick response. (sorry i think it sent it directly to your email) I am using an x86/x64 system. I have tried with both the one bundled with Debian and the compiled one linked in the git repo. Occasionally the Zero buffer does pop up, there are no errors or warnings that

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-05-10 Thread rich T
Luc Is there a way to put the Channel Id, Channel Freq, and Error into the LOOP packet with the data? I looked through rtldavis.py but could not find a the spot. Rich > -- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-05-08 Thread Lucas Heijst
Hi uvedhe, Let me start with your Ventus W830 station. You can read its data with the weewx intercepter driver. Go to the weewx-user forum and search for Ventus W830. There are three forum items referring to this station. When you have problems with installing or configuring the intercepter

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-05-08 Thread uvedhe
Hi Luc, Thanks for your quick response! I tried the -ppm adjustments, but to no avail. As I said, I'm new to all of this so it might well be that I haven't fully understood how things work. Let me give you some more background information in the hope it clarifies things a little: What I'm

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-05-08 Thread Lucas Heijst
> > uvedhe wrote on github : > I will answer this in the weewx-rtldavis topic in the weewx-development > forum. > Luc > uvedhe commented 14 hours ago > > I can successfully run $GOPATH/bin/rtldavis

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-05-08 Thread Lucas Heijst
uvedhe wrote on github the following comment. I will answer this in the weewx-rtldavis topic in the weewx-development forum. Luc uvedhe commented 14 hours ago I'm trying to read in wind data from my

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-05-01 Thread rich T
Luc You were correct, I missed the rain bucket setting in the weewx config file. Thanks Rich On Wednesday, May 1, 2019 at 8:00:41 AM UTC-4, ljm@gmail.com wrote: > > On Sunday, 28 April 2019 11:36:14 UTC-3, rich T wrote: >> >> Right now all my consoles (Davis and Acurite) indicate 0.09

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-05-01 Thread ljm . heijst
On Sunday, 28 April 2019 11:36:14 UTC-3, rich T wrote: > > Right now all my consoles (Davis and Acurite) indicate 0.09 inches fell > but the driver is indicating 0.07 inches. > Rich, You must have set the default rain_bucket_type = 1 (0.2 mm). For US it should be set to 0 (0.01 inch) When I

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-05-01 Thread rich T
Luc Will check later this evening, when I get back into the area. Rich On Wednesday, May 1, 2019 at 4:17:37 AM UTC-4, ljm@gmail.com wrote: > Rich, > What is the value of rain_bucket_type in weewx.conf? Default it is set to > 1 (0.2) mm. > Luc

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-29 Thread rich T
Thanks Luc. Will set the Debug and track it. Rich On Monday, April 29, 2019 at 5:09:02 PM UTC-4, ljm@gmail.com wrote: > On Sunday, 28 April 2019 11:36:14 UTC-3, rich T wrote: >> >> Was wondering if there was a way to add an optional JSON output? >> > > Hi Rich, > > There probably is, but

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-29 Thread ljm . heijst
On Monday, 29 April 2019 04:55:45 UTC-3, Nigel Head wrote: > > Apr 28 12:40:15 raspberrypi weewx[2299]: TypeError: float > argument required, not NoneType > Hi Nigel, I thought I fixed this already, but not. When no single message is received, the PctGood value is None and I have to

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-29 Thread ljm . heijst
On Sunday, 28 April 2019 11:36:14 UTC-3, rich T wrote: > > Was wondering if there was a way to add an optional JSON output? > Hi Rich, There probably is, but I have no plans to add such. What you can do to track the problem: 1. Activate rain debug logging in weewx.conf: [Rtldavis] ...

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-29 Thread Nigel Head
Hi Luc, My RTLdavis test system died yesterday, error below... Possibly relevant is that I was also transmitting from my Amateur Radio station around the time it failed (these dongles are easily overloaded), maybe something? I have restarted the test system, but now of course, there is a gap

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-28 Thread rich T
Luc Was wondering if there was a way to add an optional JSON output? The output can aid in debugging an issue. Right now all my consoles (Davis and Acurite) indicate 0.09 inches fell but the driver is indicating 0.07 inches. Thanks for your work on the driver. Rich On Wednesday, March

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-24 Thread ljm . heijst
On Wednesday, 24 April 2019 19:08:53 UTC-3, Nigel Head wrote: > > How do I set the ppm offset in weewx.conf? > Use the cmd = line in the [Rtldavis] section. You can set all desired parameters here except for -tr and -tf (The values of tr and tf are added by the weewx driver itself.) Example:

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-24 Thread ljm . heijst
On Wednesday, 24 April 2019 19:00:58 UTC-3, Nigel Head wrote: > > Apr 24 22:57:02 raspberrypi weewx[1790]: rtldavis: data: 22:57:02.337671 > A0034E823B004F69 105 0 0 0 0 msg.ID=0 > Console Out Hum reads 90% > Hi Nigel, The code is: A0 03 4E 82 3B 00 4F 69 The outside humidity part is: 82 3B "B'

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-24 Thread Nigel Head
Luc, How do I set the ppm offset in weewx.conf? Using rtl_test and from old experiments against known GSM frequencies, I know this RTL dongle needs a ppm offset of +68. Oddly, when running rtldavis in standalone a -ppm 7 correction puts it pretty much spot on, whereas a -ppm 70 puts it a mile

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-24 Thread Nigel Head
Hi Luc, Ran for 2 mins and the same data for each error (luckily!) Apr 24 22:57:02 raspberrypi weewx[1790]: rtldavis: data: 22:57:02.337671 A0034E823B004F69 105 0 0 0 0 msg.ID=0 Apr 24 22:57:02 raspberrypi weewx[1790]: engine: 2019-04-24 22:57:02 BST (1556143022) LOOP value 'outHumidity'

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-24 Thread ljm . heijst
On Wednesday, 24 April 2019 17:48:01 UTC-3, Nigel Head wrote: > > Also this dup > Hi Nigel, The rtldavis.go program filters out most duplicate messages. Now and then a duplicate message is reported by rtldavis.go and then the weewx-rtldavis program filters this message. Nothing to worry about.

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-24 Thread ljm . heijst
Hi Nigel, The data of your "A" code messages is a complete puzzle for me (and I don't say that often!). Could you please tell me what the outside humidity values are on your Davis console? You have to run the test once more for 2 minutes and write down the outside humidities you see on your

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-24 Thread Nigel Head
Hi Luc, As requested Apr 24 21:31:53 raspberrypi weewx[2237]: rtldavis: info: 21:31:53.103767 Init ch annels: wait max 17 seconds for a message of each transmitter Apr 24 21:32:02 raspberrypi

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-24 Thread ljm . heijst
Nigel, When your wind meter is on the same transmitter as the humidity sensor, look at data lines starting with A. Luc

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-24 Thread ljm . heijst
On Wednesday, 24 April 2019 12:10:12 UTC-3, Nigel Head wrote: > > The Pi3 is complaining about 'outHumidity' - what do you think > Hi Nigel, Please change in weewx.conf the following: debug = 1 [Rtldavis] debug_rtld = 2 Then restart weewx-rtldavis Look at data lines starting with code

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-24 Thread Nigel Head
Ha! fat fingers - 2013

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-24 Thread kobuki
Then it's from the future! Jokes aside, digital sensors were introduced for the VP2 line in 2006 so yours must be digital. It means something else is the issue, most likely. On Wednesday, April 24, 2019 at 8:44:27 PM UTC+2, Nigel Head wrote: > > Cool, my console is AJ130501...so at least the

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-24 Thread Nigel Head
Cool, my console is AJ130501...so at least the console is 20013 Nigel

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-24 Thread kobuki
Yes, see: https://www.manula.com/manuals/pws/davis-kb/1/en/topic/find-the-model-mfg-code On Wednesday, April 24, 2019 at 6:44:59 PM UTC+2, Nigel Head wrote: > > I believe my VP2 is circa 2013 (it was an eblag special a little over a > couple of years ago) and I was informed it was a round 3

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-24 Thread Nigel Head
I believe my VP2 is circa 2013 (it was an eblag special a little over a couple of years ago) and I was informed it was a round 3 years old. Does the console serial number mean anything, date wise? Nigel.

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-24 Thread kobuki
Deja vu. Nigel, how old is your VP2? Is it possible you also have an analog T/H sensor pair? I can't remember off the top of my head, but you might either need to use another git branch or use a patch. Maybe you're using a slightly older version. On Wednesday, April 24, 2019 at 5:10:12 PM

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-24 Thread Nigel Head
Hi Luc, Some progress. a) I first tried on a clean Debian install on a spare Sheevaplug I had (my previous logs are from that) - didn't work, but might be a USB issue? - will try again sometime with a powered USB hub as the Sheevaplug only has one USB port. b) Made a clean Debian install on a

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-23 Thread rich T
As for the SDR dongle issues "r82xx_write: i2c wr failed=-9 reg=12 len=1" and "r82xx_set_freq: failed=-9", might want to try in a different USB port and ensure the RPI is not indicating low voltage (lightning bolt upper right hand corner) during the time you see these errors. On Tuesday,

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-23 Thread Nigel Head
I see some occasional errors as well... 23:52:05.468829 Hop: {ChannelIdx:0 ChannelFreq:868077250 FreqError:0} 23:52:23.397721 Init channels: wait max 17 seconds for a message of each transmitter 23:52:23.402227 Hop: {ChannelIdx:0 ChannelFreq:868077250 FreqError:0} r82xx_write: i2c wr failed=-9

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-23 Thread Nigel Head
Hi Luc, Recompiled and better, but still no cigar (data) !! pi@sheevaplug:~/work/src/github.com/lheijst/rtldavis$ $GOPATH/bin/rtldavis -gain 402 23:36:32.801134 rtldavis.go VERSION=0.12 23:36:32.802467 tr=1 fc=0 ppm=0 gain=402 ex=0 maxmissed=51 actChan=[0] maxChan=1 23:36:32.808792 BitRate:

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-23 Thread ljm . heijst
On Tuesday, 23 April 2019 12:45:32 UTC-3, Nigel Head wrote: > > Can you change the tuner gain? > Hi Nigel, I have option "gain" added in rtldavis. Default: -gain 0 selects autogain The integer value sets the gain value in tenths of a Db. Supported gain values: 0, 9, 14, 27, 37, 77, 87, 125,

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-23 Thread Nigel Head
Hi Luc, I'm trying to get rtlsdr receiving on my EU (UK) VP2 and am not getting any data when testing with $GOPATH/bin/rtldavis I notice that the receiver tuner gain appears to be set to 0 Db If I use the RTL dongle in Windows and use SDR# and tuner gain to 0, then it is as deaf as a post and

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-13 Thread rich T
Luc Just letting you know the driver (US Frequencies) been running over a week without any issues. Thanks for all your work. Rich >

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-06 Thread ljm . heijst
I have my first ISS together with anemometer kit and leaf-soil station now for four years. Recently I had to replace a broken temp/hum sensor and the rechargeable batteries for my 24h aspiration kit. Never changed other batteries for those three stations. I bought a ‘spare’ ISS two years ago as

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-06 Thread kobuki
Right, as I've said, I also don't have a use for their console. Partly for reasons you mentioned. But still, fractions in humidity are still useless when the instrument accuracy is no better than ±3%. Of course it's more a technical viewpoint than an aesthetic :) I agree on the awesomeness, I

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-06 Thread ljm . heijst
It is the Davis console which presents the lower resolution. Also you can’t read the data of a solar or uv sensor conected to a anemometer kit sender with the Davis console for example. Which all other devices do support. But the Davis ISS and other sensor equipment are awesome!

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-06 Thread ljm . heijst
Meteostick not template!

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-06 Thread kobuki
I agree on the console part - as you might know I don't even have one. I also don't have a use for it. I have an Envoy but I'm using my own receiver instead. But we're talking about data representation and accuracy. The console is just one way to show the data (thankfully just an option...) On

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-06 Thread rich T
Kobuki For some reason the graph was plotting values like 83.783%. It should plot to the tenth of a percent. I will let it run to see what happens. Rich On Saturday, April 6, 2019 at 12:30:46 PM UTC-4, kobuki wrote: > Luc, I was only following the thread half-eyed, were you able to devise a

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-06 Thread kobuki
Yeah, I know - for me this is completely meaningless. I always set a fixed scale so I can tell at a glance what's up without checking the current scale so I never see the staircases. For each his own, though. I still say if it's good for a reputable vendor, it's good for most of us. On

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-06 Thread ljm . heijst
Kobuki, Look at the humidity and soil temp graphs on this page: http://www.lucdesign.nl/_weewx/mstk/index.html Then you will see what I mean with smoother graphs. Luc

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-06 Thread ljm . heijst
Kobuki, I need a set of raw humidity values and the values presented by the vantage driver over a reasonable range to be able to correlate the two data-sets. It depends how much the humidity fluctuates at Pauls place. A 10-times bigger humidity resolution is not more precise but it will produce

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-06 Thread kobuki
Luc, I was only following the thread half-eyed, were you able to devise a formula for humidity for this old analog sensor? OTOH, "thousandth of a percent" is not 0.1 percents. It's 3 decimal places after the dot. Rich, are you seeing values like 34.567%? In any case, with a humidity sensor

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-06 Thread ljm . heijst
Rich, As the integer humidity_raw value is divided by 10 the resolution is 0,1 percent. This is a 10 times better resolution than the Davis console presents. Luc

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-05 Thread ljm . heijst
On Friday, 5 April 2019 16:24:52 UTC-3, Paul Anderson wrote: > > now won't start until I comment out lines 960 and 961 ? > Paul, I thought I had removed all references to "_log_unknown", but I forgot one. Fixed in commit a911fdd

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-05 Thread ljm . heijst
To all, New release of weewx-rtldavis driver See: https://github.com/lheijst/weewx-rtldavis Release notes rtldavis.py v0.11 - fixed: self.rain_per_tip is now 0.254 inch for bucket_type 0; thanks to Paul Anderson for detecting this bug - cleaned up coding - removed parameters

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-03 Thread ljm . heijst
On Wednesday, 3 April 2019 22:49:10 UTC-3, Paul Anderson wrote: > > rtldavis.py > Line 735 > change this > self.rain_per_tip = 0.0254 if bucket_type == 0 else 0.2 # mm > > to > self.rain_per_tip = 0.254 if bucket_type == 0 else 0.2 # mm > Paul, Good catch, thanks! I don't know how it got there;

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-03 Thread Paul Anderson
We had some rain today and noticed that rtl-davis was reporting very low amount. After checking Bucket size was set correctly for my US bucked looked at databases vales for both my normal production and the development machine. Bucket tips should record 0.01 however they were 0.001 Development

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-03 Thread Paul Anderson
That sounds OK. Slightly nervous about running a modified weewx-vantage driver on my production machine, but I guess I will get over my fears:) BTW both machines run ntp to the same server list , so times are always close to identical. Also please be aware that on both machines WeeWx logs to

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-03 Thread ljm . heijst
On Wednesday, 3 April 2019 10:27:22 UTC-3, kobuki wrote: > > Alright. The leaf wetness sensor is a completely different animal, I think > it can be ignored. If anything, in air, the temps are inversely > proportional WRT humidity because of natural reasons, not because they are > mathematically

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-03 Thread ljm . heijst
On Wednesday, 3 April 2019 09:37:32 UTC-3, kobuki wrote: > > *Temperature and humidity are independent values.* *There is no direct > relation between the two*. > Kobuki, I know, you mentioned that before. :-) I work with the following data: 1. Raw humidity values as received in the

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-03 Thread kobuki
Luc, Sorry, but I have to bark in again. *Temperature and humidity are independent values.* *There is no direct relation between the two*. It's a normal, natural occurrence to see them move with different sign day by day. You can measure humidity by itself - hygrometers are stand-alone

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-04-03 Thread ljm . heijst
Paul, For the parsing of your analog humidity sensor we need probably a look up table, as we have used similar for the soul moisture and leaf-wetness sensor data. There is a positive relation between the raw humidity value and the temperature as you can see in the attached table. Each set

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-31 Thread kobuki
Note that the capacitive type humidity sensor is only usable between 10 and 90% - and add to that the age of Paul's device which is long over it's life cycle. All sensors tend to drift and I wouldn't bet on its accuracy any more. In any case, for the old sensor we shouldn't see values outside

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-31 Thread ljm . heijst
Paul, This is what I have so far. I have created a table with the one-byte decimal data of the humidity. The other byte, until now, always is 85, but it is likely some bits of the "85" byte are used to extend the code. The question is which bytes? In the ideal situation we should have sampled

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-31 Thread Paul Anderson
Thanks for explaining it to me. I just did a " grep 'packet missed '" on the log file and thought I understood:) Thanks Paul On Sunday, March 31, 2019 at 3:49:43 PM UTC-4, ljm@gmail.com wrote: > > Paul, > > The number of time-out (“missed”) messages is not the same as the real > number

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-31 Thread ljm . heijst
Paul, The number of time-out (“missed”) messages is not the same as the real number of missed signals. The weewx-rtldavis driver has the following calculation: number of missed signals is theoretical number of expected signals minus number of received signals. For one transmitter the data you

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-31 Thread ljm . heijst
Ok, not so good idea thus... Paul, did you play with your antenna setup? I have my antenna situated on a metal lid of a round cookies drum. Receiving my four Davis transmitters goes better when the radio signals go through a stone wall than to an antenne situated in the neighbourhoud of metal

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-31 Thread kobuki
Guys, aside from the stick PPM, there should be no reason to fiddle with frequency correction. 10-20 kHz is easily correctable with AFC, or at least the code and the stick must be capable of it, otherwise it can safely be called useless. All of the hardware receivers I've encountered can do

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-31 Thread ljm . heijst
Paul, Do you think a frequency correction per transmitter would help? Or would it be too difficult for new users to configure? Luc

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-31 Thread Paul Anderson
Sorry did not forget this request for a testlife just got busy:) Started a test last night at midnight , planning on running until noon today. Does output temp and humidity data for my old analog sensor, temp runs very close with in .4 F, humidity runs low but does not seem like linear

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-30 Thread rich T
Luc I think that will be a good approach, let the user decide if they want to write it to the database or not. Everything else is tracking with the console. Rich On Saturday, March 30, 2019 at 11:36:30 PM UTC-4, ljm@gmail.com wrote: > Rich, > > The pct good data will be written to the

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-30 Thread ljm . heijst
Rich, The pct good data will be written to the database, but you don’t need two values pct good with the same content; just write one. The overall tag will be rxpercent. I will add a parameter to let one chooce to have individual pct good written to the database or not. Default will be no.

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-30 Thread rich T
Luc For now I will comment those lines out. As for signal quality, calculating the average percentage good for one transmitter I think is beneficial. Over time you might notice some signal degradation, which could indicate you might have an issue with transmitter or receiver. Thanks Rich

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-30 Thread ljm . heijst
Rich, Good point, thanks! First of all I didn’t realize it is useless to calculate an average percentage good when you only have one transmitter. Secondly, the pct good values don’t use the sensor map but are ‘hardcoded’ to the fields they use. I have copied this from the meteostick driver

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-30 Thread rich T
Luc The driver seems to be working fine. What I notice that identical values are being written into extraTemp1 and rxCheckPercent columns of the archive database. Even though I'm mapping only "rxCheckPercent" value, it appears in both the "Temperature1" and "Signal Quality" fields of the

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-29 Thread kobuki
Yeah, it could be the same sensor set inside. But Paul just has an old ISS where the sensor is located inside the screen just like ours in the newer version. I've linked a sensor spec page with a sensor that has identical specs as the old one actually in the ISS, please see one of my previous

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-29 Thread ljm . heijst
On Friday, 29 March 2019 18:40:14 UTC-3, kobuki wrote: > > We're dealing with the capacitive humidity sensor now, right? > Yep! So far I couldn't find on the internet the formula for the Davis polymer humidity sensor. Are we the first ones? Again??? This I found here:

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-29 Thread kobuki
Yes, right, I saw that too, that's why I said sorry in my previous post. I also concluded we indeed have the old type analog sensors. In fact, I should have known by the age of the ISS - it's from 2006... Therefore I don't think I know what you'd like to point out with the log excerpt - care

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-29 Thread ljm . heijst
On Friday, 29 March 2019 17:48:37 UTC-3, kobuki wrote: > > Right - sorry. But, then we do have an analog capacitive sensor. > Kobuki, I checked Pauls logging and this I've got for the thermister temperature: Mar 29 13:48:26 pi3-dev weewx[8185]: rtldavis: data: 13:48:26.296732 8075C5000E79

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-29 Thread kobuki
Right - sorry. But, then we do have an analog capacitive sensor. According to http://www.wxforum.net/index.php?topic=33534.msg340277#msg340277 we're dealing with a sensor that precedes this one: https://www.newark.com/vishay-bc-components/2322-691-90001/humidity-sensor/dp/89F5822 They have

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-29 Thread ljm . heijst
Paul, I've got two typo's in the code I send you. Sorry for that! The right code should be: = elif message_type == 0xA: # outside humidity # message examples: # A0 00 00 80 85 00 3E 1F (old model vantage pro) # A0 00 00 C9 3D 00 2A 87 (new model

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-29 Thread ljm . heijst
On Friday, 29 March 2019 17:28:47 UTC-3, kobuki wrote: > > But if I'm right, temps should also be wrong. For the NTC Davis is using > we already have the formula IIRC. > Kobuki, You are wrong! :-) The analog temperatures are calculated right, see code below:

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-29 Thread kobuki
I think I get it now. This is an old VP2 with an old, analog T/H sensor! It has a capacitive type humidity sensor, and I think they provide the raw values or something related closely so it requires a special formula. Since it's a capacitive sensor, its output is not linear - unless the

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-29 Thread ljm . heijst
On Friday, 29 March 2019 15:50:41 UTC-3, Paul Anderson wrote: > > It is a pretty old VP2 from April of 2006. > Paul, For the few samples I got from you I have found a formula. I don't understand the logic of the formula, but it works for these samples. :-) I need more data to be sure. Could

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-29 Thread kobuki
Ah, I see you have 2 stations, an ISS on ID 1 and the anemometer transmitter on ID 2, same as my setup (I also have solar and UV on the latter, though). Forget what I said about the values. Both could be theoretically good, but the packets where the hum. is off, still should not pass

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-29 Thread Paul Anderson
No valid humidity data from rtl_davis. Normal vantage console shows good data, as well as Weewx directly connected to it. It is a pretty old VP2 from April of 2006. Had run this at one point: Davis Vantage EEPROM settings: CONSOLE TYPE: VantagePro2 CONSOLE FIRMWARE:

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-29 Thread kobuki
Sorry, I'm not Luc, but I've had a look. How many stations do you have? A single one on ID 2 or 2 on IDs 1 and 2? All the station 1 data seems garbage while all station 2 data looks fine. Did you check the transmitter IDs in your weewx config? On Friday, March 29, 2019 at 7:37:04 PM UTC+1,

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-29 Thread kobuki
Do you receive valid humidity values at all? The data in these packets is completely bogus at the nybbles responsible for the humidity values. It comes as byte[3][lower nybble as high 4 bits] + byte[4] as a 12-bit number which is 10*actual humidity value. I'm just guessing that these packets

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-29 Thread Paul Anderson
Luc, No worries here is the new log with dbug. Actual out temp was app 56 F Humidity 55% during the test. Time Wind Dir Wind Spd Wind Gust Humidity TempBarometer Rain Degmph mph %Deg F mb in

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-29 Thread kobuki
Why do you think one should't run WeeWx for that task? It's simple, free, open-source and well-supported. And with templating it's much more flexible than a fixed-output application. It's also a LOT more work. As Luc already noted, it would require re-implementing the Davis binary packet

[weewx-development] Re: Receiving Davis Vantage data with RTL-SDR dongle and program rtldavis

2019-03-29 Thread ljm . heijst
On Friday, 29 March 2019 09:14:29 UTC-3, rich T wrote: > > The standalone version/w JSON output will allow someone to interface with > Node Red and publishing the data via MQTT. > Rich, I like the idea, but someone else has to code it. :-) The weewx-driver does currently all the parsing. I'm

  1   2   >