Hi

I am trying to get an Acurite 01036M working under Ubuntu Linux 14.04.
It's installed on a Core2 HP PC which i am also using for my UniFi WiFi and 
camera system which are IP based and don't use USB.
The system runs headless and does not have a keyboard/mouse or monitor 
connected to it.

I have a fresh install of weewx on it and the station_type = Acurite
My [Acurite] section is as follows:

[AcuRite]
    # This section is for AcuRite weather stations.

    # The station model, e.g., 'AcuRite 01025' or 'AcuRite 02032C'
    model = AcuRite 01036

    # The driver to use:
    driver = weewx.drivers.acurite

I have tried both model = Acurite 01036 and 01036M


When I plug the base station into a USB port I get this from my syslog:

kernel: [19473.820074] usb 5-2: new low-speed USB device number 33 using 
uhci_hcd
kernel: [19474.192122] usb 5-2: New USB device found, idVendor=24c0, 
idProduct=0003
kernel: [19474.192127] usb 5-2: New USB device strings: Mfr=0, Product=2, 
SerialNumber=0
kernel: [19474.192131] usb 5-2: Product: Chaney Instrument
kernel: [19484.209127] hid-generic 0003:24C0:0003.0010: timeout 
initializing reports

then:
kernel: [19484.209245] input: Chaney Instrument as 
/devices/pci0000:00/0000:00:1a.2/usb5/5-2/5-2:1.0/0003:24C0:0003.0010/input/input26
kernel: [19484.209489] hid-generic 0003:24C0:0003.0010: input,hidraw0: USB 
HID v1.11 Device [Chaney Instrument] on usb-0000:00:1a.2-2/input0


A lsusb shows:

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 033: ID 24c0:0003
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

However when I start weewx I get:

Nov 11 15:28:57 UniFiVideo weewx[7612]: engine: Initializing weewx version 
3.7.1
Nov 11 15:28:57 UniFiVideo weewx[7612]: engine: Using Python 2.7.6 
(default, Oct 26 2016, 20:30:19) #012[GCC 4.8.4]
Nov 11 15:28:57 UniFiVideo weewx[7612]: engine: Platform 
Linux-4.4.0-93-generic-x86_64-with-Ubuntu-14.04-trusty
Nov 11 15:28:57 UniFiVideo weewx[7612]: engine: Locale is 'en_CA.UTF-8'
Nov 11 15:28:57 UniFiVideo weewx[7612]: engine: pid file is 
/var/run/weewx.pid
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Using configuration file 
/etc/weewx/weewx.conf
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: debug is 1
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Initializing engine
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Loading station type 
AcuRite (weewx.drivers.acurite)
Nov 11 15:28:57 UniFiVideo weewx[7616]: acurite: driver version is 0.24
Nov 11 15:28:57 UniFiVideo weewx[7616]: acurite: R2 will be decoded using 
sensor constants
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Loading service 
weewx.engine.StdTimeSynch
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Finished loading service 
weewx.engine.StdTimeSynch
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Loading service 
weewx.engine.StdConvert
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: StdConvert target unit is 
0x1
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Finished loading service 
weewx.engine.StdConvert
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Loading service 
weewx.engine.StdCalibrate
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Finished loading service 
weewx.engine.StdCalibrate
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Loading service 
weewx.engine.StdQC
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Finished loading service 
weewx.engine.StdQC
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Loading service 
weewx.wxservices.StdWXCalculate
Nov 11 15:28:57 UniFiVideo weewx[7616]: 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
Nov 11 15:28:57 UniFiVideo weewx[7616]: wxcalculate: The following 
algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Finished loading service 
weewx.wxservices.StdWXCalculate
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Loading service 
weewx.engine.StdArchive
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Archive will use data 
binding wx_binding
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Record generation will be 
attempted in 'hardware'
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Using archive interval of 
300 seconds (specified in weewx configuration)
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Use LOOP data in hi/low 
calculations: 1
Nov 11 15:28:57 UniFiVideo weewx[7616]: manager: Daily summary version is 
2.0
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Using binding 'wx_binding' 
to database 'weewx.sdb'
Nov 11 15:28:57 UniFiVideo weewx[7616]: manager: Starting backfill of daily 
summaries
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Finished loading service 
weewx.engine.StdArchive
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Loading service 
weewx.restx.StdStationRegistry
Nov 11 15:28:57 UniFiVideo weewx[7616]: restx: StationRegistry: 
Registration not requested.
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Finished loading service 
weewx.restx.StdStationRegistry
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Loading service 
weewx.restx.StdWunderground
Nov 11 15:28:57 UniFiVideo weewx[7616]: restx: Wunderground: Posting not 
enabled.
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Finished loading service 
weewx.restx.StdWunderground
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Loading service 
weewx.restx.StdPWSweather
Nov 11 15:28:57 UniFiVideo weewx[7616]: restx: PWSweather: Posting not 
enabled.
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Finished loading service 
weewx.restx.StdPWSweather
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Loading service 
weewx.restx.StdCWOP
Nov 11 15:28:57 UniFiVideo weewx[7616]: restx: CWOP: Posting not enabled.
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Finished loading service 
weewx.restx.StdCWOP
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Loading service 
weewx.restx.StdWOW
Nov 11 15:28:57 UniFiVideo weewx[7616]: restx: WOW: Posting not enabled.
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Finished loading service 
weewx.restx.StdWOW
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Loading service 
weewx.restx.StdAWEKAS
Nov 11 15:28:57 UniFiVideo weewx[7616]: restx: AWEKAS: Posting not enabled.
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Finished loading service 
weewx.restx.StdAWEKAS
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Loading service 
weewx.engine.StdPrint
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Finished loading service 
weewx.engine.StdPrint
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Loading service 
weewx.engine.StdReport
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Finished loading service 
weewx.engine.StdReport
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Starting up weewx version 
3.7.1
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Station does not support 
reading the time
Nov 11 15:28:57 UniFiVideo weewx[7616]: engine: Starting main packet loop.
Nov 11 15:28:57 UniFiVideo weewx[7616]: acurite: Found station at bus=005 
device=033

then:

Nov 11 15:28:57 UniFiVideo weewx[7616]: acurite: Failed attempt 1 of 10 to 
get LOOP data: error sending control message: Protocol error
Nov 11 15:28:57 UniFiVideo kernel: [19802.416183] usb 5-2: usbfs: 
USBDEVFS_CONTROL failed cmd python rqt 161 rq 1 len 10 ret -71
Nov 11 15:29:28 UniFiVideo weewx[7616]: acurite: Found station at bus=005 
device=033
Nov 11 15:29:28 UniFiVideo weewx[7616]: acurite: Failed attempt 2 of 10 to 
get LOOP data: error sending control message: Protocol error
Nov 11 15:29:28 UniFiVideo kernel: [19832.596186] usb 5-2: usbfs: 
USBDEVFS_CONTROL failed cmd python rqt 161 rq 1 len 10 ret -71


It will loop through 10 times, then restart, loop through 10 times etc

What am I doing wrong?  Any help appreciated

Thanks
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