Come to find out I need pyserial to be > 3.1 since I am using a virtual serial port. I did pip uninstall pyserial, pip install pyserial and it installed 3.4
I think I'm all set for now. On Monday, March 19, 2018 at 2:06:40 PM UTC-4, Pat O'Brien wrote: > > Hi there, I'm trying to setup the weewx-meteostick driver from > https://github.com/matthewwall/weewx-meteostick and I'm getting the > following errors after configuring and restarting. > > I have pyserial 3.0.1 installed and I verified that serial port > /home/pat/vcom0 is accessible using minicom. > > Not sure what else to check on the error. Setting debug=1 in weewx.conf > doesn't show any more information that i could find. > > Thoughts? > > Mar 19 14:02:30 weewxlab systemd[1]: Starting LSB: weewx weather system... > Mar 19 14:02:30 weewxlab weewx[15401]: * Starting weewx weather system > weewx > Mar 19 14:02:30 weewxlab weewx[15416]: engine: Initializing weewx version > 3.8.0 > Mar 19 14:02:30 weewxlab weewx[15416]: engine: Using Python 2.7.12 ( > default, Dec 4 2017, 14:50:18) #012[GCC 5.4.0 20160609] > Mar 19 14:02:30 weewxlab weewx[15416]: engine: Platform Linux-4.4.0-116- > generic-x86_64-with-Ubuntu-16.04-xenial > Mar 19 14:02:30 weewxlab weewx[15416]: engine: Locale is 'en_US.UTF-8' > Mar 19 14:02:30 weewxlab weewx[15416]: engine: pid file is /var/run/weewx. > pid > Mar 19 14:02:30 weewxlab weewx[15401]: ...done. > Mar 19 14:02:30 weewxlab systemd[1]: Started LSB: weewx weather system. > Mar 19 14:02:30 weewxlab weewx[15421]: engine: Using configuration file / > etc/weewx/weewx.conf > Mar 19 14:02:30 weewxlab weewx[15421]: engine: debug is 1 > Mar 19 14:02:30 weewxlab weewx[15421]: engine: Initializing engine > Mar 19 14:02:30 weewxlab weewx[15421]: engine: Loading station type > Meteostick (user.meteostick) > Mar 19 14:02:30 weewxlab weewx[15421]: meteostick: driver version is 0.49 > Mar 19 14:02:30 weewxlab weewx[15421]: meteostick: using rain_bucket_type > 0 > Mar 19 14:02:30 weewxlab weewx[15421]: meteostick: sensor map is: { > 'leafWet2': 'leaf_wetness_2', 'outHumidity': 'humidity', 'extraHumid1': > 'humid_1', 'inTempBatteryStatus': 'bat_th_2', 'rainBatteryStatus': > 'bat_leaf_soil', 'windDir': 'wind_dir', 'outTemp': 'temperature', > 'outTempBatteryStatus': 'bat_th_1', 'radiation': 'solar_radiation', > 'windSpeed': 'wind_speed', 'inTemp': 'temp_in', 'referenceVoltage': > 'solar_power', 'supplyVoltage': 'supercap_volt', 'soilTemp1': > 'soil_temp_1', 'soilTemp2': 'soil_temp_2', 'soilTemp3': 'soil_temp_3', > 'soilTemp4': 'soil_temp_4', 'pressure': 'pressure', 'extraHumid2': > 'humid_2', 'rxCheckPercent': 'pct_good', 'extraTemp2': 'temp_2', > 'leafTemp2': 'leaf_temp_2', 'leafTemp1': 'leaf_temp_1', 'extraTemp1': > 'temp_1', 'leafWet1': 'leaf_wetness_1', 'txBatteryStatus': 'bat_iss', > 'windBatteryStatus': 'bat_anemometer', 'UV': 'uv', 'soilMoist3': > 'soil_moisture_3', 'soilMoist2': 'soil_moisture_2', 'soilMoist1': > 'soil_moisture_1', 'inHumidity': 'humidity_in', 'soilMoist4': > 'soil_moisture_4'} > Mar 19 14:02:30 weewxlab weewx[15421]: meteostick: using serial port /home > /pat/vcom0 > Mar 19 14:02:30 weewxlab weewx[15421]: meteostick: using baudrate 115200 > Mar 19 14:02:30 weewxlab weewx[15421]: meteostick: using frequency US > Mar 19 14:02:30 weewxlab weewx[15421]: meteostick: using rf sensitivity 90 > (-90 dB) > Mar 19 14:02:30 weewxlab weewx[15421]: meteostick: using output_format raw > Mar 19 14:02:30 weewxlab weewx[15421]: meteostick: using iss_channel 1 > Mar 19 14:02:30 weewxlab weewx[15421]: meteostick: using > anemometer_channel 0 > Mar 19 14:02:30 weewxlab weewx[15421]: meteostick: using > leaf_soil_channel 0 > Mar 19 14:02:30 weewxlab weewx[15421]: meteostick: using > temp_hum_1_channel 0 > Mar 19 14:02:30 weewxlab weewx[15421]: meteostick: using > temp_hum_2_channel 0 > Mar 19 14:02:30 weewxlab weewx[15421]: meteostick: using transmitters 01 > Mar 19 14:02:30 weewxlab weewx[15421]: import of driver failed: [Errno 22] > Invalid argument (<type 'exceptions.IOError'>) > Mar 19 14:02:30 weewxlab weewx[15421]: engine: Unable to load driver: [ > Errno 22] Invalid argument > Mar 19 14:02:30 weewxlab weewx[15421]: **** Exiting... > > > >