Thanks, Gary for the explanation!
I would like to compare the data, which are provided by the ecowitt-client of interceptor.py to those of the GW1000 driver with respect to the two parameters mentioned:
The sensors are declared in interceptor.py either in the stanza:
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',
'rainEvent': 'rain_event',
'UV': 'uv',
...
}
and for customer's mapping in weewx.conf in the stanza
[Interceptor]
# This section is for the network traffic interceptor driver.
# The driver to use:
driver = user.interceptor
device_type = ecowitt-client
mode = listen
port = 9000
[[sensor_map_extensions]]
txBatteryStatus = wh65_battery
which, to my understanding, map the output of the ecowitt-client data to the appropriate weewx database fields.
When using the GW1000 driver, the mapping seems to be established in weewx.conf in the stanza
# Options for extension 'GW1000'
[Accumulator]
[[daymaxwind]]
extractor = last
[[lightning_distance]]
extractor = last
[[lightning_strike_count]]
extractor = sum
[[lightning_last_det_time]]
extractor = last
[[stormRain]]
extractor = last
...
If the mapping needs to be modified for the GW1000 driver, I do not know, how to adopt, in my case stormRain to rainEvent or wh65_battery to wh65_batt.
Obviously these two are not mapped correctly in my case. Unfortunately I am not smart enough to detect it by myself. So, please give me some simple guide.
In case, this is more complicated than I assume, it might be helpful to cut this topic out into a separate thread.
Thanks
--ph