Did you set the full path to the rtldavis binary in your weewx.conf file ?

Mine that worked here (US) is here (link) 
<https://github.com/vinceskahan/weewx-rtldavis/blob/main/weewx.conf.snippet> if 
you wanted to compare with yours

On Monday, April 1, 2024 at 9:36:00 AM UTC-7 Pierre Decamps wrote:

> Hi everybody,
>
>  
>
> I installed a Davis VP2 Pro Plus Wireless last week and made a fresh 
> install of weewx and rtldavis plugin.
>
>  
>
> When I checked status of weewx, I see it :
>
>  
>
> Apr 01 18:21:31 weatherpi weewxd[2247]: INFO weewxd: Starting up weewx 
> version 5.0.2
>
> Apr 01 18:21:31 weatherpi weewxd[2247]: INFO weewx.engine: Using binding 
> 'wx_binding' to database 'weewx.sdb'
>
> Apr 01 18:21:31 weatherpi weewxd[2247]: INFO weewx.manager: Starting 
> backfill of daily summaries
>
> Apr 01 18:21:32 weatherpi weewxd[2247]: INFO weewx.manager: Daily 
> summaries up to date
>
> Apr 01 18:21:32 weatherpi weewxd[2247]: INFO weewx.engine: Starting main 
> packet loop.
>
> Apr 01 18:21:32 weatherpi weewxd[2247]: ERROR user.rtldavis: err: 
> <generator object ProcManager.get_stderr at 0x74618a38>
>
> Apr 01 18:21:32 weatherpi weewxd[2247]: INFO weewx.engine: Main loop 
> exiting. Shutting engine down.
>
> Apr 01 18:21:33 weatherpi weewxd[2247]: INFO user.rtldavis: shutdown 
> process /home/pi/work/bin/rtldavis -fc 50000 -ppm 1 -tf EU -tr 1
>
> Apr 01 18:21:33 weatherpi weewxd[2247]: CRITICAL weewxd: Caught 
> WeeWxIOError: rtldavis process is not running
>
> Apr 01 18:21:33 weatherpi weewxd[2247]: CRITICAL weewxd:     ****  Waiting 
> 60.0 seconds then retrying...
>
>  
>
> If I start /home/weewx/bin/user/rtldavis.py
>
>  
>
> 18:25:42.266024 rtldavis.go VERSION=0.15
>
> 18:25:42.266426 tr=1 fc=50000 ppm=0 gain=0 maxmissed=51 ex=0 
> receiveWindow=300 actChan=[0] maxChan=1
>
> 18:25:42.266448 undefined=false verbose=false disableAfc=false 
> deviceString=0
>
> 18:25:42.266690 BitRate: 19200
>
> 18:25:42.266708 SymbolLength: 14
>
> 18:25:42.266718 SampleRate: 268800
>
> 18:25:42.266726 Preamble: 1100101110001001
>
> 18:25:42.266734 PreambleSymbols: 16
>
> 18:25:42.266742 PreambleLength: 224
>
> 18:25:42.266750 PacketSymbols: 80
>
> 18:25:42.266758 PacketLength: 1120
>
> 18:25:42.266766 BlockSize: 512
>
> 18:25:42.266774 BufferLength: 2048
>
> Found Rafael Micro R820T tuner
>
> 18:25:42.681319 Hop: {ChannelIdx:0 ChannelFreq:868077250 FreqError:0 
> Transmitter:0}
>
> Exact sample rate is: 268800.001367 Hz
>
> 18:25:42.854909 GetTunerGain: 0 Db
>
> 18:25:42.854949 SetFreqCorrection 0 ppm Successful
>
> 18:25:42.858456 Init channels: wait max 17 seconds for a message of each 
> transmitter
>
> Allocating 1 zero-copy buffers
>
> Traceback (most recent call last):
>
>   File "/etc/weewx/bin/user/./rtldavis.py", line 1366, in <module>
>
>     payload = lines[0].strip()
>
> IndexError: list index out of range
>
>  
>
>  
>
> And if I start the /home/pi/work/bin/rtldavis : 
>
>  
>
> Found Rafael Micro R820T tuner
>
> 18:28:13.224537 tr=0 ch=0 freqCorr=0 lastFreqError=0, freqerrTrChList=[0 0 
> 0 0 0 0 0 0 0 0]
>
> 18:28:13.224608 Hop: {ChannelIdx:0 ChannelFreq:868077250 FreqError:0 
> Transmitter:0}
>
> Exact sample rate is: 268800.001367 Hz
>
> 18:28:13.397912 GetTunerGain: 0 Db
>
> 18:28:13.397946 SetFreqCorrection 0 ppm Successful
>
> Allocating 1 zero-copy buffers
>
> 18:28:13.401414 Init channels: wait max 17 seconds for a message of each 
> transmitter
>
> 18:28:16.590622 m1: -0.057257 l: 224 c: 16 x: [-0.11 0.30 -0.13 -0.08 0.29 
> -0.07 -0.18 -0.16 -0.14 -0.12 -0.09 -0.08 -0.08 -0.09 -0.08 -0.08]
>
> 18:28:16.590820 TRANSMITTER 0 SEEN
>
> 18:28:16.591143 tr=0 ch=2 freqCorr=0 lastFreqError=0, freqerrTrChList=[0 0 
> 0 0 0 0 0 0 0 0]
>
> 18:28:16.591507 Hop: {ChannelIdx:2 ChannelFreq:868317250 FreqError:0 
> Transmitter:0}
>
> 18:28:16.591582 applied freqCorrection=0
>
> 18:28:19.152466 m1: -0.053535 l: 224 c: 16 x: [0.23 -0.07 0.34 -0.16 -0.16 
> -0.04 0.27 -0.12 -0.20 -0.15 -0.10 -0.10 -0.13 -0.15 -0.14 -0.16]
>
> 18:28:19.152891 5001CBFF71008375 2 0 0 0 0 msg.ID=0
>
> 18:28:19.153198 tr=0 ch=4 freqCorr=0 lastFreqError=0, freqerrTrChList=[0 0 
> 0 0 0 0 0 0 0 0]
>
> 18:28:19.153409 Hop: {ChannelIdx:4 ChannelFreq:868557250 FreqError:0 
> Transmitter:0}
>
> 18:28:19.153443 applied freqCorrection=0
>
> 18:28:21.714449 m1: -0.033016 l: 224 c: 16 x: [-0.14 0.23 0.31 0.34 -0.19 
> -0.12 0.30 -0.18 -0.11 -0.16 -0.16 -0.10 -0.09 -0.14 -0.16 -0.15]
>
> 18:28:21.714587 9000CB0701591E62 3 0 0 0 0 msg.ID=0
>
> 18:28:21.714705 tr=0 ch=1 freqCorr=0 lastFreqError=0, freqerrTrChList=[0 0 
> 0 0 0 0 0 0 0 0]
>
> 18:28:21.714798 Hop: {ChannelIdx:1 ChannelFreq:868197250 FreqError:0 
> Transmitter:0}
>
> 18:28:21.714828 applied freqCorrection=0
>
> 18:28:24.276257 m1: 0.015400 l: 224 c: 16 x: [0.02 0.37 0.37 0.37 0.33 
> 0.12 -0.19 -0.18 -0.16 -0.12 -0.10 -0.09 -0.09 -0.11 -0.14 -0.16]
>
> 18:28:24.276400 8001CB21D900CD83 4 0 0 0 0 msg.ID=0
>
> 18:28:24.276507 tr=0 ch=3 freqCorr=0 lastFreqError=0, freqerrTrChList=[0 0 
> 0 0 0 0 0 0 0 0]
>
> 18:28:24.276628 Hop: {ChannelIdx:3 ChannelFreq:868437250 FreqError:0 
> Transmitter:0}
>
> 18:28:24.276692 applied freqCorrection=0
>
> 18:28:26.840325 m1: -0.004463 l: 224 c: 16 x: [-0.04 0.34 -0.06 0.39 0.35 
> 0.29 -0.20 -0.12 -0.17 -0.16 -0.16 -0.13 -0.11 -0.10 -0.08 -0.11]
>
> 18:28:26.840408 E000CB9001006D8B 5 0 0 0 0 msg.ID=0
>
> 18:28:26.840537 tr=0 ch=0 freqCorr=222 lastFreqError=2449, 
> freqerrTrChList=[2449 0 0 0 0 0 0 0 0 0]
>
> 18:28:26.840618 Hop: {ChannelIdx:0 ChannelFreq:868077250 FreqError:222 
> Transmitter:0}
>
> 18:28:26.840648 applied freqCorrection=222
>
> 18:28:29.402215 m1: 0.025469 l: 224 c: 16 x: [0.36 -0.10 0.25 0.32 -0.14 
> 0.33 0.34 -0.07 -0.21 -0.10 -0.09 -0.09 -0.08 -0.10 -0.11 -0.11]
>
> 18:28:29.402303 5000CBFF71002924 6 0 0 0 0 msg.ID=0
>
> 18:28:29.402372 tr=0 ch=2 freqCorr=208 lastFreqError=2290, 
> freqerrTrChList=[2290 0 0 0 0 0 0 0 0 0]
>
> 18:28:29.402447 Hop: {ChannelIdx:2 ChannelFreq:868317250 FreqError:208 
> Transmitter:0}
>
> 18:28:29.402480 applied freqCorrection=208
>
>  
>
>  
>
> What’s wrong ? Help will be appreciated 😊
>
>  
>
> Best regards,
>
>  
>
> Pierre
>
> ON8GE
>
>  
>

-- 
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/24146a8e-4472-4300-9d92-0bfccce05283n%40googlegroups.com.

Reply via email to