Thanks for the response. I noticed that too, It's weird when i was running 
Weewx on Raspbian i had no issues with rapid fire on. 

Happy to turn off and test!

Sam

On Tuesday, March 6, 2018 at 3:26:14 PM UTC+11, Andrew Milner wrote:
>
> From the logs the wind direction appears to be being uploaded when it is 
> available.  I know the wmr300 produces partial packets which do not always 
> seem to work well with rapid fire at WU.  I also see that you are giving 
> rapid fire updates at 1 second (or even less) intervals - yet the upload 
> says the interval is 2.5 seconds - this could be causing issues at the WU 
> end, and resulting in lost data (just a theory, since it does not take much 
> for WU to lose/drop data).
>
> Does it work OK if you turn rapid fire off and go to a 5 minute archive 
> interval??
>
> I'll leave this to Matthew as he knows FAR FAR more than me!!
>
>
>
> On Tuesday, 6 March 2018 06:13:39 UTC+2, Sam Walton wrote:
>
>> Attached are hopefully the correct logs!
>>
>> Thanks
>>
>> Sam
>>
>> On Tue, Mar 6, 2018 at 2:43 PM, Sam Walton <[email protected]> wrote:
>>
>>> My bad! I read the error again and noticed line 1 had the fault (must of 
>>> deleted the #) It is running now!
>>>
>>> I'll upload the logs asap
>>>
>>> Sam
>>>
>>>
>>> On Tuesday, March 6, 2018 at 2:40:24 PM UTC+11, Sam Walton wrote:
>>>>
>>>> Hi Andrew,
>>>>
>>>> I searched for debug_decode and could not find it. I added it to the 
>>>> section WMR300 and now when i start the service i get the error
>>>>
>>>> swalton@weather-station:~$ sudo /etc/init.d/weewx start
>>>> [ ok ] Starting weewx (via systemctl): weewx.service.
>>>> swalton@weather-station:~$ sudo /etc/init.d/weewx status
>>>> ● weewx.service - LSB: weewx weather system
>>>>    Loaded: loaded (/etc/init.d/weewx; bad; vendor preset: enabled)
>>>>    Active: active (exited) since Tue 2018-03-06 14:32:00 AEDT; 2s ago
>>>>      Docs: man:systemd-sysv-generator(8)
>>>>   Process: 2465 ExecStop=/etc/init.d/weewx stop (code=exited, 
>>>> status=0/SUCCESS)
>>>>   Process: 2522 ExecStart=/etc/init.d/weewx start (code=exited, 
>>>> status=0/SUCCESS)
>>>>
>>>> Mar 06 14:32:00 weather-station weewx[2522]:  * Starting weewx weather 
>>>> system weewx
>>>> Mar 06 14:32:00 weather-station weewx[2534]: engine: Initializing weewx 
>>>> version 3.8.0
>>>> Mar 06 14:32:00 weather-station weewx[2534]: engine: Using Python 
>>>> 2.7.12 (default, Dec  4 2017, 14:50:18)
>>>>                                              [GCC 5.4.0 20160609]
>>>> Mar 06 14:32:00 weather-station weewx[2534]: engine: Platform 
>>>> Linux-4.4.38-v7+-armv7l-with-Ubuntu-16.04-xenial
>>>> Mar 06 14:32:00 weather-station weewx[2534]: engine: Locale is 
>>>> 'en_AU.UTF-8'
>>>> Mar 06 14:32:00 weather-station weewx[2534]: engine: pid file is 
>>>> /var/run/weewx.pid
>>>> Mar 06 14:32:00 weather-station weewx[2538]: engine: Error while 
>>>> parsing configuration file /etc/weewx/w...conf
>>>> Mar 06 14:32:00 weather-station weewx[2538]: ****    Reason: 'Invalid 
>>>> line (' WEEWX CONFIGURATION FILE')... 1.'
>>>> Mar 06 14:32:00 weather-station weewx[2522]:    ...done.
>>>> Mar 06 14:32:00 weather-station systemd[1]: Started LSB: weewx weather 
>>>> system.
>>>> Hint: Some lines were ellipsized, use -l to show in full.
>>>> swalton@weather-station:~$ sudo tail -f /var/log/syslog
>>>> Mar  6 14:32:00 weather-station weewx[2534]: engine: Initializing weewx 
>>>> version 3.8.0
>>>> Mar  6 14:32:00 weather-station weewx[2534]: engine: Using Python 
>>>> 2.7.12 (default, Dec  4 2017, 14:50:18) #012[GCC 5.4.0 20160609]
>>>> Mar  6 14:32:00 weather-station weewx[2534]: engine: Platform 
>>>> Linux-4.4.38-v7+-armv7l-with-Ubuntu-16.04-xenial
>>>> Mar  6 14:32:00 weather-station weewx[2534]: engine: Locale is 
>>>> 'en_AU.UTF-8'
>>>> Mar  6 14:32:00 weather-station weewx[2534]: engine: pid file is 
>>>> /var/run/weewx.pid
>>>> Mar  6 14:32:00 weather-station weewx[2538]: engine: Error while 
>>>> parsing configuration file /etc/weewx/weewx.conf
>>>> Mar  6 14:32:00 weather-station weewx[2538]: ****    Reason: 'Invalid 
>>>> line (' WEEWX CONFIGURATION FILE') (matched as neither section nor 
>>>> keyword) 
>>>> at line 1.'
>>>> Mar  6 14:32:00 weather-station weewx[2522]:    ...done.
>>>> Mar  6 14:32:00 weather-station systemd[1]: Started LSB: weewx weather 
>>>> system.
>>>> Mar  6 14:33:44 weather-station rsyslogd-2007: action 'action 10' 
>>>> suspended, next retry is Tue Mar  6 14:34:14 2018 [v8.16.0 try 
>>>> http://www.rsyslog.com/e/2007 ]
>>>>
>>>>
>>>> Here is the snippet from the config
>>>>
>>>>
>>>> ##############################################################################
>>>>
>>>> # This section is for general configuration information.
>>>>
>>>> # Set to 1 for extra debug info, otherwise comment it out or set to zero
>>>> debug = 2
>>>>
>>>> # Root directory of the weewx data file hierarchy for this station
>>>> WEEWX_ROOT = /
>>>>
>>>> # How long to wait before timing out a socket (FTP, HTTP) connection
>>>> socket_timeout = 20
>>>>
>>>> # Do not modify this. It is used when installing and updating weewx.
>>>> version = 3.8.0
>>>>
>>>>
>>>> ##############################################################################
>>>>
>>>>
>>>> ##############################################################################
>>>>
>>>> [WMR300]
>>>>     # This section is for WMR300 weather stations.
>>>>
>>>>     # The station model, e.g., WMR300A
>>>>     model = WMR300
>>>>
>>>>     # The driver to use:
>>>>     driver = weewx.drivers.wmr300
>>>>
>>>>     debug_decode = 1
>>>>
>>>> ##############################################################################
>>>>
>>>> Sorry i'm quite new to Weewx!
>>>>
>>>> Sam
>>>>
>>>>
>>>> On Tuesday, March 6, 2018 at 2:02:28 PM UTC+11, Andrew Milner wrote:
>>>>>
>>>>> Sam - I think Matthew is saying that:
>>>>> a)  The main weewx.conf debug statement near the start of weewx.conf 
>>>>> should say debug = 2 to invoke more detailed weewx logging
>>>>> AND
>>>>> b) There should be a line within the WMR300 section - add it if 
>>>>> necessary - saying debug_decode = 1 to force more detailed logging from 
>>>>> the 
>>>>> driver itself
>>>>>
>>>>>
>>>>> On Tuesday, 6 March 2018 03:47:48 UTC+2, Sam Walton wrote:
>>>>>
>>>>>> Hi Mwall,
>>>>>>
>>>>>> I don't have the line in the config file for "debug_decode" do i add 
>>>>>> it in? I tried to add the line into the config under the driver section 
>>>>>> but 
>>>>>> the service fails to start.
>>>>>>
>>>>>> Sam
>>>>>>
>>>>>> On Tuesday, March 6, 2018 at 12:32:59 PM UTC+11, mwall wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Monday, March 5, 2018 at 8:46:45 AM UTC-5, Sam Walton wrote:
>>>>>>>>
>>>>>>>> Hi Mwall,
>>>>>>>>
>>>>>>>> I've set the config to debug_decode = 1 Attached is the putty dump. 
>>>>>>>> I've also attached a screen shot of the Weewx local site.
>>>>>>>>
>>>>>>>> Sam 
>>>>>>>>
>>>>>>>
>>>>>>> sam,
>>>>>>>
>>>>>>> i am confused.  
>>>>>>>
>>>>>>> that does not look like the previous log output - there are no 
>>>>>>> messages about wu uploads, and there are no messages from the wmr300 
>>>>>>> driver.
>>>>>>>
>>>>>>> your weewx.conf should have the following in it:
>>>>>>>
>>>>>>> debug = 2
>>>>>>> ...
>>>>>>> [WMR300]
>>>>>>>     ...
>>>>>>>     debug_decode = 1
>>>>>>>
>>>>>>> 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 [email protected].
>>> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to