Caught unrecoverable exception in engine

38 views
Skip to first unread message

Jan Sundström

unread,
Sep 2, 2019, 5:32:49 AM9/2/19
to weewx-user

Weatherstation is a Eurochron EFWS2900 (WH2900). The goal is to have Weewx running on the local network and nothing in cloud, ie I want WEEWX to take the information directly from the weatherstation.

Installed WEEWX, Interceptor and HP1000. Have tried different settings but no luck.

Dont know for sure that what I am trying i doable, but I have found examples with similar weatherstations.

 

 

Sep 1 19:31:11 raspberrypi weewx[2387]: engine: Using configuration file /etc/weewx/weewx.conf

Sep 1 19:31:11 raspberrypi weewx[2387]: engine: Debug is 1

Sep 1 19:31:11 raspberrypi weewx[2387]: engine: Initializing engine

Sep 1 19:31:11 raspberrypi weewx[2387]: engine: Loading station type HP1000 (user.HP1000)

Sep 1 19:31:11 raspberrypi weewx[2387]: HP1000: HP1000 Starting

Sep 1 19:31:11 raspberrypi weewx[2387]: HP1000: Using user-defined broadcast mask - 192.168.1.7

Sep 1 19:31:11 raspberrypi weewx[2387]: HP1000: Address Mask = 192.168.1.7

Sep 1 19:31:11 raspberrypi weewx[2387]: HP1000: Retry count = 5.000000

Sep 1 19:31:11 raspberrypi weewx[2387]: HP1000: Socket timeout = 5.000000

Sep 1 19:31:11 raspberrypi weewx[2387]: HP1000: Loop delay = 15.000000

Sep 1 19:31:11 raspberrypi weewx[2387]: HP1000: Retry Wait = 5.000000

Sep 1 19:31:11 raspberrypi weewx[2387]: HP1000: Max Retry = 3.000000

Sep 1 19:31:11 raspberrypi weewx[2387]: engine: Caught unrecoverable exception in engine:

Sep 1 19:31:11 raspberrypi weewx[2387]: **** float() argument must be a string or a number

Sep 1 19:31:11 raspberrypi weewx[2387]: **** Traceback (most recent call last):

Sep 1 19:31:11 raspberrypi weewx[2387]: **** File "/usr/share/weewx/weewx/engine.py", line 888, in main

Sep 1 19:31:11 raspberrypi weewx[2387]: **** engine = engine_class(config_dict)

Sep 1 19:31:11 raspberrypi weewx[2387]: **** File "/usr/share/weewx/weewx/engine.py", line 75, in __init__

Sep 1 19:31:11 raspberrypi weewx[2387]: **** self.preLoadServices(config_dict)

Sep 1 19:31:11 raspberrypi weewx[2387]: **** File "/usr/share/weewx/weewx/engine.py", line 116, in preLoadServices

Sep 1 19:31:11 raspberrypi weewx[2387]: **** self.stn_info = weewx.station.StationInfo(self.console, **config_dict['Station'])

Sep 1 19:31:11 raspberrypi weewx[2387]: **** File "/usr/share/weewx/weewx/station.py", line 49, in __init__

Sep 1 19:31:11 raspberrypi weewx[2387]: **** self.latitude_f = float(stn_dict['latitude'])

Sep 1 19:31:11 raspberrypi weewx[2387]: **** TypeError: float() argument must be a string or a number

Sep 1 19:31:11 raspberrypi weewx[2387]: **** Exiting.

 

Andrew Milner

unread,
Sep 2, 2019, 5:52:40 AM9/2/19
to weewx-user
the error you have posted is saying that latitude (which is weewx.conf) has not been specified correctly.

should be specified in decimal degrees.

Jan Sundström

unread,
Sep 2, 2019, 6:52:42 AM9/2/19
to weewx-user
Solved, I had a space after decimal. Removed it and now its not abending.
Thanks
Reply all
Reply to author
Forward
0 new messages