I am attempting to install weewx on a Raspberry Pi model B+.

I installed weewx from the instructions shown 
here: http://www.weewx.com/docs/debian.htm

I wasn't able to get much progress until I enabled debugging to make a post 
here.

Here is the syslog output: (more after the break)

----

Oct 28 18:18:15 raspberrypi systemd[1]: Started LSB: weewx weather system.
Oct 28 18:18:15 raspberrypi weewx[741]: engine: Using configuration file 
/etc/weewx/weewx.conf
Oct 28 18:18:15 raspberrypi weewx[741]: engine: debug is 1
Oct 28 18:18:15 raspberrypi weewx[741]: engine: Initializing engine
Oct 28 18:18:15 raspberrypi weewx[741]: engine: Loading station type 
AcuRite (weewx.drivers.acurite)
Oct 28 18:18:15 raspberrypi weewx[741]: acurite: driver version is 0.24
Oct 28 18:18:15 raspberrypi weewx[741]: acurite: R2 will be decoded using 
sensor constants
Oct 28 18:18:15 raspberrypi weewx[741]: engine: Loading service 
weewx.engine.StdTimeSynch
Oct 28 18:18:15 raspberrypi weewx[741]: engine: Finished loading service 
weewx.engine.StdTimeSynch
Oct 28 18:18:16 raspberrypi weewx[741]: engine: Loading service 
weewx.engine.StdConvert
Oct 28 18:18:16 raspberrypi weewx[741]: engine: StdConvert target unit is 
0x1
Oct 28 18:18:16 raspberrypi weewx[741]: engine: Finished loading service 
weewx.engine.StdConvert
Oct 28 18:18:16 raspberrypi weewx[741]: engine: Loading service 
weewx.engine.StdCalibrate
Oct 28 18:18:16 raspberrypi weewx[741]: engine: Finished loading service 
weewx.engine.StdCalibrate
Oct 28 18:18:16 raspberrypi weewx[741]: engine: Loading service 
weewx.engine.StdQC
Oct 28 18:18:16 raspberrypi weewx[741]: engine: Finished loading service 
weewx.engine.StdQC
Oct 28 18:18:16 raspberrypi weewx[741]: engine: Loading service 
weewx.wxservices.StdWXCalculate
Oct 28 18:18:16 raspberrypi weewx[741]: 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
Oct 28 18:18:16 raspberrypi weewx[741]: wxcalculate: The following 
algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Oct 28 18:18:16 raspberrypi weewx[741]: engine: Finished loading service 
weewx.wxservices.StdWXCalculate
Oct 28 18:18:16 raspberrypi weewx[741]: engine: Loading service 
weewx.engine.StdArchive
Oct 28 18:18:16 raspberrypi weewx[741]: engine: Archive will use data 
binding wx_binding
Oct 28 18:18:16 raspberrypi weewx[741]: engine: Record generation will be 
attempted in 'hardware'
Oct 28 18:18:16 raspberrypi weewx[741]: engine: Using archive interval of 
300 seconds (specified in weewx configuration)
Oct 28 18:18:16 raspberrypi weewx[741]: engine: Use LOOP data in hi/low 
calculations: 1
Oct 28 18:18:16 raspberrypi weewx[741]: manager: Daily summary version is 
2.0
Oct 28 18:18:16 raspberrypi weewx[741]: engine: Using binding 'wx_binding' 
to database 'weewx.sdb'
Oct 28 18:18:16 raspberrypi weewx[741]: manager: Starting backfill of daily 
summaries
Oct 28 18:18:16 raspberrypi weewx[741]: engine: Finished loading service 
weewx.engine.StdArchive
Oct 28 18:18:16 raspberrypi weewx[741]: engine: Loading service 
weewx.restx.StdStationRegistry
Oct 28 18:18:17 raspberrypi weewx[741]: restx: StationRegistry: 
Registration not requested.
Oct 28 18:18:17 raspberrypi weewx[741]: engine: Finished loading service 
weewx.restx.StdStationRegistry
Oct 28 18:18:17 raspberrypi weewx[741]: engine: Loading service 
weewx.restx.StdWunderground
Oct 28 18:18:17 raspberrypi weewx[741]: restx: Wunderground: Posting not 
enabled.
Oct 28 18:18:17 raspberrypi weewx[741]: engine: Finished loading service 
weewx.restx.StdWunderground
Oct 28 18:18:17 raspberrypi weewx[741]: engine: Loading service 
weewx.restx.StdPWSweather
Oct 28 18:18:17 raspberrypi weewx[741]: restx: PWSweather: Posting not 
enabled.
Oct 28 18:18:17 raspberrypi weewx[741]: engine: Finished loading service 
weewx.restx.StdPWSweather
Oct 28 18:18:17 raspberrypi weewx[741]: engine: Loading service 
weewx.restx.StdCWOP
Oct 28 18:18:17 raspberrypi weewx[741]: restx: CWOP: Posting not enabled.
Oct 28 18:18:17 raspberrypi weewx[741]: engine: Finished loading service 
weewx.restx.StdCWOP
Oct 28 18:18:17 raspberrypi weewx[741]: engine: Loading service 
weewx.restx.StdWOW
Oct 28 18:18:17 raspberrypi weewx[741]: restx: WOW: Posting not enabled.
Oct 28 18:18:17 raspberrypi weewx[741]: engine: Finished loading service 
weewx.restx.StdWOW
Oct 28 18:18:17 raspberrypi weewx[741]: engine: Loading service 
weewx.restx.StdAWEKAS
Oct 28 18:18:17 raspberrypi weewx[741]: restx: AWEKAS: Posting not enabled.
Oct 28 18:18:17 raspberrypi weewx[741]: engine: Finished loading service 
weewx.restx.StdAWEKAS
Oct 28 18:18:17 raspberrypi weewx[741]: engine: Loading service 
weewx.engine.StdPrint
Oct 28 18:18:17 raspberrypi weewx[741]: engine: Finished loading service 
weewx.engine.StdPrint
Oct 28 18:18:17 raspberrypi weewx[741]: engine: Loading service 
weewx.engine.StdReport
Oct 28 18:18:17 raspberrypi weewx[741]: engine: Finished loading service 
weewx.engine.StdReport
Oct 28 18:18:17 raspberrypi weewx[741]: engine: Starting up weewx version 
3.7.1
Oct 28 18:18:17 raspberrypi weewx[741]: engine: Station does not support 
reading the time
Oct 28 18:18:17 raspberrypi weewx[741]: engine: Starting main packet loop.
Oct 28 18:18:17 raspberrypi weewx[741]: acurite: Cannot find USB device 
with VendorID=0x24c0 ProductID=0x0003 DeviceID=None
Oct 28 18:18:17 raspberrypi weewx[741]: acurite: Failed attempt 1 of 10 to 
get LOOP data: Unable to find station on USB
Oct 28 18:24:43 raspberrypi weewx[741]: acurite: Cannot find USB device 
with VendorID=0x24c0 ProductID=0x0003 DeviceID=None
Oct 28 18:24:43 raspberrypi weewx[741]: acurite: Failed attempt 2 of 10 to 
get LOOP data: Unable to find station on USB
Oct 28 18:25:14 raspberrypi weewx[741]: acurite: Cannot find USB device 
with VendorID=0x24c0 ProductID=0x0003 DeviceID=None
Oct 28 18:25:14 raspberrypi weewx[741]: acurite: Failed attempt 3 of 10 to 
get LOOP data: Unable to find station on USB
Oct 28 18:25:44 raspberrypi weewx[741]: acurite: Found station at bus=001 
device=008
Oct 28 18:25:45 raspberrypi weewx[741]: acurite: Failed attempt 4 of 10 to 
get LOOP data: error sending control message: Connection timed out
Oct 28 18:25:45 raspberrypi kernel: [  120.319538] usb 1-1.4: usbfs: 
USBDEVFS_CONTROL failed cmd python rqt 161 rq 1 len 10 ret -110
Oct 28 18:26:15 raspberrypi weewx[741]: acurite: Found station at bus=001 
device=008
Oct 28 18:26:16 raspberrypi weewx[741]: acurite: Failed attempt 5 of 10 to 
get LOOP data: error sending control message: Connection timed out
Oct 28 18:26:16 raspberrypi kernel: [  151.519844] usb 1-1.4: usbfs: 
USBDEVFS_CONTROL failed cmd python rqt 161 rq 1 len 10 ret -110
Oct 28 18:26:46 raspberrypi weewx[741]: acurite: Found station at bus=001 
device=008
Oct 28 18:26:46 raspberrypi weewx[741]: acurite: Failed attempt 6 of 10 to 
get LOOP data: error sending control message: Broken pipe
Oct 28 18:27:16 raspberrypi weewx[741]: acurite: Found station at bus=001 
device=008
Oct 28 18:27:16 raspberrypi weewx[741]: acurite: Failed attempt 7 of 10 to 
get LOOP data: error sending control message: Broken pipe
Oct 28 18:27:47 raspberrypi weewx[741]: acurite: Found station at bus=001 
device=008
Oct 28 18:27:47 raspberrypi weewx[741]: acurite: Failed attempt 8 of 10 to 
get LOOP data: error sending control message: Broken pipe
Oct 28 18:28:17 raspberrypi weewx[741]: acurite: Found station at bus=001 
device=008
Oct 28 18:28:18 raspberrypi weewx[741]: acurite: Failed attempt 9 of 10 to 
get LOOP data: error sending control message: Connection timed out
Oct 28 18:28:18 raspberrypi kernel: [  273.360791] usb 1-1.4: usbfs: 
USBDEVFS_CONTROL failed cmd python rqt 161 rq 1 len 10 ret -110
Oct 28 18:28:48 raspberrypi weewx[741]: acurite: Found station at bus=001 
device=008
Oct 28 18:28:49 raspberrypi weewx[741]: acurite: Failed attempt 10 of 10 to 
get LOOP data: error sending control message: Connection timed out
Oct 28 18:29:19 raspberrypi weewx[741]: acurite: Max retries (10) exceeded 
for LOOP data
Oct 28 18:29:19 raspberrypi weewx[741]: engine: Main loop exiting. Shutting 
engine down.
Oct 28 18:29:19 raspberrypi weewx[741]: engine: Caught WeeWxIOError: Max 
retries (10) exceeded for LOOP data
Oct 28 18:29:19 raspberrypi weewx[741]:     ****  Waiting 60 seconds then 
retrying...

----

wee_device also isn't working:

# wee_device /etc/weewx/weewx.conf --debug --set-lamp=OFF
Using configuration file /etc/weewx/weewx.conf
<no more output>

I've tried to connect to a OSX machine to see if it was the RPi, but OSX 
version of weewx doesn't seem so happy.

Here are the two problems I'm trying to solve:

1.  weewx daemon doesn't reliably connect to the weather station
2.  wee_device doesn't do <anything>, is this normal?

Thanks for any info.

Regards,
- Steve

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