Here is what I've observed, I can't tell if everything is an issue or if it is working as designed. (What I am trying to achieve, I will post in another reply)
I've configured an instance which reads from one GW2000 device (receiving from a WS68 sensor array) configured as driver, and another GW2000 device (receiving from a WS90 sensor array) as service. I've configured both with the same poll_interval:
[GW1000] #WS68
# This section is for the Ecowitt Gateway driver.
# How often to poll the API, default is every 20 seconds:
poll_interval = 10
ip_address = 10.0.1.85
max_tries = 360
# The driver to use:
driver = user.gw1000
[GW1000Service] #WS90
# This section is for the Ecowitt Gateway driver.
# How often to poll the API, default is every 20 seconds:
poll_interval = 10
ip_address = 10.0.1.86
max_tries = 360
# The driver to use:
driver = user.gw1000
[[field_map]]
ws90_windDir = winddir
ws90_windSpeed = windspeed
ws90_windGust = gustspeed
ws90_daymaxwind = daymaxwind
ws90_uvradiation = uv
ws90_UV = uvi
ws90_luminosity = light
p_rain = p_rain
p_stormRain = p_rainevent
p_rainRate = p_rainrate
p_dayRain = p_rainday
p_weekRain = p_rainweek
p_monthRain = p_rainmonth
p_yearRain = p_rainyear
Starting weewxd, there is one LOOP every 10 Seconds, it seems it is containing values from the device configured in [GW1000Service] including the values from [[field_map]], which I didn't expect from skimming through the driver's code. In my understanding
[[field_map]] replaces the default field map, leading to a LOOP packet only containing the configured
[[field_map]], but obviously I was wrong :) :
LOOP: 2024-01-22 06:16:03 CET (1705900563) 'altimeter': '1025.4477187548832', 'appTemp': '-6.253423533619011', 'barometer': '1028.5013923390995', 'cloudbase': '1041.4809012741189', 'dateTime': '1705900563', 'daymaxwind': '6.6', 'dayRain': '0.0', 'dewpoint': '-6.533418604408247', 'ET': 'None', 'extraHumid6': '59', 'extraHumid7': '61', 'extraHumid8': '57', 'extraTemp6': '14.7', 'extraTemp7': '20.5', 'extraTemp8': '21.3', 'heatindex': '-1.5999999999999994', 'humidex': '-1.6', 'inDewpoint': '9.08853654596964', 'inHumidity': '51', 'inTemp': '19.5', 'lightning_distance': 'None', 'lightning_last_det_time': '1705345360', 'lightning_strike_count': '0', 'lightningcount': '0', 'luminosity': '0.0', 'maxSolarRad': '0.0', 'monthRain': '50.4', 'outHumidity': '69', 'outTemp': '-1.6', 'p_dayRain': '0.0', 'p_monthRain': '26.5', 'p_rain': '0.0', 'p_rainRate': '0.0', 'p_stormRain': '0.0', 'p_weekRain': '0.0', 'p_yearRain': '26.5', 'pressure': '973.1', 'radiation': '0.0', 'rain': '0.0', 'rainRate': '0.0', 'relbarometer': '1025.9', 'stormRain': '0.0', 'usUnits': '17', 'UV': '0', 'uvradiation': '0.0', 'weekRain': '0.0', 'wh31_ch6_batt': '0', 'wh31_ch6_sig': '4', 'wh31_ch7_batt': '0', 'wh31_ch7_sig': '4', 'wh31_ch8_batt': '0', 'wh31_ch8_sig': '4', 'wh32_batt': '0', 'wh32_sig': '4', 'wh40_batt': '1.44', 'wh40_sig': '4', 'wh57_batt': '5', 'wh57_sig': '4', 'windchill': '-5.128915747986651', 'windDir': '206', 'windGust': '4.2', 'windrun': 'None', 'windSpeed': '2.7', 'ws90_batt': '3.28', 'ws90_daymaxwind': '7.7', 'ws90_luminosity': '0.0', 'ws90_sig': '4', 'ws90_UV': '0', 'ws90_uvradiation': '0.0', 'ws90_windDir': '206', 'ws90_windGust': '2.6', 'ws90_windSpeed': '2.1', 'yearRain': '50.4'
But On RPi4, polling the devices seems to drift apart quite quickly, producing individual LOOP packets, containing the individual values (I haven't observed that happening on my Desktop, so this might be connected to CPU power, maybe it happens after a longer period of time)
These LOOP packets contain values from the device configured in [GW1000Service] and from the device configured in [
GW1000 ] in that order, but without values from the configured [[field_map]] in [GW1000Service] - I didn't expect that.
(Maybe also worth noting is that the batt/sig values from my WS68 are tagged as wh68, which I consider an undesired typo in the driver's map)
LOOP: 2024-01-22 06:16:14 CET (1705900574) 'altimeter': '1025.4477187548832', 'appTemp': '-6.463423533619011', 'barometer': '1028.5013923390995', 'cloudbase': '1041.4809012741189', 'dateTime': '1705900574', 'daymaxwind': '6.6', 'dayRain': '0.0', 'dewpoint': '-6.533418604408247', 'ET': 'None', 'extraHumid6': '59', 'extraHumid7': '61', 'extraHumid8': '57', 'extraTemp6': '14.7', 'extraTemp7': '20.5', 'extraTemp8': '21.3', 'heatindex': '-1.5999999999999994', 'humidex': '-1.6', 'inDewpoint': '9.08853654596964', 'inHumidity': '51', 'inTemp': '19.5', 'lightning_distance': 'None', 'lightning_last_det_time': '1705345360', 'lightning_strike_count': '0', 'lightningcount': '0', 'luminosity': '0.0', 'maxSolarRad': '0.0', 'monthRain': '50.4', 'outHumidity': '69', 'outTemp': '-1.6', 'p_dayRain': '0.0', 'p_monthRain': '26.5', 'p_rain': '0.0', 'p_rainRate': '0.0', 'p_stormRain': '0.0', 'p_weekRain': '0.0', 'p_yearRain': '26.5', 'pressure': '973.1', 'radiation': '0.0', 'rain': '0.0', 'rainRate': '0.0', 'relbarometer': '1025.9', 'stormRain': '0.0', 'usUnits': '17', 'UV': '0', 'uvradiation': '0.0', 'weekRain': '0.0', 'wh31_ch6_batt': '0', 'wh31_ch6_sig': '4', 'wh31_ch7_batt': '0', 'wh31_ch7_sig': '4', 'wh31_ch8_batt': '0', 'wh31_ch8_sig': '4', 'wh32_batt': '0', 'wh32_sig': '4', 'wh40_batt': '1.44', 'wh40_sig': '4', 'wh57_batt': '5', 'wh57_sig': '4', 'windchill': '-5.422365775103767', 'windDir': '181', 'windGust': '4.2', 'windrun': 'None', 'windSpeed': '3.0', 'ws90_batt': '3.28', 'ws90_sig': '4', 'yearRain': '50.4'
LOOP: 2024-01-22 06:16:14 CET (1705900574) 'altimeter': '1025.5520572032206', 'appTemp': '-5.833423533619011', 'barometer': '1028.6070856277995', 'cloudbase': '1041.4809012741189', 'dateTime': '1705900574', 'daymaxwind': '7.7', 'dayRain': '0.0', 'dewpoint': '-6.533418604408247', 'ET': 'None', 'extraHumid6': '59', 'extraHumid7': '61', 'extraHumid8': '57', 'extraTemp6': '14.7', 'extraTemp7': '20.5', 'extraTemp8': '21.3', 'heatindex': '-1.5999999999999994', 'humidex': '-1.6', 'inDewpoint': '8.247305751926792', 'inHumidity': '47', 'inTemp': '19.9', 'lightning_distance': 'None', 'lightning_last_det_time': 'None', 'lightning_strike_count': '0', 'lightningcount': '0', 'luminosity': '0.0', 'maxSolarRad': '0.0', 'monthRain': '50.4', 'outHumidity': '69', 'outTemp': '-1.6', 'pressure': '973.2', 'radiation': '0.0', 'rain': '0.0', 'rainRate': '0.0', 'relbarometer': '1026.0', 'stormRain': '0.0', 'usUnits': '17', 'UV': '0', 'uvradiation': '0.0', 'weekRain': '0.0', 'wh31_ch6_batt': '0', 'wh31_ch6_sig': '4', 'wh31_ch7_batt': '0', 'wh31_ch7_sig': '4', 'wh31_ch8_batt': '0', 'wh31_ch8_sig': '4', 'wh32_batt': '0', 'wh32_sig': '4', 'wh40_batt': '1.44', 'wh40_sig': '4', 'wh57_batt': '5', 'wh57_sig': '4', 'wh68_batt': '1.88', 'wh68_sig': '1', 'windchill': '-4.448607638687528', 'windDir': '205', 'windGust': '3.1', 'windrun': 'None', 'windSpeed': '2.1', 'yearRain': '50.4'