Hi Gary,


thanks for your feedback. I have just come back to this - I had a double 
hard-disk failure in my Synology box that runs my weather webpages - 
probably not a coincidence that we have had an exceptional heatwave in SE 
UK! And then the new build was hacked immediately before I could harden it!


I have to admit I am using AI to assist the dongle install as I don't have 
enough expertise to troubleshoot this and I think I have been testing 
various PPM and gain settings by trial and error. I pasted your reply into 
the AI and it put it on the right path!



To summarise what worked; 

   1. 
   
   *PPM value*: -50 
   2. 
   
   *Gain*: 0 (auto gain worked best)
   3. 
   
   *Transmitter*: 129 (which is transmitters 0 and 7 combined: 1 + 128 = 
   129)
   4. 
   
   *Frequency*: EU (868 MHz)
   
The configuration in weewx.conf that worked:
[Rtldavis] 
driver = user.rtldavis 
cmd = /usr/local/bin/rtldavis -ppm -50 -gain 0 
transceiver_frequency = EU
iss_channel = 1 
leaf_soil_channel = 8

I had to add the ppm and gain to the command line rather than the body of 
the driver section.


Many thanks for you help :)

On Wednesday, June 24, 2026 at 2:53:46 PM UTC+1 [email protected] wrote:

> I have not set this up for awhile, but I wonder if your gain has anything 
> to do with it.
> Where did you get the gain value you are using? I see supported gains, 
> then your set gain is not among the listed ones.
>
> 11:26:31.332312 Supported tuner gain: 0 Db 9 Db 14 Db 27 Db 37 Db 77 Db 87 
> Db 125 Db 144 Db 157 Db 166 Db 197 Db 207 Db 229 Db 254 Db 280 Db 297 Db 
> 328 Db 338 Db 364 Db 372 Db 386 Db 402 Db 421 Db 434 Db 439 Db 445 Db 480 
> Db 496 Db
>
> 11:26:31.353687 SetTunerGain 48 Successful
>
> 11:26:31.353774 GetTunerGain: 48 Db
> When I tested directly, this is the simple line I used.
> $GOPATH/bin/rtldavis -tr 3 -tf US -ppm 78
>
> Why the ppm? I used another tool (lost to history) to determine the value.
> So the defaults are used. Note the gain=0
>
> 12:19:11.601292 tr=3 fc=0 ppm=78 gain=0 maxmissed=51 ex=0 
> receiveWindow=300 actChan=[0 1] maxChan=2
> 12:19:11.601303 undefined=false verbose=false disableAfc=false 
> deviceString=0
> 12:19:11.601664 BitRate: 19200
> 12:19:11.601681 SymbolLength: 14
> 12:19:11.601688 SampleRate: 268800
> 12:19:11.601695 Preamble: 1100101110001001
> 12:19:11.601702 PreambleSymbols: 16
> 12:19:11.601708 PreambleLength: 224
> 12:19:11.601715 PacketSymbols: 80
> 12:19:11.601721 PacketLength: 1120
> 12:19:11.601728 BlockSize: 512
> 12:19:11.601734 BufferLength: 2048
> Found Rafael Micro R820T tuner
> 12:19:12.037206 Hop: {ChannelIdx:0 ChannelFreq:902419338 FreqError:0 
> Transmitter:0}
> Exact sample rate is: 268800.001367 Hz
> 12:19:12.225443 GetTunerGain: 0 Db
> 12:19:12.289561 SetFreqCorrection 78 ppm Successful
> 12:19:12.293310 Init channels: wait max 139 seconds for a message of each 
> transmitter
> 12:21:31.418790 Init channels: wait max 139 seconds for a message of each 
> transmitter
> 12:21:31.418876 Hop: {ChannelIdx:0 ChannelFreq:902419338 FreqError:0 
> Transmitter:0}
> 12:22:10.413247 TRANSMITTER 1 SEEN
> 12:22:30.172183 TRANSMITTER 0 SEEN
> 12:22:30.172206 ALL TRANSMITTERS SEEN
> 12:22:30.172362 Hop: {ChannelIdx:36 ChannelFreq:920482355 FreqError:0 
> Transmitter:1}
> 12:22:31.413931 8100AAFFC100F95B 1 2 0 0 1 msg.ID=1
> 12:22:31.414015 Hop: {ChannelIdx:19 ChannelFreq:911952597 FreqError:0 
> Transmitter:0}
> 12:22:32.733962 E000008005004F97 2 2 0 0 1 msg.ID=0
> 12:22:32.734014 Hop: {ChannelIdx:22 ChannelFreq:913457849 FreqError:0 
> Transmitter:1}
> 12:22:34.038567 E100AA800100442E 2 3 0 0 1 msg.ID=1
> 12:22:34.038608 Hop: {ChannelIdx:41 ChannelFreq:922991108 FreqError:0 
> Transmitter:0}
> 12:22:35.295761 500000FF7500485B 3 3 0 0 1 msg.ID=0
> 12:22:35.295800 Hop: {ChannelIdx:3 ChannelFreq:903924589 FreqError:0 
> Transmitter:1}
> 12:22:35.297450 duplicate packet: 500000FF7500485B
> 12:22:36.663357 5100AAFF710043E2 3 4 0 0 1 msg.ID=1
> 12:22:36.663404 Hop: {ChannelIdx:25 ChannelFreq:914963100 FreqError:0 
> Transmitter:0}
> 12:22:37.859423 600000000500A0ED 4 4 0 0 1 msg.ID=0
> 12:22:37.859477 Hop: {ChannelIdx:29 ChannelFreq:916970102 FreqError:0 
> Transmitter:1}
> 12:22:39.287717 9100AA02011BF7D2 4 5 0 0 1 msg.ID=1
> 12:22:39.287755 Hop: {ChannelIdx:8 ChannelFreq:906433342 FreqError:0 
> Transmitter:0}
> 12:22:39.289846 duplicate packet: 9100AA02011BF7D2
> 12:22:40.420990 8000002BED00C4F9 5 5 0 0 1 msg.ID=0
> 12:22:40.421029 Hop: {ChannelIdx:44 ChannelFreq:924496359 FreqError:0 
> Transmitter:1}
> 12:22:41.914584 8100AAFFC100F95B 5 6 0 0 1 msg.ID=1
> 12:22:41.914671 Hop: {ChannelIdx:47 ChannelFreq:926001611 FreqError:0 
> Transmitter:0}
> 12:22:42.984938 E000008005004F97 6 6 0 0 1 msg.ID=0
> 12:22:42.984974 Hop: {ChannelIdx:16 ChannelFreq:910447346 FreqError:0 
> Transmitter:1}
> 12:22:44.538867 E100AA800100442E 6 7 0 0 1 msg.ID=1
> 12:22:44.538909 Hop: {ChannelIdx:32 ChannelFreq:918475353 FreqError:0 
> Transmitter:0}
> 12:22:45.546684 500000FF7500485B 7 7 0 0 1 msg.ID=0
> 12:22:45.546740 Hop: {ChannelIdx:5 ChannelFreq:904928090 FreqError:0 
> Transmitter:1}
> On Tuesday, June 23, 2026 at 2:04:26 PM UTC-4 [email protected] wrote:
>
>> Apologies if this is a duplicate - getting tired. debug output attached.
>>
>> Hi all, I would appreciate some guidance please. 
>>
>> I have set up Weewx Wyse5070 machine successfully . I have the simulator 
>> and a secondary feed from my Ecowitt also working. MQTT also works.
>>
>>
>> I have my website and home assistant set up to receive the data.
>>
>> The final step was to migrate from the simulator to my Davis VP2 – using 
>> rtldavis. The dongle is a Blog V3 with TRTL820T tuner. Rtldavis is 
>> installed but it isn’t decoding anything. I have confirmed the signal is 
>> strong enough and have re-installed rtldavis twice. So the hardware is 
>> working. What do I need to do to get this working please?
>>
>>
>> Rtldavis section of weewx.conf i;
>>
>> driver = user.rtldavis
>>
>> cmd = /usr/local/bin/rtldavis
>> transceiver_frequency = EU
>> iss_channel = 1
>> anemometer_channel = 0
>> leaf_soil_channel = 8
>> temp_hum_1_channel = 0
>> temp_hum_2_channel = 0
>> rain_bucket_type = 1
>> debug_parse = 0
>> debug_rain = 0
>> debug_rtld = 3 # rtldavis logging: 1=inf; 2=(1)+data+chan; 3=(2)+pkt
>> save_pct_good_per_transmitter = False
>>
>>
>>
>> Output from this command;
>>
>> weewxadmin@wyse5070:~$ /usr/local/bin/rtldavis -d 0 -gain 48 -tf EU -tr 1 
>> -v
>>
>>
>>
>> is:
>>
>> 11:26:30.717902 rtldavis.go VERSION=0.15
>>
>> 11:26:30.718046 tr=1 fc=0 ppm=0 gain=48 maxmissed=51 ex=0 
>> receiveWindow=300 actChan=[0] maxChan=1
>>
>> 11:26:30.718076 undefined=false verbose=true disableAfc=false 
>> deviceString=0
>>
>> 11:26:30.718275 BitRate: 19200
>>
>> 11:26:30.718284 SymbolLength: 14
>>
>> 11:26:30.718322 SampleRate: 268800
>>
>> 11:26:30.718330 Preamble: 1100101110001001
>>
>> 11:26:30.718336 PreambleSymbols: 16
>>
>> 11:26:30.718342 PreambleLength: 224
>>
>> 11:26:30.718348 PacketSymbols: 80
>>
>> 11:26:30.718354 PacketLength: 1120
>>
>> 11:26:30.718360 BlockSize: 512
>>
>> 11:26:30.718366 BufferLength: 2048
>>
>> Found Rafael Micro R820T tuner
>>
>> 11:26:31.167964 tr=0 ch=0 freqCorr=0 lastFreqError=0, freqerrTrChList=[0 
>> 0 0 0 0 0 0 0 0 0]
>>
>> 11:26:31.168209 Hop: {ChannelIdx:0 ChannelFreq:868077250 FreqError:0 
>> Transmitter:0}
>>
>> Exact sample rate is: 268800.001367 Hz
>>
>> 11:26:31.332312 Supported tuner gain: 0 Db 9 Db 14 Db 27 Db 37 Db 77 Db 
>> 87 Db 125 Db 144 Db 157 Db 166 Db 197 Db 207 Db 229 Db 254 Db 280 Db 297 Db 
>> 328 Db 338 Db 364 Db 372 Db 386 Db 402 Db 421 Db 434 Db 439 Db 445 Db 480 
>> Db 496 Db
>>
>> 11:26:31.353687 SetTunerGain 48 Successful
>>
>> 11:26:31.353774 GetTunerGain: 48 Db
>>
>> 11:26:31.353836 SetFreqCorrection 0 ppm Successful
>>
>> Allocating 1 zero-copy buffers
>>
>> 11:26:31.358029 Init channels: wait max 17 seconds for a message of each 
>> transmitter
>>
>> 11:26:49.296025 Init channels: wait max 17 seconds for a message of each 
>> transmitter
>>
>> 11:26:49.296098 tr=0 ch=0 freqCorr=0 lastFreqError=0, freqerrTrChList=[0 
>> 0 0 0 0 0 0 0 0 0]
>>
>> 11:26:49.296143 Hop: {ChannelIdx:0 ChannelFreq:868077250 FreqError:0 
>> Transmitter:0}
>>
>> 11:26:49.296215 applied freqCorrection=0
>>
>> 11:27:07.234983 Init channels: wait max 17 seconds for a message of each 
>> transmitter
>>
>> 11:27:07.235051 tr=0 ch=0 freqCorr=0 lastFreqError=0, freqerrTrChList=[0 
>> 0 0 0 0 0 0 0 0 0]
>>
>> 11:27:07.235097 Hop: {ChannelIdx:0 ChannelFreq:868077250 FreqError:0 
>> Transmitter:0}
>>
>> 11:27:07.235141 applied freqCorrection=0
>>
>> 11:27:25.174001 Init channels: wait max 17 seconds for a message of each 
>> transmitter
>>
>> 11:27:25.174133 tr=0 ch=0 freqCorr=0 lastFreqError=0, freqerrTrChList=[0 
>> 0 0 0 0 0 0 0 0 0]
>>
>> 11:27:25.174246 Hop: {ChannelIdx:0 ChannelFreq:868077250 FreqError:0 
>> Transmitter:0}
>>
>> 11:27:25.174443 applied freqCorrection=0
>>
>>
>>
>>
>>
>>
>>

-- 
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/f67039e2-0230-4dc4-a0a3-917c9c5747den%40googlegroups.com.

Reply via email to