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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to