yep.

On Monday, August 20, 2018 at 1:28:51 PM UTC+8, gjr80 wrote:
>
> So you are saying that when you reboot your RPi, the very first line from 
> WeeWX in syslog is:
>
> Aug 19 21:40:09 raspberrypi weewx[769]: engine: retrying...
>
> Gary
>
> On Monday, 20 August 2018 15:24:22 UTC+10, Charlie Huang wrote:
>>
>> Hi,
>>
>> I already checked the log in a txt editor. There is nothing between:
>>
>> Aug 19 21:39:09 raspberrypi CRON[1360]: (root) CMD ( [ -x 
>>> /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then 
>>> /usr/lib/php/sessionclean; fi)
>>>
>> and 
>>
>>> Aug 19 21:40:09 raspberrypi weewx[769]: engine: retrying...
>>
>>
>> weewx startup lines only shows up when I run sudo weewxd weewx.conf. 
>> which is really weird.
>>
>>
>> On Monday, August 20, 2018 at 1:11:51 PM UTC+8, gjr80 wrote:
>>>
>>> Ok, that is very interesting but you did not do either of the two things 
>>> I asked. Issuing the tail command that you used once your Rpi has 
>>> booted means that you are only seeing the log from that point on; you miss 
>>> all of the RPi boot sequence as well as the WeeWX startup and in this case 
>>> the error that is causing WeeWX to restart. To post this part of the log I 
>>> suggest you open /var/log/syslog in a text editor and locate the WeeWX 
>>> startup that occurred as part of the latest reboot. The WeeWX startup 
>>> starts with lines similar to the following:
>>>
>>> ...
>>> Aug 5 15:51:45 stretch17 weewx[10604]: engine: Initializing weewx 
>>> version 3.8.0
>>> Aug 5 15:51:45 stretch17 weewx[10604]: engine: Using Python 2.7.13 (
>>> default, Nov 24 2017, 17:33:09) #012[GCC 6.3.0 20170516]
>>> Aug 5 15:51:45 stretch17 weewx[10604]: engine: Platform Linux-4.9.0-7-
>>> amd64-x86_64-with-debian-9.5
>>> Aug 5 15:51:45 stretch17 weewx[10604]: engine: Locale is 'en_AU.UTF-8'
>>> Aug 5 15:51:45 stretch17 weewx[10604]: engine: pid file is /var/run/
>>> weewx.pid
>>> Aug 5 15:51:45 stretch17 weewx[10594]: Starting weewx weather system: 
>>> weewx.
>>> ...
>>>
>>> Once you have found these lines you need to copy and post the log from 
>>> the WeeWX startup through to the error. It is important to provide the 
>>> WeeWX startup as it gives a lot of information about what is loaded and 
>>> from where.
>>>
>>> Don't worry about the output from sudo weewxd /etc/weewx/weewx.conf, we 
>>> will come back to that later if need be.
>>>
>>> Gary
>>>
>>> On Monday, 20 August 2018 14:47:19 UTC+10, Charlie Huang wrote:
>>>>
>>>> here is the log every time i reboot my system.
>>>>
>>>> pi@raspberrypi:~ $ sudo tail -f /var/log/syslog
>>>>> Aug 19 21:38:47 raspberrypi xrdp-sesman[1118]: (1118)(1995456512)[INFO 
>>>>> ] starting xrdp-sessvc - xpid=1120 - wmpid=1119
>>>>> Aug 19 21:38:48 raspberrypi xrdp[1108]: (1108)(1996423776)[INFO ] 
>>>>> lib_mod_log_peer: xrdp_pid=1108 connected to X11rdp_pid=1120 
>>>>> X11rdp_uid=1000 X11rdp_gid=1000 client_ip=::ffff:192.168.0.42 
>>>>> client_port=60796
>>>>> Aug 19 21:38:48 raspberrypi xrdp[1108]: (1108)(1996423776)[DEBUG] 
>>>>> xrdp_wm_log_msg: connected ok
>>>>> Aug 19 21:38:48 raspberrypi xrdp[1108]: (1108)(1996423776)[DEBUG] 
>>>>> xrdp_mm_connect_chansrv: chansrv connect successful
>>>>> Aug 19 21:38:48 raspberrypi xrdp[1108]: (1108)(1996423776)[DEBUG] 
>>>>> Closed socket 16 (AF_INET6 ::1 port 34742)
>>>>> Aug 19 21:38:48 raspberrypi xrdp[1108]: (1108)(1996423776)[INFO ] The 
>>>>> following channel is allowed: rdpdr (0)
>>>>> Aug 19 21:38:48 raspberrypi xrdp[1108]: (1108)(1996423776)[INFO ] The 
>>>>> following channel is allowed: rdpsnd (1)
>>>>> Aug 19 21:38:48 raspberrypi xrdp[1108]: (1108)(1996423776)[INFO ] The 
>>>>> following channel is allowed: cliprdr (2)
>>>>> Aug 19 21:38:48 raspberrypi xrdp[1108]: (1108)(1996423776)[INFO ] The 
>>>>> following channel is allowed: drdynvc (3)
>>>>> Aug 19 21:38:48 raspberrypi xrdp[1108]: (1108)(1996423776)[DEBUG] The 
>>>>> allow channel list now initialized for this session
>>>>> Aug 19 21:39:02 raspberrypi systemd[1]: Starting Clean php session 
>>>>> files...
>>>>> Aug 19 21:39:03 raspberrypi systemd[1]: Started Clean php session 
>>>>> files.
>>>>> Aug 19 21:39:09 raspberrypi CRON[1360]: (root) CMD (  [ -x 
>>>>> /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then 
>>>>> /usr/lib/php/sessionclean; fi)
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> *Aug 19 21:40:09 raspberrypi weewx[769]: engine: retrying...Aug 19 
>>>>> 21:40:09 raspberrypi weewx[769]: engine: Using configuration file 
>>>>> /etc/weewx/weewx.confAug 19 21:40:09 raspberrypi weewx[769]: engine: 
>>>>> Debug 
>>>>> is 1Aug 19 21:40:09 raspberrypi weewx[769]: engine: Initializing 
>>>>> engineAug 
>>>>> 19 21:40:09 raspberrypi weewx[769]: engine: Loading station type 
>>>>> Interceptor (user.interceptor)Aug 19 21:40:09 raspberrypi weewx[769]: 
>>>>> interceptor: MainThread: driver version is 0.40Aug 19 21:40:09 
>>>>> raspberrypi 
>>>>> weewx[769]: interceptor: MainThread: device type: lacrosse-bridgeAug 19 
>>>>> 21:40:09 raspberrypi weewx[769]: interceptor: MainThread: sensor map: 
>>>>> NoneAug 19 21:40:09 raspberrypi weewx[769]: interceptor: MainThread: 
>>>>> using 
>>>>> station serial 7FFF9EB20AEA91C1Aug 19 21:40:09 raspberrypi weewx[769]: 
>>>>> interceptor: MainThread: using ping interval 120sAug 19 21:40:09 
>>>>> raspberrypi weewx[769]: interceptor: MainThread: using sensor interval 
>>>>> 1mAug 19 21:40:09 raspberrypi weewx[769]: import of driver failed: 
>>>>> history 
>>>>> interval must be 0-7 (<class 'weewx.ViolatedPrecondition'>)Aug 19 
>>>>> 21:40:09 
>>>>> raspberrypi weewx[769]: engine: Unable to load driver: history interval 
>>>>> must be 0-7Aug 19 21:40:09 raspberrypi weewx[769]:     ****  Exiting...*
>>>>
>>>>
>>>> Then I run "sudo weewxd weewx.conf", it actually starts to configure 
>>>> and works perfectly.
>>>>
>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Initializing weewx 
>>>>> version 3.8.2
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Using Python 2.7.13 
>>>>> (default, Nov 24 2017, 17:33:09) #012[GCC 6.3.0 20170516]
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Platform 
>>>>> Linux-4.14.62-v7+-armv7l-with-debian-9.4
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Locale is 
>>>>> 'en_US.UTF-8'
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Using configuration 
>>>>> file /etc/weewx/weewx.conf
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Debug is 1
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Initializing engine
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Loading station type 
>>>>> Interceptor (user.interceptor)
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: interceptor: MainThread: 
>>>>> driver version is 0.40
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: interceptor: MainThread: 
>>>>> device type: lacrosse-bridge
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: interceptor: MainThread: 
>>>>> sensor map: None
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: interceptor: MainThread: 
>>>>> using station serial 7FFFXXXXXXXXXXXX
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: interceptor: MainThread: 
>>>>> using ping interval 120s
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: interceptor: MainThread: 
>>>>> using sensor interval 1m
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: interceptor: MainThread: 
>>>>> using history interval 3 (15m)
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: interceptor: MainThread: mode 
>>>>> is listen
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: interceptor: MainThread: 
>>>>> listen on :1010
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: interceptor: ServerThread: 
>>>>> start tcp server
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Loading service 
>>>>> weewx.engine.StdTimeSynch
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Finished loading 
>>>>> service weewx.engine.StdTimeSynch
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Loading service 
>>>>> weewx.engine.StdConvert
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: StdConvert target 
>>>>> unit is 0x1
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Finished loading 
>>>>> service weewx.engine.StdConvert
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Loading service 
>>>>> weewx.engine.StdCalibrate
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Finished loading 
>>>>> service weewx.engine.StdCalibrate
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Loading service 
>>>>> weewx.engine.StdQC
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Finished loading 
>>>>> service weewx.engine.StdQC
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Loading service 
>>>>> weewx.wxservices.StdWXCalculate
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: wxcalculate: The following 
>>>>> values will be calculated: barometer=prefer_hardware, 
>>>>> windchill=prefer_hardware, dewpoint=prefer_hardware, 
>>>>> appTemp=prefer_hardware, rainRate=prefer_hardware, 
>>>>> windrun=prefer_hardware, 
>>>>> heatindex=prefer_hardware, maxSolarRad=prefer_hardware, 
>>>>> humidex=prefer_hardware, pressure=prefer_hardware, 
>>>>> inDewpoint=prefer_hardware, ET=prefer_hardware, 
>>>>> altimeter=prefer_hardware, 
>>>>> cloudbase=prefer_hardware
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: wxcalculate: The following 
>>>>> algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Finished loading 
>>>>> service weewx.wxservices.StdWXCalculate
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Loading service 
>>>>> user.crt.CumulusRealTime
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: crt: service version is 0.18
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: crt: output goes to 
>>>>> /var/tmp/realtime.txt
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: crt: 'None' values will be 
>>>>> displayed as NULL
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: crt: units will be displayed 
>>>>> as METRIC
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: crt: zambretti forecast: False
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: crt: binding is loop
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Finished loading 
>>>>> service user.crt.CumulusRealTime
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Loading service 
>>>>> weewx.engine.StdArchive
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Archive will use data 
>>>>> binding wx_binding
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Record generation 
>>>>> will be attempted in 'hardware'
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Using archive 
>>>>> interval of 300 seconds (specified in weewx configuration)
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Use LOOP data in 
>>>>> hi/low calculations: 1
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: manager: Daily summary 
>>>>> version is 2.0
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Using binding 
>>>>> 'wx_binding' to database 'weewx'
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: manager: Starting backfill of 
>>>>> daily summaries
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Finished loading 
>>>>> service weewx.engine.StdArchive
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Loading service 
>>>>> weewx.restx.StdStationRegistry
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: restx: StationRegistry: 
>>>>> Registration not requested.
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Finished loading 
>>>>> service weewx.restx.StdStationRegistry
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Loading service 
>>>>> weewx.restx.StdWunderground
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: restx: Wunderground-PWS: Data 
>>>>> for station KCASANDI4566 will be posted
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Finished loading 
>>>>> service weewx.restx.StdWunderground
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Loading service 
>>>>> weewx.restx.StdPWSweather
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: restx: PWSweather: Posting 
>>>>> not enabled.
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Finished loading 
>>>>> service weewx.restx.StdPWSweather
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Loading service 
>>>>> weewx.restx.StdCWOP
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: restx: CWOP: Posting not 
>>>>> enabled.
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Finished loading 
>>>>> service weewx.restx.StdCWOP
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Loading service 
>>>>> weewx.restx.StdWOW
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: restx: WOW: Posting not 
>>>>> enabled.
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Finished loading 
>>>>> service weewx.restx.StdWOW
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Loading service 
>>>>> weewx.restx.StdAWEKAS
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: restx: AWEKAS: Posting not 
>>>>> enabled.
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Finished loading 
>>>>> service weewx.restx.StdAWEKAS
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Loading service 
>>>>> weewx.engine.StdPrint
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Finished loading 
>>>>> service weewx.engine.StdPrint
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Loading service 
>>>>> weewx.engine.StdReport
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Finished loading 
>>>>> service weewx.engine.StdReport
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Starting up weewx 
>>>>> version 3.8.2
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Station does not 
>>>>> support reading the time
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: engine: Starting main packet 
>>>>> loop.
>>>>> Aug 19 21:43:20 raspberrypi weewx[1517]: manager: Daily summary 
>>>>> version is 2.0
>>>>> Aug 19 21:43:30 raspberrypi weewx[1517]: interceptor: MainThread: 
>>>>> empty queue
>>>>> Aug 19 21:43:40 raspberrypi weewx[1517]: interceptor: MainThread: 
>>>>> empty queue
>>>>> Aug 19 21:43:50 raspberrypi weewx[1517]: interceptor: MainThread: 
>>>>> empty queue
>>>>> Aug 19 21:43:56 raspberrypi weewx[1517]: interceptor: ServerThread: 
>>>>> recv: 01:01 80097CA2 FE4EF4CEC46520EE 01 64 20 20 01 61 13 01 35 31 61 13 
>>>>> 01 71 79 99 00 00 40 06 81 00 01 80 70 71 40 61 60 20 20 71 68 18 00 41 
>>>>> 50 
>>>>> 06 28 00 91 80 70 71 40 61 80 22 00 11 38 18 00 37 70 06 28 00 17 01 21 
>>>>> 07 
>>>>> 31 16 11 30 13 58 82 02 59 17 02 15 08 30 17 12 07 14 35 92 01 72 00 00 
>>>>> 00 
>>>>> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 51 17 02 27 23 59 
>>>>> 00 
>>>>> 79 72 00 00 00 18 04 10 18 59 00 25 02 00 00 00 00 00 00 00 00 a1 27 60 
>>>>> 68 
>>>>> 13 01 01 00 00 00 00 00 00 24 00 50 bb bb bb 18 01 28 09 48 1c 68 00 00 
>>>>> d8 
>>>>> 00 10 bb bb bb 02 96 81 00 51 02 46 90 83 64 03 22 81 09 34 16 11 30 15 
>>>>> 45 
>>>>> 16 11 30 13 40 03 53 03 9f d3
>>>>> Aug 19 21:43:56 raspberrypi weewx[1517]: interceptor: ServerThread: 
>>>>> send: 00:00
>>>>> Aug 19 21:43:56 raspberrypi weewx[1517]: interceptor: MainThread: raw 
>>>>> data: {'mac': '80097CA2', 'data': 
>>>>> '01642020016113013531611301717999000040068100018070714061602020716818004150062800918070714061802200113818003770062800170121073116113013588202591702150830171207143592017200000000000000000000000000000000000000000051170227235900797200000018041018590025020000000000000000a1276068130101000000000000240050bbbbbb18012809481c680000d80010bbbbbb029681005102469083640322810934161130154516113013400353039fd3'}
>>>>> Aug 19 21:43:56 raspberrypi weewx[1517]: interceptor: MainThread: 
>>>>> skipping rain measurement of 127.6068: no last rain
>>>>> Aug 19 21:43:56 raspberrypi weewx[1517]: interceptor: MainThread: raw 
>>>>> packet: {'gust_dir..80097CA2': 247.5, 'humidity_out..80097CA2': 72, 
>>>>> 'humidity_in..80097CA2': 59, 'record_type..80097CA2': '01', 
>>>>> 'gust_speed..80097CA2': 2.16, 'forecast..80097CA2': '20', 
>>>>> 'rain_total..80097CA2': 127.60679999999999, 'rain..80097CA2': None, 
>>>>> 'dateTime': 1534740236, 'wind_speed..80097CA2': 0.36, 'usUnits': 16, 
>>>>> 'wind_dir..80097CA2': 247.5, 'rf_signal_strength..80097CA2': 100, 
>>>>> 'temperature_out..80097CA2': 22.799999999999997, 'status..80097CA2': 
>>>>> '20', 
>>>>> 'barometer..80097CA2': 1005.1, 'temperature_in..80097CA2': 
>>>>> 28.099999999999994, 'windchill..80097CA2': 22.799999999999997}
>>>>> Aug 19 21:43:56 raspberrypi weewx[1517]: interceptor: MainThread: 
>>>>> mapped packet: {'barometer': 1005.1, 'outHumidity': 72, 'windGust': 2.16, 
>>>>> 'rain': None, 'dateTime': 1534740236, 'windDir': 247.5, 'outTemp': 
>>>>> 22.799999999999997, 'windSpeed': 0.36, 'inHumidity': 59, 'inTemp': 
>>>>> 28.099999999999994, 'rxCheckPercent': 100, 'usUnits': 16, 'windGustDir': 
>>>>> 247.5}
>>>>
>>>>
>>>> That's the end of first data grabbing.
>>>>
>>>> On Monday, August 20, 2018 at 12:29:45 PM UTC+8, gjr80 wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> So what happens when you run WeeWX manually and provide the fill path 
>>>>> to weewx.conf, ie
>>>>>
>>>>> $ sudo weewxd /etc/weewx/weewx.conf
>>>>>
>>>>> Does WeeWX start without error? What does the log say? Also, the log 
>>>>> extract you provided does not appear to be complete, the first line 
>>>>> indicates that WeeWX is trying to load again which implies it was already 
>>>>> running. Can you please provide the log from when WeeWX starts through 
>>>>> until the error. Best to provide too much rather than too little log.
>>>>>
>>>>> Gary
>>>>>
>>>>>
>>>>> On Monday, 20 August 2018 14:04:38 UTC+10, Charlie Huang wrote:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> My weewx service won't start each time I reboot. this is my log file.
>>>>>>
>>>>>> Aug 19 20:54:27 raspberrypi weewx[763]: engine: retrying...
>>>>>>> Aug 19 20:54:27 raspberrypi weewx[763]: engine: Using configuration 
>>>>>>> file /etc/weewx/weewx.conf
>>>>>>> Aug 19 20:54:27 raspberrypi weewx[763]: engine: Debug is 1
>>>>>>> Aug 19 20:54:27 raspberrypi weewx[763]: engine: Initializing engine
>>>>>>> Aug 19 20:54:27 raspberrypi weewx[763]: engine: Loading station type 
>>>>>>> Interceptor (user.interceptor)
>>>>>>> Aug 19 20:54:27 raspberrypi weewx[763]: interceptor: MainThread: 
>>>>>>> driver version is 0.40
>>>>>>> Aug 19 20:54:27 raspberrypi weewx[763]: interceptor: MainThread: 
>>>>>>> device type: lacrosse-bridge
>>>>>>> Aug 19 20:54:27 raspberrypi weewx[763]: interceptor: MainThread: 
>>>>>>> sensor map: None
>>>>>>> Aug 19 20:54:27 raspberrypi weewx[763]: interceptor: MainThread: 
>>>>>>> using station serial 7FFFXXXXXXXXXXXX
>>>>>>> Aug 19 20:54:27 raspberrypi weewx[763]: interceptor: MainThread: 
>>>>>>> using ping interval 120s
>>>>>>> Aug 19 20:54:27 raspberrypi weewx[763]: interceptor: MainThread: 
>>>>>>> using sensor interval 1m
>>>>>>> Aug 19 20:54:27 raspberrypi weewx[763]: import of driver failed: 
>>>>>>> history interval must be 0-7 (<class 'weewx.ViolatedPrecondition'>)
>>>>>>> Aug 19 20:54:27 raspberrypi weewx[763]: engine: Unable to load 
>>>>>>> driver: history interval must be 0-7
>>>>>>> Aug 19 20:54:27 raspberrypi weewx[763]:     ****  Exiting...
>>>>>>>
>>>>>>
>>>>>> Yep it gives me error says my history interval must be 0-7. However 
>>>>>> when I check my weewx.conf file, the value by default is 3 which I did 
>>>>>> not 
>>>>>> change.
>>>>>>
>>>>>> [Interceptor]
>>>>>>>     # This section is for the network traffic interceptor driver.
>>>>>>>     # The driver to use:
>>>>>>>     driver = user.interceptor
>>>>>>>     # Specify the hardware device to capture.  Options include:
>>>>>>>     #   acurite-bridge - acurite internet bridge
>>>>>>>     #   observer - fine offset WH2600/HP1000/HP1003, aka 'observer'
>>>>>>>     #   lw30x - oregon scientific LW301/LW302
>>>>>>>     #   lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge
>>>>>>>     device_type = lacrosse-bridge
>>>>>>>     serial = 7FFF9EB20AEA91C1
>>>>>>>     sensor_interval = 1
>>>>>>>     history_interval = 3
>>>>>>>     ping_interval = 120
>>>>>>>
>>>>>>
>>>>>> HOWEVER, when I manually run "sudo weewxd weewx.conf", it will start 
>>>>>> running...
>>>>>> I just wonder why it won't start automatically each time I reboot. 
>>>>>> Usually it will.
>>>>>>
>>>>>> By the way I just add weather34 service and its data add-on today.
>>>>>>
>>>>>

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