> it would help to see more of the log, not just one cycle.  and it would 
> help if you set debug=1
>
>
Hi M,

thank you for your reply. Much appreciated!

At the bottom of this mail i've include a more extensive part of the log 
file.

 

> however, this smells like an unreported exception - the listening thread 
> is probably raising an exception, but that is getting swallowed.
>  
>
try running weewx directly - that will show us whether there are any 
> exceptions in the listening (or other) thread.
>
>
well.. this is the way i start(ed) weewx....
sudo weewxd /etc/weewx/weewx.conf

in my weewx config debug is set

(
# Set to 1 for extra debug info, otherwise comment it out or set to zero
debug = 1
)
 

> also, you are probably testing two different things - your weewx.conf uses 
> wu-client as device_type, but since you did not specify a mode in the 
> direct invocation of interceptor.py, the device_type is acurite-bridge.
>
> m
>


You are right! 

I've added the device parameter. 
(PYTHONPATH=. python user/interceptor.py --device=wu-client --mode=listen 
--port=8000 --debug)
The output looks (exactly?) the same. Here is a snippet from the log file:

Aug 26 12:24:51 weerstation interceptor[11831]: interceptor: MainThread: 
unrecognized parameter monthlyrainin=0.020
Aug 26 12:24:51 weerstation interceptor[11831]: interceptor: MainThread: 
unrecognized parameter weeklyrainin=0.000
Aug 26 12:25:20 weerstation interceptor[11831]: interceptor: MainThread: 
unrecognized parameter rainin=0.000
Aug 26 12:25:20 weerstation interceptor[11831]: interceptor: MainThread: 
unrecognized parameter absbaromin=30.115
Aug 26 12:25:20 weerstation interceptor[11831]: interceptor: MainThread: 
unrecognized parameter monthlyrainin=0.020
Aug 26 12:25:20 weerstation interceptor[11831]: interceptor: MainThread: 
unrecognized parameter weeklyrainin=0.000
Aug 26 12:25:55 weerstation interceptor[11831]: interceptor: MainThread: 
unrecognized parameter rainin=0.000
Aug 26 12:25:55 weerstation interceptor[11831]: interceptor: MainThread: 
unrecognized parameter absbaromin=30.115
Aug 26 12:25:55 weerstation interceptor[11831]: interceptor: MainThread: 
unrecognized parameter monthlyrainin=0.020
Aug 26 12:25:55 weerstation interceptor[11831]: interceptor: MainThread: 
unrecognized parameter weeklyrainin=0.000

Looking forward to your reply....

CIao,
Jos
-----
extensive part of logfile

Aug 26 11:54:00 weerstation weewx[9422]: engine: Using configuration file 
/etc/weewx/weewx.conf
Aug 26 11:54:00 weerstation weewx[9422]: engine: Loading station type 
Interceptor (user.interceptor)
Aug 26 11:54:00 weerstation weewx[9422]: interceptor: MainThread: driver 
version is 0.46
Aug 26 11:54:00 weerstation weewx[9422]: interceptor: MainThread: device 
type: wu-client
Aug 26 11:54:00 weerstation weewx[9422]: interceptor: MainThread: sensor 
map: None
Aug 26 11:54:00 weerstation weewx[9422]: interceptor: MainThread: mode is 
listen
Aug 26 11:54:00 weerstation weewx[9422]: interceptor: MainThread: listen on 
:8000
Aug 26 11:54:00 weerstation weewx[9422]: engine: StdConvert target unit is 
0x1
Aug 26 11:54:00 weerstation weewx[9422]: 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 26 11:54:00 weerstation weewx[9422]: wxcalculate: The following 
algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Aug 26 11:54:00 weerstation weewx[9422]: engine: Archive will use data 
binding wx_binding
Aug 26 11:54:00 weerstation weewx[9422]: engine: Record generation will be 
attempted in 'software'
Aug 26 11:54:00 weerstation weewx[9422]: engine: Using archive interval of 
300 seconds (software record generation)
Aug 26 11:54:00 weerstation weewx[9422]: interceptor: MainThread: shutting 
down server thread
Aug 26 11:56:01 weerstation weewx[9422]: engine: retrying...
Aug 26 11:56:01 weerstation weewx[9422]: engine: Using configuration file 
/etc/weewx/weewx.conf
Aug 26 11:56:01 weerstation weewx[9422]: engine: Loading station type 
Interceptor (user.interceptor)
Aug 26 11:56:01 weerstation weewx[9422]: interceptor: MainThread: driver 
version is 0.46
Aug 26 11:56:01 weerstation weewx[9422]: interceptor: MainThread: device 
type: wu-client
Aug 26 11:56:01 weerstation weewx[9422]: interceptor: MainThread: sensor 
map: None
Aug 26 11:56:01 weerstation weewx[9422]: interceptor: MainThread: mode is 
listen
Aug 26 11:56:01 weerstation weewx[9422]: interceptor: MainThread: listen on 
:8000
Aug 26 11:56:01 weerstation weewx[9422]: engine: StdConvert target unit is 
0x1
Aug 26 11:56:01 weerstation weewx[9422]: 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 26 11:56:01 weerstation weewx[9422]: wxcalculate: The following 
algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Aug 26 11:56:01 weerstation weewx[9422]: engine: Archive will use data 
binding wx_binding
Aug 26 11:56:01 weerstation weewx[9422]: engine: Record generation will be 
attempted in 'software'
Aug 26 11:56:01 weerstation weewx[9422]: engine: Using archive interval of 
300 seconds (software record generation)
Aug 26 11:56:01 weerstation weewx[9422]: interceptor: MainThread: shutting 
down server thread
Aug 26 11:58:01 weerstation weewx[9422]: engine: retrying...
Aug 26 11:58:01 weerstation weewx[9422]: engine: Using configuration file 
/etc/weewx/weewx.conf
Aug 26 11:58:01 weerstation weewx[9422]: engine: Loading station type 
Interceptor (user.interceptor)
Aug 26 11:58:01 weerstation weewx[9422]: interceptor: MainThread: driver 
version is 0.46
Aug 26 11:58:01 weerstation weewx[9422]: interceptor: MainThread: device 
type: wu-client
Aug 26 11:58:01 weerstation weewx[9422]: interceptor: MainThread: sensor 
map: None
Aug 26 11:58:01 weerstation weewx[9422]: interceptor: MainThread: mode is 
listen
Aug 26 11:58:01 weerstation weewx[9422]: interceptor: MainThread: listen on 
:8000
Aug 26 11:58:01 weerstation weewx[9422]: engine: StdConvert target unit is 
0x1
Aug 26 11:58:01 weerstation weewx[9422]: 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 26 11:58:01 weerstation weewx[9422]: wxcalculate: The following 
algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Aug 26 11:58:01 weerstation weewx[9422]: engine: Archive will use data 
binding wx_binding
Aug 26 11:58:01 weerstation weewx[9422]: engine: Record generation will be 
attempted in 'software'
Aug 26 11:58:01 weerstation weewx[9422]: engine: Using archive interval of 
300 seconds (software record generation)
Aug 26 11:58:01 weerstation weewx[9422]: interceptor: MainThread: shutting 
down server thread


-- 
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/270303db-8369-4a79-9ca8-ecb793337e42%40googlegroups.com.

Reply via email to