Matthew  

yes - thats the trick. 

 sudo /etc/init.d/weewx restart;tail -f /var/log/syslog
[....] Restarting weewx (via systemctl): weewx.service.
Sep 27 18:23:08 raspberrypi weewx[3018]: Stopping weewx weather system: weewx 
not running....
Sep 27 18:23:08 raspberrypi systemd[1]: Starting LSB: weewx weather system...
Sep 27 18:23:08 raspberrypi weewx[3043]: engine: Initializing weewx version 
3.5.0
Sep 27 18:23:08 raspberrypi weewx[3043]: engine: Using Python 2.7.9 (default, 
Sep 17 2016, 20:26:04) #012[GCC 4.9.2]
Sep 27 18:23:08 raspberrypi weewx[3043]: engine: Platform 
Linux-4.4.17-v7+-armv7l-with-debian-8.0
Sep 27 18:23:08 raspberrypi weewx[3043]: engine: pid file is /var/run/weewx.pid
Sep 27 18:23:08 raspberrypi weewx[3047]: engine: Using configuration file 
/etc/weewx/weewx.conf
Sep 27 18:23:08 raspberrypi weewx[3047]: engine: Loading station type 
WeatherLink (user.wlink)
Sep 27 18:23:08 raspberrypi weewx[3032]: Starting weewx weather system: weewx.
Sep 27 18:23:08 raspberrypi systemd[1]: Started LSB: weewx weather system.
Sep 27 18:23:09 raspberrypi weewx[3047]: wlink: version is 0.11rc1
Sep 27 18:23:09 raspberrypi weewx[3047]: wlink: expecting HTML format 'B'
Sep 27 18:23:09 raspberrypi weewx[3047]: wlink: polling interval is 60.0
Sep 27 18:23:09 raspberrypi weewx[3047]: engine: StdConvert target unit is 0x1
Sep 27 18:23:09 raspberrypi weewx[3047]: 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
Sep 27 18:23:09 raspberrypi weewx[3047]: wxcalculate: The following algorithms 
will be used for calculations: altimeter=aaNOAA,maxSolarRad=RS
Sep 27 18:23:09 raspberrypi weewx[3047]: engine: Archive will use data binding 
wx_binding
Sep 27 18:23:09 raspberrypi weewx[3047]: engine: Record generation will be 
attempted in 'hardware'
Sep 27 18:23:09 raspberrypi weewx[3047]: engine: Using archive interval of 300 
seconds
Sep 27 18:23:09 raspberrypi weewx[3047]: engine: Using binding 'wx_binding' to 
database 'weewx.sdb'
Sep 27 18:23:09 raspberrypi weewx[3047]: manager: Starting backfill of daily 
summaries
Sep 27 18:23:09 raspberrypi weewx[3047]: manager: Daily summaries up to date
Sep 27 18:23:09 raspberrypi weewx[3047]: restx: Weather365: service version is 
1.0.2
Sep 27 18:23:09 raspberrypi weewx[3047]: restx: Weather365: Data will be 
uploaded for station id L25CDPSV95
Sep 27 18:23:09 raspberrypi weewx[3047]: engine: Starting up weewx version 3.5.0
Sep 27 18:23:09 raspberrypi weewx[3047]: manager: added record 2016-09-27 
17:35:00 CEST (1474990500) to database 'weewx.sdb'
Sep 27 18:23:09 raspberrypi weewx[3047]: manager: added record 2016-09-27 
17:35:00 CEST (1474990500) to daily summary in 'weewx.sdb'
Sep 27 18:23:09 raspberrypi weewx[3047]: manager: added record 2016-09-27 
17:40:00 CEST (1474990800) to database 'weewx.sdb'
Sep 27 18:23:09 raspberrypi weewx[3047]: manager: added record 2016-09-27 
17:40:00 CEST (1474990800) to daily summary in 'weewx.sdb'
Sep 27 18:23:10 raspberrypi weewx[3047]: manager: added record 2016-09-27 
17:45:00 CEST (1474991100) to database 'weewx.sdb'
Sep 27 18:23:10 raspberrypi weewx[3047]: manager: added record 2016-09-27 
17:45:00 CEST (1474991100) to daily summary in 'weewx.sdb'
Sep 27 18:23:10 raspberrypi weewx[3047]: manager: added record 2016-09-27 
17:50:00 CEST (1474991400) to database 'weewx.sdb'
Sep 27 18:23:10 raspberrypi weewx[3047]: manager: added record 2016-09-27 
17:50:00 CEST (1474991400) to daily summary in 'weewx.sdb'
Sep 27 18:23:10 raspberrypi weewx[3047]: manager: added record 2016-09-27 
17:55:00 CEST (1474991700) to database 'weewx.sdb'
Sep 27 18:23:10 raspberrypi weewx[3047]: manager: added record 2016-09-27 
17:55:00 CEST (1474991700) to daily summary in 'weewx.sdb'
Sep 27 18:23:10 raspberrypi weewx[3047]: engine: Starting main packet loop.
Sep 27 18:23:12 raspberrypi weewx[3047]: restx: Weather365: Published record 
2016-09-27 17:35:00 CEST (1474990500)
Sep 27 18:23:13 raspberrypi weewx[3047]: restx: Weather365: Published record 
2016-09-27 17:40:00 CEST (1474990800)
Sep 27 18:23:13 raspberrypi weewx[3047]: restx: Weather365: Published record 
2016-09-27 17:45:00 CEST (1474991100)
Sep 27 18:23:13 raspberrypi weewx[3047]: restx: Weather365: Published record 
2016-09-27 17:50:00 CEST (1474991400)
Sep 27 18:23:13 raspberrypi weewx[3047]: restx: Weather365: Published record 
2016-09-27 17:55:00 CEST (1474991700)


-frank

-- 
Frank Bandle
Sent with Airmail

Am 27. September 2016 um 18:20:00, mwall ([email protected]) schrieb:



On Tuesday, September 27, 2016 at 12:15:59 PM UTC-4, fraban wrote:

Sep 27 18:10:04 raspberrypi weewx[2826]:     ****    File 
"/usr/share/weewx/user/wlink.py", line 219, in unpack_archive_packet
Sep 27 18:10:04 raspberrypi weewx[2826]:     ****      packet['interval'] = 
self.archive_interval() / 60
Sep 27 18:10:04 raspberrypi weewx[2826]:     ****  TypeError: 'int' object is 
not callable
Sep 27 18:10:04 raspberrypi weewx[2826]:     ****  Exiting.



frank,

on line 219 of wlink.py, change this:

  packet['interval'] = self.archive_interval() / 60

to this:

  packet['interval'] = self.archive_interval / 60

m
--
You received this message because you are subscribed to a topic in the Google 
Groups "weewx-user" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/weewx-user/kUkCXqfA6r4/unsubscribe.
To unsubscribe from this group and all its topics, 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