Hi,
I used to use WS2300 with wview (RIP).
Now i try to configure weewx with ws2300 on Raspberry and it does not work
...
i installed it with apt-get.
dmesg :
[ 1.623394] usb 1-1.4: New USB device found, idVendor=0403, idProduct=
6001, bcdDevice= 4.00
[ 1.623410] usb 1-1.4: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[ 1.623423] usb 1-1.4: Product: USB <-> Serial
[ 1.623434] usb 1-1.4: Manufacturer: FTDI
#modprobe ftdi_sio
#ls /dev/ttyUSB*
/dev/ttyUSB0
weewx.conf :
...
[Station]
# Description of the station location
location = ""
# Latitude and longitude in decimal degrees
latitude = 50.000
longitude = 1.000
# Altitude of the station, with unit it is in. This is downloaded from
# from the station if the hardware supports it.
altitude = 100, meter
# Set to type of station hardware. There must be a corresponding stanza
# in this file with a 'driver' parameter indicating the driver to be
used.
station_type = WS23xx
# If you have a website, you may specify an URL
#station_url = http://www.example.com
# The start of the rain year (1=January; 10=October, etc.). This is
# downloaded from the station if the hardware supports it.
rain_year_start = 1
# Start of week (0=Monday, 6=Sunday)
week_start = 0
##############################################################################
[WS23xx]
# This section is for the La Crosse WS-2300 series of weather stations.
# Serial port such as /dev/ttyS0, /dev/ttyUSB0, or /dev/cuaU0
port = /dev/ttyUSB0
# The station model, e.g., 'LaCrosse WS2317' or 'TFA Primus'
model = LaCrosse WS-2300
# The driver to use:
driver = weewx.drivers.ws23xx
##############################################################################
...
and when i ask wee_device --current
Using configuration file /etc/weewx/weewx.conf
Using WS23xx driver version 0.27 (weewx.drivers.ws23xx)
Querying the station for current weather data...
Traceback (most recent call last):
File "/usr/bin/wee_device", line 66, in <module>
main()
File "/usr/bin/wee_device", line 62, in main
device.configure(config_dict)
File "/usr/share/weewx/weewx/drivers/__init__.py", line 69, in configure
self.do_options(options, parser, config_dict, prompt)
File "/usr/share/weewx/weewx/drivers/ws23xx.py", line 313, in do_options
self.show_current()
File "/usr/share/weewx/weewx/drivers/ws23xx.py", line 339, in show_current
for packet in self.station.genLoopPackets():
File "/usr/share/weewx/weewx/drivers/ws23xx.py", line 502, in
genLoopPackets
raise weewx.RetriesExceeded(msg)
weewx.RetriesExceeded: Max retries (5) exceeded for LOOP data
Does anyone has an idéa ?
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/dca828bd-936b-49e7-8f00-3614cf650bcd%40googlegroups.com.