I know, the interceptor driver is semi-abandoned, since for ecowitt devices it has been replaced by the gw80, so is not so easy to get support. Anyway I'm using the interceptor driver and I managed to make some modifications to get data from other sensors, so I can try to help you. What device type did you set, Observer? It seems that there are various unrecognized parameters from the captured packets. At first we should check what the driver is getting from the weather station, you can try to run the driver directly (following is for the observer, : sudo PYTHONPATH=/usr/share/weewx python3 /usr/share/weewx/user/interceptor.py --device=observer --port=theportyouset --debug (you have to stop weewx before running this)). You will get the raw packets and the mapped ones, so you can see precisely what is not mapped and you can decide what to ignore and what to keep. Then you have to check on the Observer Class (about line 1299). There a section with LABEL_MAP, which contains key/value pairs, it should look like this (this have probabily a few more items then the default one, since I was using obsever too at first (then I switched to ecowitt-client)):
LABEL_MAP = {
# firmware Weather logger V2.1.9
'humidity': 'humidity_out',
'indoorhumidity': 'humidity_in',
'tempf': 'temperature_out',
'indoortempf': 'temperature_in',
'baromin': 'barometer',
'windspeedmph': 'wind_speed',
'windgustmph': 'wind_gust',
'solarradiation': 'solar_radiation',
'dewptf': 'dewpoint',
'windchillf': 'windchill',
# firmware HP1001 2.2.2
'outhumi': 'humidity_out',
'inhumi': 'humidity_in',
'outtemp': 'temperature_out',
'intemp': 'temperature_in',
'absbaro': 'pressure',
'windspeed': 'wind_speed',
'windgust': 'wind_gust',
'light': 'luminosity',
'dewpoint': 'dewpoint',
'windchill': 'windchill',
'rainrate': 'rain_rate',
# firmware AMBWeatherV4.0.2
'baromabsin': 'pressure',
'tempinf': 'temperature_in',
'humidityin': 'humidity_in',
'uv': 'uv',
# firmware WS-1002 V2.4.3 also reports station pressure
'absbaromin': 'pressure',
# firmware EasyWeatherV1.3.9 (ecowitt HP2550)
'AqPM2.5': 'pm2_5',
'soilmoisture': 'soilmoisture',
# firmware GW1000B_V1.4.9 (ecowitt GW1000)
'rainratein': 'rain_rate',
'wh65batt': 'battery',
'eventrainin': 'rain_event',
# for all firmware
'winddir': 'wind_dir',
'windgustdir': 'wind_gust_dir',
'UV': 'uv',
'lowbatt': 'battery',
}
At the beginning of the interceptor (about line 368) there is the default sensor map declared:
DEFAULT_SENSOR_MAP = {
'pressure': 'pressure',
'barometer': 'barometer',
'outHumidity': 'humidity_out',
'inHumidity': 'humidity_in',
'outTemp': 'temperature_out',
'inTemp': 'temperature_in',
'windSpeed': 'wind_speed',
'windGust': 'wind_gust',
'windDir': 'wind_dir',
'windGustDir': 'wind_gust_dir',
'radiation': 'solar_radiation',
'dewpoint': 'dewpoint',
'windchill': 'windchill',
'rain': 'rain',
'rainRate': 'rain_rate',
'UV': 'uv',
'txBatteryStatus': 'battery',
'extraTemp1': 'temperature_1',
'extraTemp2': 'temperature_2',
'extraTemp3': 'temperature_3',
'extraHumid1': 'humidity_1',
'extraHumid2': 'humidity_2',
'soilTemp1': 'soil_temperature_1',
'soilTemp2': 'soil_temperature_2',
'soilMoist1': 'soil_moisture_1',
'soilMoist2': 'soil_moisture_2',
'soilMoist3': 'soil_moisture_3',
'soilMoist4': 'soil_moisture_4',
'leafWet1': 'leafwetness_1',
'leafWet2': 'leafwetness_2',
# these are not in the wview schema
'pm2_5': 'pm2_5',
'extraTemp4': 'temperature_4',
'extraTemp5': 'temperature_5',
'extraTemp6': 'temperature_6',
'extraTemp7': 'temperature_7',
'extraTemp8': 'temperature_8',
'extraHumid3': 'humidity_3',
'extraHumid4': 'humidity_4',
'extraHumid5': 'humidity_5',
'extraHumid6': 'humidity_6',
'extraHumid7': 'humidity_7',
'extraHumid8': 'humidity_8',
'soilTemp3': 'soil_temperature_3',
'soilTemp4': 'soil_temperature_4',
'lightning_strike_count': 'lightning_strike_count',
'lightningcount': 'lightningcount',
'lightning_last_det_time': 'lightning_time',
'lightning_distance': 'lightning_distance',
}
so you basically have to edit your LABEL_MAP to match the default sensor map. For example since you have an extra temperature sensor, showing as temp1f and a extra humidity sensor showing as , you could try to add this pairs to your label map:
'temp1f': 'temperature_1',
'humidity1': 'humidity_1'
and so on for all the other extra sensors you want to save on DB (the default vwiew schema should be enough to contain all your extra values, if not you might have to add some columns to the schema).
There are some values that you might want to ignore (for example station type and so on...), for this there is a section right down below LABEL_MAP that is IGNORED_LABELS (here's mine):
IGNORED_LABELS = [
'PASSKEY', 'dateutc', 'stationtype', 'model', 'freq']