I'm having trouble getting my system (Vue sensor package, regular Davis console, weewx on a Raspberry Pi) to use transmitter channel 2.
My station, installed several years ago, has some new neighbors. To avoid all of us using the default channel 1, I changed mine to use channel 2. I changed the channel on the sensor package and the ISS channel in the weewx.conf file. From the console I verified that it was receiving from channel 2 (though I only waited long enough to see the channel show up for one packet). Somewhere along the way the console seemed to be taking data from someone using channel 1 instead of channel 2. I know because that sensor package runs out of (solar) battery shortly before dawn every day, and comes up again shortly after dawn. This can't be my station as I just inserted a new CR123 battery in the sensor package this week. The station is at a vacation home so I'm only there sporadically. I login to the Pi remotely and have tried several commands to force the console to pay attention to channel 2 instead of 1. You can see the whole session in the attached log. I seem to have succeeded in deactivating channel 1, but it still shows as an ISS station, and nothing for channel 2. I've restarted the weewx server a couple of times but I seem to only get data from channel 1, which I believe is not my station. Any thoughts on how to go about debugging this further or fixing it would be very much appreciated. -- 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 visit https://groups.google.com/d/msgid/weewx-user/1e270f49-a3ac-4bcf-a161-f500284b8772n%40googlegroups.com.
login as: pi [email protected]'s password: Linux raspberrypi 5.15.84-v8+ #1613 SMP PREEMPT Thu Jan 5 12:03:08 GMT 2023 aarch64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Sep 12 09:04:31 2025 from 98.177.86.117 Wi-Fi is currently blocked by rfkill. Use raspi-config to set the country before use. pi@raspberrypi:~ $ sudo wee_device --help Using configuration file /etc/weewx/weewx.conf Using Vantage driver version 3.5.2 (weewx.drivers.vantage) Usage: wee_device --help wee_device --info [config_file] wee_device --current [config_file] wee_device --clear-memory [config_file] [-y] wee_device --set-interval=MINUTES [config_file] [-y] wee_device --set-latitude=DEGREE [config_file] [-y] wee_device --set-longitude=DEGREE [config_file] [-y] wee_device --set-altitude=FEET [config_file] [-y] wee_device --set-barometer=inHg [config_file] [-y] wee_device --set-wind-cup=CODE [config_file] [-y] wee_device --set-bucket=CODE [config_file] [-y] wee_device --set-rain-year-start=MM [config_file] [-y] wee_device --set-offset=VARIABLE,OFFSET [config_file] [-y] wee_device --set-transmitter-type=CHANNEL,TYPE,TEMP,HUM,REPEATER_ID [config_file] [-y] wee_device --set-retransmit=[OFF|ON|ON,CHANNEL] [config_file] [-y] wee_device --set-temperature-logging=[LAST|AVERAGE] [config_file] [-y] wee_device --set-time [config_file] [-y] wee_device --set-dst=[AUTO|ON|OFF] [config_file] [-y] wee_device --set-tz-code=TZCODE [config_file] [-y] wee_device --set-tz-offset=HHMM [config_file] [-y] wee_device --set-lamp=[ON|OFF] [config_file] wee_device --dump [--batch-size=BATCH_SIZE] [config_file] [-y] wee_device --logger-summary=FILE [config_file] [-y] wee_device [--start | --stop] [config_file] Configures the Davis Vantage weather station. Options: -h, --help show this help message and exit --debug display diagnostic information while running -y answer yes to every prompt --info To print configuration, reception, and barometer calibration information about your weather station. --current To print current LOOP information. --clear-memory To clear the memory of your weather station. --set-interval=MINUTES Sets the archive interval to the specified number of minutes. Valid values are 1, 5, 10, 15, 30, 60, or 120. --set-latitude=DEGREE Sets the latitude of the station to the specified number of tenth degree. --set-longitude=DEGREE Sets the longitude of the station to the specified number of tenth degree. --set-altitude=FEET Sets the altitude of the station to the specified number of feet. --set-barometer=inHg Sets the barometer reading of the station to a known correct value in inches of mercury. Specify 0 (zero) to have the console pick a sensible value. --set-wind-cup=CODE Set the type of wind cup. Specify '0' for small size; '1' for large size --set-bucket=CODE Set the type of rain bucket. Specify '0' for 0.01 inches; '1' for 0.2 mm; '2' for 0.1 mm --set-rain-year-start=MM Set the rain year start (1=Jan, 2=Feb, etc.). --set-offset=VARIABLE,OFFSET Set the onboard offset for VARIABLE inTemp, outTemp, extraTemp[1-7], inHumid, outHumid, extraHumid[1-7], soilTemp[1-4], leafTemp[1-4], windDir) to OFFSET (Fahrenheit, %, degrees) --set-transmitter-type=CHANNEL,TYPE,TEMP,HUM,REPEATER_ID Set the transmitter type for CHANNEL (1-8), TYPE (0=iss, 1=temp, 2=hum, 3=temp_hum, 4=wind, 5=rain, 6=leaf, 7=soil, 8=leaf_soil, 9=sensorlink, 10=none), as extra TEMP station and extra HUM station (both 1-7, if applicable), REPEATER_ID ('A'-'H', if used) --set-retransmit=OFF|ON|ON,CHANNEL Turn console retransmit function 'ON' or 'OFF'. --set-temperature-logging=LAST|AVERAGE Set console temperature logging to either 'LAST' or 'AVERAGE'. --set-time Set the onboard clock to the current time. --set-dst=AUTO|ON|OFF Set DST to 'ON', 'OFF', or 'AUTO' --set-tz-code=TZCODE Set timezone code to TZCODE. See your Vantage manual for valid codes. --set-tz-offset=HHMM Set timezone offset to HHMM. E.g. '-0800' for U.S. Pacific Time. --set-lamp=ON|OFF Turn the console lamp 'ON' or 'OFF'. --dump Dump all data to the archive. NB: This may result in many duplicate primary key errors. --batch-size=BATCH_SIZE Use with option --dump. Pages are read off the console in batches of BATCH_SIZE. A BATCH_SIZE of zero means dump all data first, then put it in the database. This can improve performance in high-latency environments, but requires sufficient memory to hold all station data. Default is 1 (one). --logger-summary=FILE Save diagnostic summary to FILE (for debugging the logger). --start Start the logger. --stop Stop the logger. Be sure to stop weewx first before using. Mutating actions will request confirmation before proceeding. pi@raspberrypi:~ $ type wee_device wee_device is /usr/bin/wee_device pi@raspberrypi:~ $ ls /usr/bin/wee* /usr/bin/wee_config /usr/bin/wee_debug /usr/bin/wee_extension /usr/bin/wee_reports /usr/bin/wee_database /usr/bin/wee_device /usr/bin/wee_import /usr/bin/weewxd pi@raspberrypi:~ $ wee_debug --help Usage: wee_debug --help wee_debug --info [CONFIG_FILE|--config=CONFIG_FILE] [--output|--output DEBUG_PATH] [--verbosity=0|1|2] wee_debug --version Description: Generate a standard suite of system/weewx information to aid in remote debugging. The wee_debug output consists of two parts, the first part containing a snapshot of relevant system/weewx information and the second part a parsed and obfuscated copy of weewx.conf. This output can be redirected to file and posted when seeking assistance via forums or email. Actions: --info Generate a debug report. Options: -h, --help show this help message and exit --config=CONFIG_FILE Use configuration file CONFIG_FILE. --info Generate weewx debug output. --output Write wee_debug output to DEBUG_PATH. DEBUG_PATH includes path and file name. Default is /var/tmp/weewx.debug. --verbosity=N How much detail to display, 0-2, default=1. --version Display wee_debug version number. wee_debug will attempt to obfuscate obvious personal/private information in weewx.conf such as user names, passwords and API keys; however, the user should thoroughly check the generated output for personal/private information before posting the information publicly. pi@raspberrypi:~ $ sudo wee_device --current Using configuration file /etc/weewx/weewx.conf Using Vantage driver version 3.5.2 (weewx.drivers.vantage) Unable to wake up console... sleeping Unable to wake up console... retrying Querying the station for current weather data... 2025-09-13 10:30:39 MST (1757784639) 'barometer': '29.792', 'consBatteryVoltage': '5.27', 'dateTime': '1757784639', 'dayET': '0.0', 'dayRain': '0.0', 'extraAlarm1': '0', 'extraAlarm2': '0', 'extraAlarm3': '0', 'extraAlarm4': '0', 'extraAlarm5': '0', 'extraAlarm6': '0', 'extraAlarm7': '0', 'extraAlarm8': '0', 'forecastIcon': '3', 'forecastRule': '192', 'inHumidity': '28.0', 'insideAlarm': '0', 'inTemp': '78.1', 'monthET': '0.0', 'monthRain': '0.15', 'outHumidity': '26.0', 'outsideAlarm1': '0', 'outsideAlarm2': '0', 'outTemp': '64.4', 'rain': 'None', 'rainAlarm': '0', 'rainRate': '0.0', 'soilLeafAlarm1': '0', 'soilLeafAlarm2': '0', 'soilLeafAlarm3': '0', 'soilLeafAlarm4': '0', 'soilMoist3': '0.0', 'stormRain': '0.0', 'sunrise': '1757768880', 'sunset': '1757813760', 'txBatteryStatus': '1', 'usUnits': '1', 'windDir': '203.0', 'windSpeed': '2.0', 'windSpeed10': '4.0', 'yearET': '0.0', 'yearRain': '8.07' 2025-09-13 10:30:42 MST (1757784642) 'barometer': '29.792', 'consBatteryVoltage': '5.27', 'dateTime': '1757784642', 'dayET': '0.0', 'dayRain': '0.0', 'extraAlarm1': '0', 'extraAlarm2': '0', 'extraAlarm3': '0', 'extraAlarm4': '0', 'extraAlarm5': '0', 'extraAlarm6': '0', 'extraAlarm7': '0', 'extraAlarm8': '0', 'forecastIcon': '3', 'forecastRule': '192', 'inHumidity': '28.0', 'insideAlarm': '0', 'inTemp': '78.1', 'monthET': '0.0', 'monthRain': '0.15', 'outHumidity': '26.0', 'outsideAlarm1': '0', 'outsideAlarm2': '0', 'outTemp': '64.4', 'rain': '0.0', 'rainAlarm': '0', 'rainRate': '0.0', 'soilLeafAlarm1': '0', 'soilLeafAlarm2': '0', 'soilLeafAlarm3': '0', 'soilLeafAlarm4': '0', 'soilMoist3': '0.0', 'stormRain': '0.0', 'sunrise': '1757768880', 'sunset': '1757813760', 'txBatteryStatus': '1', 'usUnits': '1', 'windDir': '203.0', 'windSpeed': '2.0', 'windSpeed10': '4.0', 'yearET': '0.0', 'yearRain': '8.07' ^CTraceback (most recent call last): File "/usr/share/weewx/wee_device", line 76, in <module> main() File "/usr/share/weewx/wee_device", line 72, in main device.configure(config_dict) File "/usr/share/weewx/weewx/drivers/__init__.py", line 67, in configure self.do_options(options, parser, config_dict, not options.noprompt) File "/usr/share/weewx/weewx/drivers/vantage.py", line 2115, in do_options self.current(station) File "/usr/share/weewx/weewx/drivers/vantage.py", line 2333, in current for pack in station.genDavisLoopPackets(1): File "/usr/share/weewx/weewx/drivers/vantage.py", line 562, in genDavisLoopPackets self.port.wakeup_console(self.max_tries) File "/usr/share/weewx/weewx/drivers/vantage.py", line 104, in wakeup_console self.write(b'\n') File "/usr/share/weewx/weewx/drivers/vantage.py", line 426, in write time.sleep(self.tcp_send_delay) KeyboardInterrupt pi@raspberrypi:~ $ sudo wee_device --info Using configuration file /etc/weewx/weewx.conf Using Vantage driver version 3.5.2 (weewx.drivers.vantage) Querying... Davis Vantage EEPROM settings: CONSOLE TYPE: Vantage Vue CONSOLE FIRMWARE: Date: Jul 28 2009 Version: 2.11 CONSOLE SETTINGS: Archive interval: 300 (seconds) Altitude: 6618 (foot) Wind cup type: large Rain bucket type: 0.01 inches Rain year start: 1 Onboard time: 2025-09-13 10:35:18 CONSOLE DISPLAY UNITS: Barometer: inHg Temperature: degree_F Rain: inch Wind: mile_per_hour CONSOLE STATION INFO: Latitude (onboard): +34.9 Longitude (onboard): -111.6 Use manual or auto DST? MANUAL DST setting: OFF Use GMT offset or zone code? ZONE_CODE Time zone code: 5 GMT offset: N/A Temperature logging: LAST Retransmit channel: OFF (0) TRANSMITTERS: Channel Receive Repeater Type 1 inactive none iss 2 active none (N/A) 3 active none (N/A) 4 active none (N/A) 5 active none (N/A) 6 active none (N/A) 7 active none (N/A) 8 active none (N/A) RECEPTION STATS: Total packets received: 8864 Total packets missed: 5273 Number of resynchronizations: 6 Longest good stretch: 21 Number of CRC errors: 963 BAROMETER CALIBRATION DATA: Current barometer reading: 29.789 inHg Altitude: 6618 feet Dew point: 29 F Virtual temperature: 63 F Humidity correction factor: 1.8 Correction ratio: 1.261 Correction constant: +0.000 inHg Gain: 0.000 Offset: -8.000 OFFSETS: Wind direction: +0 deg Inside Temperature: -2.0 F Inside Humidity: +0 % Outside Temperature: +0.0 F Outside Humidity: +0 % pi@raspberrypi:~ $ sudo wee_device --set-transmitter-type=2,0,,, Using configuration file /etc/weewx/weewx.conf Using Vantage driver version 3.5.2 (weewx.drivers.vantage) Proceeding will set channel 2 to type 0 (iss), repeater: none, active. Are you sure you want to proceed (y/n)? y Transmitter type for channel 2 set to 0 (iss), repeater: none, active. pi@raspberrypi:~ $ sudo wee_device --info Using configuration file /etc/weewx/weewx.conf Using Vantage driver version 3.5.2 (weewx.drivers.vantage) Querying... Davis Vantage EEPROM settings: CONSOLE TYPE: Vantage Vue CONSOLE FIRMWARE: Date: Jul 28 2009 Version: 2.11 CONSOLE SETTINGS: Archive interval: 300 (seconds) Altitude: 6618 (foot) Wind cup type: large Rain bucket type: 0.01 inches Rain year start: 1 Onboard time: 2025-09-13 10:38:38 CONSOLE DISPLAY UNITS: Barometer: inHg Temperature: degree_F Rain: inch Wind: mile_per_hour CONSOLE STATION INFO: Latitude (onboard): +34.9 Longitude (onboard): -111.6 Use manual or auto DST? MANUAL DST setting: OFF Use GMT offset or zone code? ZONE_CODE Time zone code: 5 GMT offset: N/A Temperature logging: LAST Retransmit channel: OFF (0) TRANSMITTERS: Channel Receive Repeater Type 1 inactive none iss 2 active none (N/A) 3 active none (N/A) 4 active none (N/A) 5 active none (N/A) 6 active none (N/A) 7 active none (N/A) 8 active none (N/A) RECEPTION STATS: Total packets received: 23 Total packets missed: 11 Number of resynchronizations: 0 Longest good stretch: 5 Number of CRC errors: 4 BAROMETER CALIBRATION DATA: Current barometer reading: 29.792 inHg Altitude: 6618 feet Dew point: 29 F Virtual temperature: 63 F Humidity correction factor: 1.8 Correction ratio: 1.261 Correction constant: +0.000 inHg Gain: 0.000 Offset: -8.000 OFFSETS: Wind direction: +0 deg Inside Temperature: -2.0 F Inside Humidity: +0 % Outside Temperature: +0.0 F Outside Humidity: +0 % pi@raspberrypi:~ $ cd /etc/weewx pi@raspberrypi:/etc/weewx $ grep iss weewx.conf iss_id = 2 # Be sure that the user has write permissions on the destination! pi@raspberrypi:/etc/weewx $
