Werner's interceptor driver is mainly meant for FOSHK clone consoles
like the HP350x or HP2551 which do not have an API which can be actively
queried by weewx. It interpretes the http posts of these consoles using
the custom server functionality
As for the GW1x00, WH2650, WN19x0 and the GW2000 consoles who possess an
(the same) API, Gary's GW1000 API driver is the better choice.
You need the respective [GW1000] entries in weewx.conf and the entry
station_type = GW1000 in the [Station] section. see below
As the GW1000 can only receive a dynamic IP address, it is recommended
to make an IP address binding in your router, i.e. associate the IP
address with the MAC address (--> WS View Device List) of the GW1000.
This makes sure that after a reboot of the GW1000 (e.g. firmware
updated, power loss) or of the router,
the IP address doesn't change and weewx won't find it anymore.
[GW1000]
driver = user.gw1000
ip_address = your-GW1000-ip-address
poll_interval = 10
[[field_map_extensions]]
# WeeWX field name = GW1000 field name
rainEvent = rainevent
#WH45 5-in-1 sensor data
pm10 = pm10
co2 = co2
pm2_55 = pm255
pm2_55_24hav = pm255_24hav
pm10_24hav = pm10_24_hav
co2_24hav = co2_24hav
wh45_batt = wh45_batt
wh45_sig = wh45_sig
in [StdCalibrate] [[Corrections]] you need an extra entry for solar
radiation due to the way the GW1000 reads radiation observations from
the sensors
[StdCalibrate]
[[Corrections]]
# For each type, an arbitrary calibration expression can be given.
# It should be in the units defined in the StdConvert section.
# Example:
foo = foo + 0.2
radiation = luminosity/126.7 if luminosity is not None else None
Your [Accumulator] section should look like below
# Options for extension 'GW1000'
[Accumulator]
[[outTemp]]
extractor = max
[[radiation]]
extractor = max
[[wh65_batt]]
extractor = last
[[wh51_ch8_batt]]
extractor = last
[[wh31_ch1_batt]]
extractor = last
[[pm2_52_24hav]]
extractor = last
[[pm2_51_24hav]]
extractor = last
[[totalRain]]
extractor = last
# *************************
[[rainEvent]]
extractor = last
# *************************
[[wh51_ch1_batt]]
extractor = last
[[wh31_ch3_batt]]
extractor = last
[[wh55_ch4_batt]]
extractor = last
[[wh51_ch3_batt]]
extractor = last
[[yearRain]]
extractor = last
[[pm2_53_24hav]]
extractor = last
[[wh41_ch3_batt]]
extractor = last
[[wh51_ch16_batt]]
extractor = last
[[pm2_54_24hav]]
extractor = last
[[wh51_ch4_batt]]
extractor = last
[[wh57_batt]]
extractor = last
[[wh41_ch1_batt]]
extractor = last
[[lightning_strike_count]]
extractor = sum
[[wh40_batt]]
extractor = last
[[wh25_batt]]
extractor = last
[[daymaxwind]]
extractor = last
[[wh31_ch7_batt]]
extractor = last
[[dayRain]]
extractor = last
[[wh31_ch5_batt]]
extractor = last
[[wh31_ch8_batt]]
extractor = last
[[wh51_ch15_batt]]
extractor = last
[[wh31_ch6_batt]]
extractor = last
[[wh31_ch2_batt]]
extractor = last
[[wh51_ch14_batt]]
extractor = last
[[wh31_ch4_batt]]
extractor = last
[[monthRain]]
extractor = last
[[ws80_batt]]
extractor = last
[[stormRain]]
extractor = last
[[wh55_ch3_batt]]
extractor = last
[[weekRain]]
extractor = last
[[wh51_ch6_batt]]
extractor = last
[[hourRain]]
extractor = last
[[wh51_ch10_batt]]
extractor = last
[[wh51_ch13_batt]]
extractor = last
[[wh41_ch4_batt]]
extractor = last
[[wh68_batt]]
extractor = last
[[lightning_distance]]
extractor = last
[[wh51_ch11_batt]]
extractor = last
[[wh51_ch7_batt]]
extractor = last
[[wh51_ch2_batt]]
extractor = last
[[wh26_batt]]
extractor = last
[[wh55_ch1_batt]]
extractor = last
[[wh55_ch2_batt]]
extractor = last
[[wh51_ch12_batt]]
extractor = last
[[wh51_ch5_batt]]
extractor = last
[[wh51_ch9_batt]]
extractor = last
[[lightning_last_det_time]]
extractor = last
[[wh41_ch2_batt]]
extractor = last
[[24havpm255]]
extractor = last
[[wh45_batt]]
extractor = last
[[wh45_sig]]
extractor = last
[[lightningcount]]
extractor = last
[[pm2_51_24h_avg]]
extractor = last
[[pm2_52_24h_avg]]
extractor = last
[[pm2_53_24h_avg]]
extractor = last
[[pm2_54_24h_avg]]
extractor = last
[[pm2_55_24h_avg]]
extractor = last
[[pm10_24h_avg]]
extractor = last
[[co2_24h_avg]]
extractor = last
[[wh35_ch1_batt]]
extractor = last
[[wh35_ch2_batt]]
extractor = last
[[wh35_ch3_batt]]
extractor = last
[[wh35_ch4_batt]]
extractor = last
[[wh35_ch5_batt]]
extractor = last
[[wh35_ch6_batt]]
extractor = last
[[wh35_ch7_batt]]
extractor = last
[[wh35_ch8_batt]]
extractor = last
[[wh40_sig]]
extractor = last
[[wh26_sig]]
extractor = last
[[wh25_sig]]
extractor = last
[[wh65_sig]]
extractor = last
[[wh31_ch1_sig]]
extractor = last
[[wh31_ch2_sig]]
extractor = last
[[wh31_ch3_sig]]
extractor = last
[[wh31_ch4_sig]]
extractor = last
[[wh31_ch5_sig]]
extractor = last
[[wh31_ch6_sig]]
extractor = last
[[wh31_ch7_sig]]
extractor = last
[[wh31_ch8_sig]]
extractor = last
[[wh35_ch1_sig]]
extractor = last
[[wh35_ch2_sig]]
extractor = last
[[wh35_ch3_sig]]
extractor = last
[[wh35_ch4_sig]]
extractor = last
[[wh35_ch5_sig]]
extractor = last
[[wh35_ch6_sig]]
extractor = last
[[wh35_ch7_sig]]
extractor = last
[[wh35_ch8_sig]]
extractor = last
[[wh41_ch1_sig]]
extractor = last
[[wh41_ch2_sig]]
extractor = last
[[wh41_ch3_sig]]
extractor = last
[[wh41_ch4_sig]]
extractor = last
[[wh51_ch1_sig]]
extractor = last
[[wh51_ch2_sig]]
extractor = last
[[wh51_ch3_sig]]
extractor = last
[[wh51_ch4_sig]]
extractor = last
[[wh51_ch5_sig]]
extractor = last
[[wh51_ch6_sig]]
extractor = last
[[wh51_ch7_sig]]
extractor = last
[[wh51_ch8_sig]]
extractor = last
[[wh51_ch9_sig]]
extractor = last
[[wh51_ch10_sig]]
extractor = last
[[wh51_ch11_sig]]
extractor = last
[[wh51_ch12_sig]]
extractor = last
[[wh51_ch13_sig]]
extractor = last
[[wh51_ch14_sig]]
extractor = last
[[wh51_ch15_sig]]
extractor = last
[[wh51_ch16_sig]]
extractor = last
[[wh55_ch1_sig]]
extractor = last
[[wh55_ch2_sig]]
extractor = last
[[wh55_ch3_sig]]
extractor = last
[[wh55_ch4_sig]]
extractor = last
[[wh57_sig]]
extractor = last
[[wh68_sig]]
extractor = last
[[ws80_sig]]
extractor = last
[[wh24_batt]]
extractor = last
[[wh24_sig]]
extractor = last
On 27.12.2021 17:08, Jonathan Zitelman wrote:
Thanks Tom, I had previously tried Gary's driver with no luck.
Werner's Interceptor driver as noted above by Ranier seems to have
fixed things all around. It's Ecowitt specific, but accounts for all
of their available sensors.
Might be worth updating the extensions page on the wiki with one of
the more up-to-date drivers since Matthew doesn't seem to be updating
his anymore.
-Jonathan
On Mon, Dec 27, 2021 at 7:20 AM Tom Keffer <tkef...@gmail.com> wrote:
I'm not an expert on the GW1000, but have you tried Gary
Roderick's driver?
https://github.com/gjr80/weewx-gw1000
On Sun, Dec 26, 2021 at 9:51 PM jszit...@gmail.com
<jszitel...@gmail.com> wrote:
Ranier, thank you for the lead. I downloaded Werner's
complete installation file in the last post, but continue to
encounter a UnicodeDecodeError. I am trying to figure out
from his first post, steps to do it manually, but my German is
elementary level and I am a bit lost. I think I can update
Matthew's driver for the WH57 and WN34L, but just don't
understand why the existing WH31 temps don't transfer to the
database even though Weewx seems to accept them.
-Jonathan
On Wednesday, December 22, 2021 at 11:49:48 PM UTC-6
lang....@googlemail.com wrote:
Matthew's Interceptor driver doesn't handle that (yet ?).
As you seem to be living in Germany resp. speaking German,
have a look at
https://www.pc-wetterstation.de/forum/viewtopic.php?f=26&t=10333&sid=bf68867d7a6c245e55636c156d07330b
<https://www.pc-wetterstation.de/forum/viewtopic.php?f=26&t=10333&sid=bf68867d7a6c245e55636c156d07330b>
where a modified Interceptor driver is described (and
downloadable) which covers all recent sensors from the
Ecowitt ecosystem. And it's working ! 😎
best regards
Rainer
On 22.12.2021 23:39, jszit...@gmail.com wrote:
I am running Weewx 4.5.1 using Matthew's Interceptor
driver in ecowitt-client mode to parse data from an
Ecowitt GW1000. I recently supplemented my Ecowitt setup
with a few additional sensors and cannot seem to get them
to parse properly.
A few rounds of the syslog:
Dec 22 16:20:54 Gugelhupf weewx[20166] DEBUG
weewx.manager: Daily summary version is 1.0
Dec 22 16:20:55 Gugelhupf weewx[20166] DEBUG
weewx.manager: Daily summary version is 1.0
Dec 22 16:20:56 Gugelhupf weewx[20166] DEBUG
weewx.manager: Daily summary version is 4.0
Dec 22 16:20:58 Gugelhupf weewx[20166] INFO
weewx.imagegenerator: Generated 16 images for report
StandardReport in 7.17 seconds
Dec 22 16:20:58 Gugelhupf weewx[20166] INFO
weewx.reportengine: Copied 9 files to /var/www/html/weewx
Dec 22 16:20:58 Gugelhupf weewx[20166] DEBUG
weewx.reportengine: Running report 'cmon'
Dec 22 16:20:58 Gugelhupf weewx[20166] DEBUG
weewx.reportengine: Found configuration file
/etc/weewx/skins/cmon/skin.conf for report 'cmon'
Dec 22 16:20:58 Gugelhupf weewx[20166] DEBUG
weewx.cheetahgenerator: Using search list
['weewx.cheetahgenerator.Almanac',
'weewx.cheetahgenerator.Station',
'weewx.cheetahgenerator.Current',
'weewx.cheetahgenerator.Stats',
'weewx.cheetahgenerator.UnitInfo',
'weewx.cheetahgenerator.Extras',
'weewx.cheetahgenerator.JSONHelpers']
Dec 22 16:20:58 Gugelhupf weewx[20166] DEBUG
weewx.manager: Daily summary version is 4.0
Dec 22 16:20:58 Gugelhupf weewx[20166] INFO
weewx.cheetahgenerator: Generated 1 files for report cmon
in 0.20 seconds
Dec 22 16:20:58 Gugelhupf weewx[20166] DEBUG
weewx.manager: Daily summary version is 4.0
Dec 22 16:20:58 Gugelhupf weewx[20166] DEBUG
PIL.PngImagePlugin: STREAM 'IHDR' 16 13
Dec 22 16:20:58 Gugelhupf weewx[20166] DEBUG
PIL.PngImagePlugin: STREAM 'IDAT' 41 1216
Dec 22 16:21:04 Gugelhupf weewx[20166] DEBUG
user.interceptor: empty queue
Dec 22 16:21:10 Gugelhupf weewx[20166] DEBUG
user.interceptor: POST:
PASSKEY=XXXX&stationtype=GW1000B_V1.6.8&dateutc=2021-12-22+22:21:10&tempinf=71.6&humidityin=53&baromrelin=29.406&baromabsin=29.406&tempf=74.1&humidity=50&winddir=149&windspeedmph=1.57&windgustmph=4.47&maxdailygust=5.82&solarradiation=21.16&uv=0&rainratein=0.000&eventrainin=0.000&hourlyrainin=0.000&dailyrainin=0.000&weeklyrainin=0.110&monthlyrainin=1.091&yearlyrainin=50.925&totalrainin=50.925&temp2f=71.60&humidity2=55&lightning_time=1639936192&lightning_num=0&lightning=14&tf_ch1=58.8&wh65batt=0&batt2=0&wh57batt=4&tf_batt1=1.40&freq=915M&model=GW1000_Pro
Dec 22 16:21:11 Gugelhupf weewx[20166] DEBUG
user.interceptor: raw data:
PASSKEY=3190878978C9C58F9A8EE5E46324353B&stationtype=GW1000B_V1.6.8&dateutc=2021-12-22+22:21:10&tempinf=71.6&humidityin=53&baromrelin=29.406&baromabsin=29.406&tempf=74.1&humidity=50&winddir=149&windspeedmph=1.57&windgustmph=4.47&maxdailygust=5.82&solarradiation=21.16&uv=0&rainratein=0.000&eventrainin=0.000&hourlyrainin=0.000&dailyrainin=0.000&weeklyrainin=0.110&monthlyrainin=1.091&yearlyrainin=50.925&totalrainin=50.925&temp2f=71.60&humidity2=55&lightning_time=1639936192&lightning_num=0&lightning=14&tf_ch1=58.8&wh65batt=0&batt2=0&wh57batt=4&tf_batt1=1.40&freq=915M&model=GW1000_Pro
Dec 22 16:21:11 Gugelhupf weewx[20166] DEBUG
user.interceptor: ignored parameter eventrainin=0.000
Dec 22 16:21:11 Gugelhupf weewx[20166] DEBUG
user.interceptor: ignored parameter baromrelin=29.406
Dec 22 16:21:11 Gugelhupf weewx[20166] DEBUG
user.interceptor: ignored parameter maxdailygust=5.82
Dec 22 16:21:11 Gugelhupf weewx[20166] INFO
user.interceptor: unrecognized parameter
lightning_time=1639936192
Dec 22 16:21:11 Gugelhupf weewx[20166] DEBUG
user.interceptor: ignored parameter monthlyrainin=1.091
Dec 22 16:21:11 Gugelhupf weewx[20166] DEBUG
user.interceptor: ignored parameter
PASSKEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Dec 22 16:21:11 Gugelhupf weewx[20166] INFO
user.interceptor: unrecognized parameter tf_ch1=58.8
Dec 22 16:21:11 Gugelhupf weewx[20166] INFO
user.interceptor: unrecognized parameter lightning_num=0
Dec 22 16:21:11 Gugelhupf weewx[20166] DEBUG
user.interceptor: ignored parameter hourlyrainin=0.000
Dec 22 16:21:11 Gugelhupf weewx[20166] DEBUG
user.interceptor: ignored parameter freq=915M
Dec 22 16:21:11 Gugelhupf weewx[20166] INFO
user.interceptor: unrecognized parameter tf_batt1=1.40
Dec 22 16:21:11 Gugelhupf weewx[20166] DEBUG
user.interceptor: ignored parameter model=GW1000_Pro
Dec 22 16:21:11 Gugelhupf weewx[20166] DEBUG
user.interceptor: ignored parameter yearlyrainin=50.925
Dec 22 16:21:11 Gugelhupf weewx[20166] INFO
user.interceptor: unrecognized parameter wh57batt=4
Dec 22 16:21:11 Gugelhupf weewx[20166] DEBUG
user.interceptor: ignored parameter dailyrainin=0.000
Dec 22 16:21:11 Gugelhupf weewx[20166] DEBUG
user.interceptor: ignored parameter
stationtype=GW1000B_V1.6.8
Dec 22 16:21:11 Gugelhupf weewx[20166] DEBUG
user.interceptor: ignored parameter weeklyrainin=0.110
Dec 22 16:21:11 Gugelhupf weewx[20166] INFO
user.interceptor: unrecognized parameter lightning=14
Dec 22 16:21:11 Gugelhupf weewx[20166] DEBUG
user.interceptor: raw packet: {'wind_speed': 1.57,
'humidity_in': 53.0, 'temperature_in': 71.6,
'solar_radiation': 21.16, 'wind_gust': 4.47,
'humidity_2': 55.0, 'temperature_2': 71.6,
'wh65_battery': 0.0, 'humidity_out': 50.0, 'uv': 0.0,
'battery_2': 0.0, 'rain': 0.0, 'dateTime': 1640211670,
'pressure': 29.406, 'temperature_out': 74.1, 'wind_dir':
149.0, 'rain_total': 50.925, 'rain_rate': 0.0, 'usUnits': 1}
Dec 22 16:21:11 Gugelhupf weewx[20166] DEBUG
user.interceptor: mapped packet: {'pressure': 29.406,
'outHumidity': 50.0, 'rainRate': 0.0, 'UV': 0.0,
'radiation': 21.16, 'rain': 0.0, 'dateTime': 1640211670,
'windDir': 149.0, 'outTemp': 74.1, 'windSpeed': 1.57,
'extraHumid2': 55.0, 'inTemp': 71.6, 'windGust': 4.47,
'inHumidity': 53.0, 'extraTemp2': 71.6, 'usUnits': 1}
I know there are some adjustments I need to make to
properly log the lighting sensor (WH57) though I'm not
sure which pull request to go with
https://github.com/matthewwall/weewx-interceptor/pull/72
or
https://github.com/matthewwall/weewx-interceptor/pull/99.
Pull #72 looks more straight forward for a direct edit
and I think following that format I could also add
support for the WN34L since it's newer and shows up as
tf_ch1. Has anyone worked with the newer WN34 sensor?
Where I am really lost is why the WH31 is not working
correctly. There is not a parameter issue shown, and
temp2f seems to be in the existing map in the interceptor
driver. I have checked my MySQL database and there is no
data in the extraTemp2 or extraHumid2 fields. Is there
another step I missed?
Associated section of weewx.conf:
[[[[Generic]]]]
barometer = Barometer
dewpoint = Dew Point
ET = ET
heatindex = Heat Index
inHumidity = Inside Humidity
inTemp = Inside Temperature
outHumidity = Humidity
outTemp = Outside Temperature
radiation = Radiation
rain = Rain
rainRate = Rain Rate
UV = UV Index
windDir = Wind Direction
windGust = Gust Speed
windGustDir = Gust Direction
windSpeed = Wind Speed
windchill = Wind Chill
windgustvec = Gust Vector
windvec = Wind Vector
extraTemp1 = Pi CPU
extraTemp2 = Shop Temperature
extraTemp3 = Temperature3
Thanks in advance,
Jonathan
--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/6fd27041-4429-4718-b922-4dd53d5fcd46n%40googlegroups.com
<https://groups.google.com/d/msgid/weewx-user/6fd27041-4429-4718-b922-4dd53d5fcd46n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/ed54e2ae-7b54-40db-810d-0158b791c16cn%40googlegroups.com
<https://groups.google.com/d/msgid/weewx-user/ed54e2ae-7b54-40db-810d-0158b791c16cn%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to a topic in
the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/weewx-user/JpcVnLfT7lI/unsubscribe.
To unsubscribe from this group and all its topics, send an email
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/CAPq0zEAKJHB-kjQV4t91X7nJgD7JA1Ahbj5g%3DKbE9%2BzL49SoQw%40mail.gmail.com
<https://groups.google.com/d/msgid/weewx-user/CAPq0zEAKJHB-kjQV4t91X7nJgD7JA1Ahbj5g%3DKbE9%2BzL49SoQw%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/CAFwS2r06COLt-hmwJD2kg1QnrSEmYs2qk1r0zn-T7rO3S6z5Jg%40mail.gmail.com
<https://groups.google.com/d/msgid/weewx-user/CAFwS2r06COLt-hmwJD2kg1QnrSEmYs2qk1r0zn-T7rO3S6z5Jg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
--
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/f5744af5-3bef-37df-0721-5bf9380daf30%40gmail.com.