I hope to give this a try.
I have the 1000 with the full array + a particulate sensor and 4 soil moisture sensors. I'm using a different plugin to collect the data so I will have to undo that first.
I think my particulate sensor is broken though since it only
moving between about 3 & 8 ug/m3 even thought with our summer
fires the air is thick with smoke. The local government sensor is
showing an AQI of 118 and that's a low reading at the moment!
TT
--
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/9b478920-8f43-431a-9ec0-96f32b7ed4f9%40googlegroups.com.
I hope to give this a try.
I have the 1000 with the full array + a particulate sensor and 4 soil moisture sensors. I'm using a different plugin to collect the data so I will have to undo that first.
I have the 1000 with the full array + a particulate sensor and 4 soil moisture sensors.
gary@weewx1:~/Downloads$ PYTHONPATH=/home/weewx python /home/weewx/bin/user/interceptor.py --device=fineoffset-bridge --port 8000 --debugTraceback (most recent call last): File "/home/weewx/bin/user/interceptor.py", line 299, in <module> import weewx.driversImportError: No module named weewx.drivers
gary@weewx1:~/Downloads$ sudo /home/weewx/bin/weewxd /home/weewx/weewx.confLOOP: 2019-12-30 21:41:25 EST (1577760085) altimeter: 29.3896523535, barometer: 29.4207585752, cloudbase: 645.979046331, dateTime: 1577760085, dewpoint: 30.9910300862, heatindex: 32.0, humidex: 32.0, inDewpoint: 39.1192997709, inHumidity: 30.0, inTemp: 72.3, maxSolarRad: 0.0, outHumidity: 96.0, outTemp: 32.0, pressure: 28.957, rain_period: 800, rainRate: 0, usUnits: 1, UV: 0.0LOOP: 2019-12-30 21:41:42 EST (1577760102) altimeter: 29.3896523535, barometer: 29.4207585752, cloudbase: 645.979046331, dateTime: 1577760102, dewpoint: 30.9910300862, heatindex: 32.0, humidex: 32.0, inDewpoint: 39.1192997709, inHumidity: 30.0, inTemp: 72.3, maxSolarRad: 0.0, outHumidity: 96.0, outTemp: 32.0, pressure: 28.957, rain_period: 800, rainRate: 0, usUnits: 1, UV: 0.0LOOP: 2019-12-30 21:41:59 EST (1577760119) altimeter: 29.3926893485, barometer: 29.4238066215, cloudbase: 645.979046331, dateTime: 1577760119, dewpoint: 30.9910300862, heatindex: 32.0, humidex: 32.0, inDewpoint: 38.946639779, inHumidity: 30.0, inTemp: 72.1, maxSolarRad: 0.0, outHumidity: 96.0, outTemp: 32.0, pressure: 28.96, rain_period: 800, rainRate: 0, usUnits: 1, UV: 0.0LOOP: 2019-12-30 21:42:16 EST (1577760136) altimeter: 29.3926893485, barometer: 29.4238066215, cloudbase: 645.979046331, dateTime: 1577760136, dewpoint: 30.9910300862, heatindex: 32.0, humidex: 32.0, inDewpoint: 38.946639779, inHumidity: 30.0, inTemp: 72.1, maxSolarRad: 0.0, outHumidity: 96.0, outTemp: 32.0, pressure: 28.96, rain_period: 800, rainRate: 0, usUnits: 1, UV: 0.0LOOP: 2019-12-30 21:42:33 EST (1577760153) altimeter: 29.3926893485, barometer: 29.4238066215, cloudbase: 645.979046331, dateTime: 1577760153, dewpoint: 30.9910300862, heatindex: 32.0, humidex: 32.0, inDewpoint: 38.946639779, inHumidity: 30.0, inTemp: 72.1, maxSolarRad: 0.0, outHumidity: 96.0, outTemp: 32.0, pressure: 28.96, rain_period: 800, rainRate: 0, usUnits: 1, UV: 0.0All was working fine when I was using a patched interceptor for the GW1000
gary@weewx1:~/Downloads$ PYTHONPATH=/home/weewx python /home/weewx/bin/user/interceptor.py --device=fineoffset-bridge --port 8000 --debugTraceback (most recent call last):File "/home/weewx/bin/user/interceptor.py", line 299, in <module>import weewx.driversImportError: No module named weewx.drivers
root@weewx1:~# service weewx stop
root@weewx1:~# PYTHONPATH=/home/weewx/bin python /home/weewx/bin/user/interceptor.py --device=fineoffset-bridge --port 8000 --debug
raw data: PASSKEY=D35&stationtype=GW1000B_V1.5.5&dateutc=2019-12-31+18:04:07&tempinf=72.1&humidityin=32&baromrelin=29.577&baromabsin=29.131&tempf=35.8&humidity=92&winddir=96&windspeedmph=0.00&windgustmph=0.00&maxdailygust=10.29&solarradiation=58.48&uv=0&rainratein=0.047&eventrainin=1.150&hourlyrainin=0.051&dailyrainin=0.118&weeklyrainin=1.150&monthlyrainin=3.780&yearlyrainin=6.138&totalrainin=6.138&wh65batt=0&wh26batt=0&freq=915M&model=GW1000_Pro
weewx@weewx:~$ systemctl status weewx
● weewx.service - LSB: weewx weather system
Loaded: loaded (/etc/init.d/weewx; generated)
Active: active (running) since Thu 2020-01-02 20:47:33 CET; 15h ago
Docs: man:systemd-sysv-generator(8)
Process: 936 ExecStart=/etc/init.d/weewx start (code=exited, status=0/SUCCESS)
Tasks: 2 (limit: 504)
CGroup: /system.slice/weewx.service
└─1108 python /usr/bin/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf
Jan 03 12:36:25 weewx weewx[1108]: interceptor: MainThread: unrecognized parameter eventrainin=0.000
Jan 03 12:36:25 weewx weewx[1108]: interceptor: MainThread: unrecognized parameter maxdailygust=13.65
Jan 03 12:36:25 weewx weewx[1108]: interceptor: MainThread: unrecognized parameter monthlyrainin=0.000
Jan 03 12:36:25 weewx weewx[1108]: interceptor: MainThread: unrecognized parameter totalrainin=0.000
Jan 03 12:36:25 weewx weewx[1108]: interceptor: MainThread: unrecognized parameter hourlyrainin=0.000
Jan 03 12:36:25 weewx weewx[1108]: interceptor: MainThread: unrecognized parameter winddir=167
Jan 03 12:36:25 weewx weewx[1108]: interceptor: MainThread: unrecognized parameter wh25batt=0
Jan 03 12:36:25 weewx weewx[1108]: interceptor: MainThread: unrecognized parameter yearlyrainin=0.000
Jan 03 12:36:25 weewx weewx[1108]: interceptor: MainThread: unrecognized parameter dailyrainin=0.000
Jan 03 12:36:25 weewx weewx[1108]: interceptor: MainThread: unrecognized parameter weeklyrainin=0.000
[Interceptor] # This section is for the network traffic interceptor driver.
# The driver to use: driver = user.interceptor
# Specify the hardware device to capture. Options include: # acurite-bridge - acurite internet bridge, smarthub, or access # observer - fine offset WH2600/HP1000/HP1003, ambient WS2902 # lw30x - oregon scientific LW301/LW302 # lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge # fineoffset-bridge - fine offset GW1000/GW1000B/GW1000BU wifi gateway # wu-client - any hardware that uses the weather underground protocol device_type = fineoffset-bridge port = 9876
# [[sensor_map]]# windDir = winddir # Windrichtung angepasst# battery = wh25battroot@weewx1:~# service weewx stoproot@weewx1:~# PYTHONPATH=/home/weewx/bin python /home/weewx/bin/user/interceptor.py --device=fineoffset-bridge --port 8000 --debugraw data: PASSKEY=PK&stationtype=GW1000B_V1.5.5&dateutc=2020-01-03+13:49:59&tempinf=71.8&humidityin=30&baromrelin=29.805&baromabsin=29.335&tempf=38.3&humidity=81&winddir=124&windspeedmph=2.24&windgustmph=2.24&maxdailygust=2.24&solarradiation=78.90&uv=0&rainratein=0.071&eventrainin=0.142&hourlyrainin=0.024&dailyrainin=0.063&weeklyrainin=1.512&monthlyrainin=0.240&yearlyrainin=0.240&totalrainin=0.240&wh65batt=0&wh26batt=0&freq=915M&model=GW1000_Proraw packet: {'wind_speed': 2.24, 'humidity_in': 30.0, 'temperature_in': 71.8, 'solar_radiation': 78.9, 'wind_gust': 2.24, 'battery': 0.0, 'humidity_out': 81.0, 'uv': 0.0, 'dateTime': 1578059399, 'pressure': 29.335, 'temperature_out': 38.3, 'battery_wind': 0.0, 'rain_rate': 0.071, 'usUnits': 1}mapped packet: {'txBatteryStatus': 0.0, 'pressure': 29.335, 'outHumidity': 81.0, 'UV': 0.0, 'dateTime': 1578059399, 'outTemp': 38.3, 'windSpeed': 2.24, 'inHumidity': 30.0, 'inTemp': 71.8, 'windGust': 2.24, 'rainRate': 0.071, 'usUnits': 1}raw data: PASSKEY=PK&stationtype=GW1000B_V1.5.5&dateutc=2020-01-03+13:50:16&tempinf=71.8&humidityin=30&baromrelin=29.805&baromabsin=29.335&tempf=38.3&humidity=81&winddir=124&windspeedmph=2.01&windgustmph=2.24&maxdailygust=2.24&solarradiation=78.05&uv=0&rainratein=0.071&eventrainin=0.142&hourlyrainin=0.024&dailyrainin=0.063&weeklyrainin=1.512&monthlyrainin=0.240&yearlyrainin=0.240&totalrainin=0.240&wh65batt=0&wh26batt=0&freq=915M&model=GW1000_Proraw packet: {'wind_speed': 2.01, 'humidity_in': 30.0, 'temperature_in': 71.8, 'solar_radiation': 78.05, 'wind_gust': 2.24, 'battery': 0.0, 'humidity_out': 81.0, 'uv': 0.0, 'dateTime': 1578059416, 'pressure': 29.335, 'temperature_out': 38.3, 'battery_wind': 0.0, 'rain_rate': 0.071, 'usUnits': 1}mapped packet: {'txBatteryStatus': 0.0, 'pressure': 29.335, 'outHumidity': 81.0, 'UV': 0.0, 'dateTime': 1578059416, 'outTemp': 38.3, 'windSpeed': 2.01, 'inHumidity': 30.0, 'inTemp': 71.8, 'windGust': 2.24, 'rainRate': 0.071, 'usUnits': 1}raw data: PASSKEY=PK&stationtype=GW1000B_V1.5.5&dateutc=2020-01-03+13:50:33&tempinf=71.8&humidityin=30&baromrelin=29.805&baromabsin=29.335&tempf=38.5&humidity=81&winddir=113&windspeedmph=2.24&windgustmph=3.36&maxdailygust=3.36&solarradiation=78.90&uv=0&rainratein=0.071&eventrainin=0.142&hourlyrainin=0.024&dailyrainin=0.063&weeklyrainin=1.512&monthlyrainin=0.240&yearlyrainin=0.240&totalrainin=0.240&wh65batt=0&wh26batt=0&freq=915M&model=GW1000_Proraw packet: {'wind_speed': 2.24, 'humidity_in': 30.0, 'temperature_in': 71.8, 'solar_radiation': 78.9, 'wind_gust': 3.36, 'battery': 0.0, 'humidity_out': 81.0, 'uv': 0.0, 'dateTime': 1578059433, 'pressure': 29.335, 'temperature_out': 38.5, 'battery_wind': 0.0, 'rain_rate': 0.071, 'usUnits': 1}mapped packet: {'txBatteryStatus': 0.0, 'pressure': 29.335, 'outHumidity': 81.0, 'UV': 0.0, 'dateTime': 1578059433, 'outTemp': 38.5, 'windSpeed': 2.24, 'inHumidity': 30.0, 'inTemp': 71.8, 'windGust': 3.36, 'rainRate': 0.071, 'usUnits': 1}
root@weewx1:~# PYTHONPATH=/home/weewx/bin python /home/weewx/bin/user/interceptor.py --device=fineoffset-bridge --port 8000 --debug File "/home/weewx/bin/user/interceptor.py", line 2346 'totalrainin', 'total_rain', ^SyntaxError: invalid syntax
root@weewx1:~# PYTHONPATH=/home/weewx/bin python /home/weewx/bin/user/interceptor.py --device=fineoffset-bridge --port 8000 --debugraw data: PASSKEY=XXXX&stationtype=GW1000B_V1.5.5&dateutc=2020-01-03+14:40:10&tempinf=72.1&humidityin=31&baromrelin=29.840&baromabsin=29.371&tempf=39.7&humidity=79&winddir=104&windspeedmph=0.00&windgustmph=0.00&maxdailygust=3.36&solarradiation=69.73&uv=0&rainratein=0.000&eventrainin=0.161&hourlyrainin=0.031&dailyrainin=0.083&weeklyrainin=1.531&monthlyrainin=0.260&yearlyrainin=0.260&totalrainin=0.260&wh65batt=0&wh26batt=0&freq=915M&model=GW1000_Proraw packet: {'wind_speed': 0.0, 'humidity_in': 31.0, 'temperature_in': 72.1, 'solar_radiation': 69.73, 'total_rain': 0.26, 'battery_wh26_1': 0.0, 'humidity_out': 79.0, 'uv': 0.0, 'dateTime': 1578062410, 'pressure': 29.371, 'temperature_out': 39.7, 'wind_dir': 104.0, 'battery_wind': 0.0, 'rain_rate': 0.0, 'usUnits': 1, 'wind_gust': 0.0}mapped packet: {'wind_speed': 0.0, 'humidity_in': 31.0, 'temperature_in': 72.1, 'solar_radiation': 69.73, 'total_rain': 0.26, 'battery_wh26_1': 0.0, 'humidity_out': 79.0, 'uv': 0.0, 'dateTime': 1578062410, 'pressure': 29.371, 'temperature_out': 39.7, 'wind_dir': 104.0, 'battery_wind': 0.0, 'rain_rate': 0.0, 'usUnits': 1, 'wind_gust': 0.0}raw data: PASSKEY=XXXX&stationtype=GW1000B_V1.5.5&dateutc=2020-01-03+14:40:27&tempinf=72.3&humidityin=30&baromrelin=29.837&baromabsin=29.368&tempf=39.7&humidity=79&winddir=104&windspeedmph=0.00&windgustmph=0.00&maxdailygust=3.36&solarradiation=72.79&uv=0&rainratein=0.000&eventrainin=0.161&hourlyrainin=0.031&dailyrainin=0.083&weeklyrainin=1.531&monthlyrainin=0.260&yearlyrainin=0.260&totalrainin=0.260&wh65batt=0&wh26batt=0&freq=915M&model=GW1000_Proraw packet: {'wind_speed': 0.0, 'humidity_in': 30.0, 'temperature_in': 72.3, 'solar_radiation': 72.79, 'total_rain': 0.26, 'battery_wh26_1': 0.0, 'humidity_out': 79.0, 'uv': 0.0, 'dateTime': 1578062427, 'pressure': 29.368, 'temperature_out': 39.7, 'wind_dir': 104.0, 'battery_wind': 0.0, 'rain_rate': 0.0, 'usUnits': 1, 'wind_gust': 0.0}mapped packet: {'wind_speed': 0.0, 'humidity_in': 30.0, 'temperature_in': 72.3, 'solar_radiation': 72.79, 'total_rain': 0.26, 'battery_wh26_1': 0.0, 'humidity_out': 79.0, 'uv': 0.0, 'dateTime': 1578062427, 'pressure': 29.368, 'temperature_out': 39.7, 'wind_dir': 104.0, 'battery_wind': 0.0, 'rain_rate': 0.0, 'usUnits': 1, 'wind_gust': 0.0}raw data: PASSKEY=XXXX&stationtype=GW1000B_V1.5.5&dateutc=2020-01-03+14:40:44&tempinf=72.3&humidityin=30&baromrelin=29.837&baromabsin=29.368&tempf=39.7&humidity=79&winddir=104&windspeedmph=0.00&windgustmph=0.00&maxdailygust=3.36&solarradiation=75.48&uv=0&rainratein=0.000&eventrainin=0.161&hourlyrainin=0.031&dailyrainin=0.083&weeklyrainin=1.531&monthlyrainin=0.260&yearlyrainin=0.260&totalrainin=0.260&wh65batt=0&wh26batt=0&freq=915M&model=GW1000_Proraw packet: {'wind_speed': 0.0, 'humidity_in': 30.0, 'temperature_in': 72.3, 'solar_radiation': 75.48, 'total_rain': 0.26, 'battery_wh26_1': 0.0, 'humidity_out': 79.0, 'uv': 0.0, 'dateTime': 1578062444, 'pressure': 29.368, 'temperature_out': 39.7, 'wind_dir': 104.0, 'battery_wind': 0.0, 'rain_rate': 0.0, 'usUnits': 1, 'wind_gust': 0.0}mapped packet: {'wind_speed': 0.0, 'humidity_in': 30.0, 'temperature_in': 72.3, 'solar_radiation': 75.48, 'total_rain': 0.26, 'battery_wh26_1': 0.0, 'humidity_out': 79.0, 'uv': 0.0, 'dateTime': 1578062444, 'pressure': 29.368, 'temperature_out': 39.7, 'wind_dir': 104.0, 'battery_wind': 0.0, 'rain_rate': 0.0, 'usUnits': 1, 'wind_gust': 0.0}
root@weewx1:~# PYTHONPATH=/home/weewx/bin python /home/weewx/bin/user/interceptor.py --device=fineoffset-bridge --port 8000 --debugFile "/home/weewx/bin/user/interceptor.py", line 2346'totalrainin', 'total_rain',^SyntaxError: invalid syntax
I have wind speed and gust as well now. Rainfall amount is showing no rainrate as it is not currently raining.
root@weewx1:~# service weewx stoproot@weewx1:~# PYTHONPATH=/home/weewx/bin python /home/weewx/bin/user/interceptor.py --device=fineoffset-bridge --port 8000 --debugraw data: PASSKEY=XXXX&stationtype=GW1000B_V1.5.5&dateutc=2020-01-03+15:19:34&tempinf=71.8&humidityin=30&baromrelin=29.822&baromabsin=29.353&tempf=41.0&humidity=77&winddir=86&windspeedmph=0.00&windgustmph=0.00&maxdailygust=3.36&solarradiation=104.48&uv=1&rainratein=0.047&eventrainin=0.189&hourlyrainin=0.039&dailyrainin=0.110&weeklyrainin=1.559&monthlyrainin=0.287&yearlyrainin=0.287&totalrainin=0.287&wh65batt=0&wh26batt=0&freq=915M&model=GW1000_Proraw packet: {'wind_speed': 0.0, 'humidity_in': 30.0, 'temperature_in': 71.8, 'solar_radiation': 104.48, 'total_rain': 0.287, 'battery_wh26_1': 0.0, 'humidity_out': 77.0, 'uv': 1.0, 'dateTime': 1578064774, 'pressure': 29.353, 'temperature_out': 41.0, 'wind_dir': 86.0, 'battery_wind': 0.0, 'rain_rate': 0.047, 'usUnits': 1, 'wind_gust': 0.0}mapped packet: {'wind_speed': 0.0, 'humidity_in': 30.0, 'temperature_in': 71.8, 'solar_radiation': 104.48, 'total_rain': 0.287, 'battery_wh26_1': 0.0, 'humidity_out': 77.0, 'uv': 1.0, 'dateTime': 1578064774, 'pressure': 29.353, 'temperature_out': 41.0, 'wind_dir': 86.0, 'battery_wind': 0.0, 'rain_rate': 0.047, 'usUnits': 1, 'wind_gust': 0.0}raw data: PASSKEY=XXXX&stationtype=GW1000B_V1.5.5&dateutc=2020-01-03+15:19:51&tempinf=71.8&humidityin=30&baromrelin=29.822&baromabsin=29.353&tempf=41.0&humidity=77&winddir=87&windspeedmph=0.00&windgustmph=0.00&maxdailygust=3.36&solarradiation=101.41&uv=1&rainratein=0.047&eventrainin=0.189&hourlyrainin=0.039&dailyrainin=0.110&weeklyrainin=1.559&monthlyrainin=0.287&yearlyrainin=0.287&totalrainin=0.287&wh65batt=0&wh26batt=0&freq=915M&model=GW1000_Proraw packet: {'wind_speed': 0.0, 'humidity_in': 30.0, 'temperature_in': 71.8, 'solar_radiation': 101.41, 'total_rain': 0.287, 'battery_wh26_1': 0.0, 'humidity_out': 77.0, 'uv': 1.0, 'dateTime': 1578064791, 'pressure': 29.353, 'temperature_out': 41.0, 'wind_dir': 87.0, 'battery_wind': 0.0, 'rain_rate': 0.047, 'usUnits': 1, 'wind_gust': 0.0}mapped packet: {'wind_speed': 0.0, 'humidity_in': 30.0, 'temperature_in': 71.8, 'solar_radiation': 101.41, 'total_rain': 0.287, 'battery_wh26_1': 0.0, 'humidity_out': 77.0, 'uv': 1.0, 'dateTime': 1578064791, 'pressure': 29.353, 'temperature_out': 41.0, 'wind_dir': 87.0, 'battery_wind': 0.0, 'rain_rate': 0.047, 'usUnits': 1, 'wind_gust': 0.0}raw data: PASSKEY=XXXX&stationtype=GW1000B_V1.5.5&dateutc=2020-01-03+15:20:08&tempinf=71.8&humidityin=30&baromrelin=29.822&baromabsin=29.353&tempf=41.0&humidity=77&winddir=87&windspeedmph=0.00&windgustmph=0.00&maxdailygust=3.36&solarradiation=97.50&uv=1&rainratein=0.047&eventrainin=0.189&hourlyrainin=0.028&dailyrainin=0.110&weeklyrainin=1.559&monthlyrainin=0.287&yearlyrainin=0.287&totalrainin=0.287&wh65batt=0&wh26batt=0&freq=915M&model=GW1000_Proraw packet: {'wind_speed': 0.0, 'humidity_in': 30.0, 'temperature_in': 71.8, 'solar_radiation': 97.5, 'total_rain': 0.287, 'battery_wh26_1': 0.0, 'humidity_out': 77.0, 'uv': 1.0, 'dateTime': 1578064808, 'pressure': 29.353, 'temperature_out': 41.0, 'wind_dir': 87.0, 'battery_wind': 0.0, 'rain_rate': 0.047, 'usUnits': 1, 'wind_gust': 0.0}mapped packet: {'wind_speed': 0.0, 'humidity_in': 30.0, 'temperature_in': 71.8, 'solar_radiation': 97.5, 'total_rain': 0.287, 'battery_wh26_1': 0.0, 'humidity_out': 77.0, 'uv': 1.0, 'dateTime': 1578064808, 'pressure': 29.353, 'temperature_out': 41.0, 'wind_dir': 87.0, 'battery_wind': 0.0, 'rain_rate': 0.047, 'usUnits': 1, 'wind_gust': 0.0}
Jan 3 20:55:42 weewx1 weewx[16009]: interceptor: MainThread: unrecognized parameter yearlyrainin=0.417
PYTHONPATH=/usr/share/weewx/ python /usr/share/weewx/user/interceptor.py --device=fineoffset-bridge --port 9876 --debugweewx@weewx:~$ systemctl status weewx● weewx.service - LSB: weewx weather systemLoaded: loaded (/etc/init.d/weewx; generated)
Active: active (running) since Sat 2020-01-04 21:40:40 CET; 18min agoDocs: man:systemd-sysv-generator(8)Process: 1032 ExecStart=/etc/init.d/weewx start (code=exited, status=0/SUCCESS)Tasks: 3 (limit: 504)CGroup: /system.slice/weewx.service└─1123 python /usr/bin/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.confJan 04 21:56:14 weewx weewx[1123]: **** fd.write(str(compiled_template))Jan 04 21:56:14 weewx weewx[1123]: **** File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__Jan 04 21:56:14 weewx weewx[1123]: **** rc = getattr(self, mainMethName)()Jan 04 21:56:14 weewx weewx[1123]: **** File "_etc_weewx_skins_Weather34_mbcharts_chartdata_result_csv_tmpl.py", line 250, in respondJan 04 21:56:14 weewx weewx[1123]: **** TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'Jan 04 21:56:14 weewx weewx[1123]: cheetahgenerator: Generated 3 files for report Weather34Report in 0.10 secondsJan 04 21:56:14 weewx weewx[1123]: copygenerator: copied 0 files to /var/www/html/weewx/weather34Jan 04 21:57:15 weewx weewx[1123]: interceptor: MainThread: unrecognized parameter yearlyrainin=0.461Jan 04 21:58:16 weewx weewx[1123]: interceptor: MainThread: unrecognized parameter yearlyrainin=0.461Jan 04 21:59:17 weewx weewx[1123]: interceptor: MainThread: unrecognized parameter yearlyrainin=0.461
This is not true. The Ecowitt GW1000 supports all the sensors from Ecowitt and all the sensors from all other Fine Offset resellers including Ambient. The requirement is that the frequency of the sensors matches the GW1000. What you may have heard is that Ambient branded consoles can only use Ambient branded sensors.
Jan 10 21:23:07 raspbee interceptor.py: interceptor: MainThread: mode is listen
Jan 10 21:23:07 raspbee interceptor.py: interceptor: MainThread: listen on :9000
Jan 10 21:23:07 raspbee interceptor.py: interceptor: ServerThread: start tcp server
Jan 10 21:23:40 raspbee interceptor.py: interceptor: MainThread: mode is listen
Jan 10 21:23:40 raspbee interceptor.py: interceptor: MainThread: listen on :9000
Jan 10 21:23:40 raspbee interceptor.py: interceptor: ServerThread: start tcp server
Jan 10 21:24:26 raspbee interceptor.py: interceptor: ServerThread: POST: PASSKEY=XXXX&stationtype=EasyWeatherV1.4.5&dateutc=2020-01-10+20:24:25&tempinf=61.5&humidityin=59&baromrelin=30.175&baromabsin=29.380&tempf=39.7&humidity=91&winddir=296&windspeedmph=2.5&windgustmph=3.4&maxdailygust=13.6&rainratein=0.000&eventrainin=0.512&hourlyrainin=0.000&dailyrainin=0.303&weeklyrainin=0.571&monthlyrainin=1.083&totalrainin=1.772&solarradiation=0.00&uv=0&wh65batt=0&freq=868M&model=WS2900_V2.01.08
Jan 10 21:24:26 raspbee interceptor.py: interceptor: MainThread: ignored parameter eventrainin=0.512
Jan 10 21:24:26 raspbee interceptor.py: interceptor: MainThread: ignored parameter maxdailygust=13.6
Jan 10 21:24:26 raspbee interceptor.py: interceptor: MainThread: ignored parameter monthlyrainin=1.083
Jan 10 21:24:26 raspbee interceptor.py: interceptor: MainThread: ignored parameter PASSKEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Jan 10 21:24:26 raspbee interceptor.py: interceptor: MainThread: ignored parameter hourlyrainin=0.000
Jan 10 21:24:26 raspbee interceptor.py: interceptor: MainThread: ignored parameter freq=868M
Jan 10 21:24:26 raspbee interceptor.py: interceptor: MainThread: ignored parameter model=WS2900_V2.01.08
Jan 10 21:24:26 raspbee interceptor.py: interceptor: MainThread: ignored parameter dailyrainin=0.303
Jan 10 21:24:26 raspbee interceptor.py: interceptor: MainThread: ignored parameter stationtype=EasyWeatherV1.4.5
Jan 10 21:24:26 raspbee interceptor.py: interceptor: MainThread: ignored parameter weeklyrainin=0.571
Jan 10 21:24:26 raspbee interceptor.py: interceptor: MainThread: skipping rain measurement of 1.772: no last rain
raw data: PASSKEY=XXXX&stationtype=GW1000B_V1.5.5&dateutc=2020-01-11+15:47:05&tempinf=68.4&humidityin=31&baromrelin=30.047&baromabsin=25.670&tempf=26.2&humidity=68&winddir=136&windspeedmph=0.00&windgustmph=1.12&maxdailygust=12.53&solarradiation=38.53&uv=0&rainratein=0.000&eventrainin=0.000&hourlyrainin=0.000&dailyrainin=0.000&weeklyrainin=0.000&monthlyrainin=0.000&yearlyrainin=0.000&totalrainin=0.000&pm25_ch1=8.0&pm25_avg_24h_ch1=11.4&wh65batt=0&pm25batt1=5&freq=915M&model=GW1000_Pro
raw packet: {'wind_speed': 0.0, 'humidity_in': 31.0, 'temperature_in': 68.4, 'solar_radiation': 38.53, 'wind_gust': 1.12, 'humidity_out': 68.0, 'uv': 0.0, 'rain': None, 'dateTime': 1578757625, 'pressure': 25.67, 'temperature_out': 26.2, 'wind_dir': 136.0, 'battery_wind': 0.0, 'rain_total': 0.0, 'rain_rate': 0.0, 'usUnits': 1}
mapped packet: {'pressure': 25.67, 'outHumidity': 68.0, 'UV': 0.0, 'dateTime': 1578757625, 'windDir': 136.0, 'outTemp': 26.2, 'windSpeed': 0.0, 'inHumidity': 31.0, 'inTemp': 68.4, 'windGust': 1.12, 'rain_total': 0.0, 'rainRate': 0.0, 'usUnits': 1}Updated Interceptor to version 0.50
and I get this error:Jan 12 07:27:17 Desktop weewx[2501]: Starting weewx weather system: weewx.Jan 12 07:27:17 Desktop weewx[2516]: interceptor: MainThread: driver version is 0.50Jan 12 07:27:17 Desktop weewx[2516]: interceptor: MainThread: device type: ecowitt-clientJan 12 07:27:17 Desktop weewx[2516]: engine: Import of driver failed: 'InterceptorDriver' object has no attribute 'default_sensor_map' (<type 'exceptions.AttributeError'>)Jan 12 07:27:17 Desktop weewx[2516]: engine: Unable to load driver: 'InterceptorDriver' object has no attribute 'default_sensor_map'Jan 12 07:27:17 Desktop weewx[2516]: **** Exiting...Im using the Ecowiit protocol from the console(HP2551-C)Any ideas?
Out running directly:pi@Desktop:~/weewx-interceptor/bin/user $ PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/interceptor.py --device=ecowitt-client --port 8000 --debugraw data: PASSKEY=XXXX&stationtype=EasyWeatherV1.4.5&dateutc=2020-01-12+06:19:35&rainratein=0.000&eventrainin=0.000&hourlyrainin=0.000&dailyrainin=0.000&weeklyrainin=0.000&monthlyrainin=0.000&yearlyrainin=0.000&temp2f=43.7&humidity2=91&batt2=0&freq=868M&model=HP1000SE_Pro_V1.5.8raw packet: {'temperature_2': 43.7, 'humidity_2': 91.0, 'rain_rate': 0.0, 'battery_2': 0.0, 'dateTime': 1578809975, 'usUnits': 1}mapped packet: {'temperature_2': 43.7, 'humidity_2': 91.0, 'rain_rate': 0.0, 'battery_2': 0.0, 'dateTime': 1578809975, 'usUnits': 1}I have this in in weewx.conf:[Interceptor]driver = user.interceptordevice_type = ecowitt-clientport = 8000[[sensor_map]]outTemp = temperature_2outHumidity = humidity_2
This will make things a bit easier. However, I must confess, that I am sometimes a bit messy. So, when updating interceptor.py from your site, I will have to remember, on which parts I mades my modifications. So, for me it would be much easier, if all modifications could reside in a separate file. I am afraid, that realizing this would a hard job for now.
[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]]
baromrelin = barometer
battery_wh65 = battery
eventrainin = rain_event
rain_event = rainEvent
--
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/76c657b2-b456-4e2b-9d35-5024d5804f58%40googlegroups.com.
'totalrainin': 'rain_total',
'rainratein': 'rain_rate',
Since version 0.51 rain works fine. However, now there is wh65_battery missing in weewx. So, it is not yet perfect. [Interceptor]
[[sensor_map_extensions]]
starting at line 2246'totalrainin': 'rain_total',
'rainratein': 'rain_rate',These lines made it for me.Since version 0.51 rain works fine. However, now there is wh65_battery missing in weewx. So, it is not yet perfect.
Jan 29 23:02:03 buster46 weewx[638] DEBUG user.interceptor: POST: b'PASSKEY=XXXX&stationtype=GW1000_V1.5.6&dateutc=2020-01-29+13:02:02&tempinf=88.9&humidityin=61&baromrelin=29.911&baromabsin=29.911&freq=433M&model=GW1000'
Jan 29 23:02:03 buster46 weewx[638] DEBUG user.interceptor: raw data: b'PASSKEY=XXXX&stationtype=GW1000_V1.5.6&dateutc=2020-01-29+13:02:02&tempinf=88.9&humidityin=61&baromrelin=29.911&baromabsin=29.911&freq=433M&model=GW1000'
Jan 29 23:02:03 buster46 weewx[638] INFO user.interceptor: unrecognized parameter b'PASSKEY=XXXX
Jan 29 23:02:03 buster46 weewx[638] DEBUG user.interceptor: ignored parameter stationtype=GW1000_V1.5.6
Jan 29 23:02:03 buster46 weewx[638] DEBUG user.interceptor: ignored parameter baromrelin=29.911
Jan 29 23:02:03 buster46 weewx[638] DEBUG user.interceptor: ignored parameter freq=433M
Jan 29 23:02:03 buster46 weewx[638] DEBUG user.interceptor: ignored parameter model=GW1000'
Jan 29 23:02:03 buster46 weewx[638] DEBUG user.interceptor: raw packet: {'dateTime': 1580302922, 'usUnits': 1, 'temperature_in': 88.9, 'humidity_in': 61.0, 'pressure': 29.911}
Jan 29 23:02:03 buster46 weewx[638] DEBUG user.interceptor: mapped packet: {'dateTime': 1580302922, 'usUnits': 1, 'pressure': 29.911, 'inHumidity': 61.0, 'inTemp': 88.9}
Jan 29 23:02:13 buster46 weewx[638] DEBUG user.interceptor: empty queue
Jan 29 23:02:23 buster46 weewx[638] DEBUG user.interceptor: empty queueAt the moment, I do all the changes directly in interceptor.py, as this is up to now the only way, I can understand, what I am doing. But, maybe, I should better manage to put all these things into my weewx.conf section [[sensor_map_extensions]], if not fixed otherwise.
Jan 29 20:09:40 srvr weewx[13658] INFO user.interceptor: using 'totalrainin' for rain_total
[Interceptor]...[[sensor_map_extensions]]txBatteryStatus = wh65_batterythat way you get all the standard mappings, and just override the txBatteryStatusm
class Consumer(object):
...
DEFAULT_SENSOR_MAP = {
...
'rainEvent': 'rain_event',
'txBatteryStatus': 'wh65_battery',
...
class EcowittClient(Consumer):
...
LABEL_MAP = {
'baromrelin': 'barometer',
...
'eventrainin': 'rain_event',
IGNORED_LABELS = [
'PASSKEY', 'dateutc', 'stationtype', 'model', 'freq', # 'baromrelin',
'maxdailygust', 'hourlyrainin', 'dailyrainin', #'eventrainin',
the weewx-interceptor driver has been updated with explicit support for the gw1000 wifi bridge, as well as support for weewx4/python3.instructions are at the weewx wiki:i would especially appreciate feedback from anyone with full sensor arrays (wind, rain, uv), particulate sensors, soil moisture sensors, and any other extended sensors offered by ecowitt.although the interceptor will now understand the extended weather underground protocol, the 'fineoffset-bridge' type uses the ecowitt protocol and a direct-to-weewx configuration (no dns hijack or sniffing or other shenanigans required). it does require a recent firmware on the gw1000 (testing with 1.5.5)m
Feb 12 04:58:53 srvr systemd[1]: Stopping LSB: weewx weather system...Feb 12 04:58:53 srvr weewx[26866]: * Stopping weewx weather system weewxFeb 12 04:58:53 srvr weewx[26625] INFO __main__: Received signal TERM (15).Feb 12 04:58:53 srvr weewx[26625] INFO weewx.engine: Main loop exiting. Shutting engine down.Feb 12 04:58:53 srvr weewx[26625] INFO weewx.engine: Shutting down StdReport threadFeb 12 04:58:53 srvr weewx[26625] INFO user.interceptor: shutting down server threadFeb 12 04:58:54 srvr weewx[26625] INFO __main__: Terminating weewx version 4.0.0b12Feb 12 04:58:54 srvr weewx[26625] INFO __main__: **** Traceback (most recent call last):Feb 12 04:58:54 srvr weewx[26625] INFO __main__: **** File "/home/weewx/bin/weewxd", line 154, in mainFeb 12 04:58:54 srvr weewx[26625] INFO __main__: **** engine.run()Feb 12 04:58:54 srvr weewx[26625] INFO __main__: **** File "/home/weewx/bin/weewx/engine.py", line 186, in runFeb 12 04:58:54 srvr weewx[26625] INFO __main__: **** for packet in self.console.genLoopPackets():Feb 12 04:58:54 srvr weewx[26625] INFO __main__: **** File "/home/weewx/bin/user/interceptor.py", line 2547, in genLoopPacketsFeb 12 04:58:54 srvr weewx[26625] INFO __main__: **** data = self._device.get_queue().get(True, self._queue_timeout)Feb 12 04:58:54 srvr weewx[26625] INFO __main__: **** File "/usr/lib/python2.7/Queue.py", line 177, in getFeb 12 04:58:54 srvr weewx[26625] INFO __main__: **** self.not_empty.wait(remaining)Feb 12 04:58:54 srvr weewx[26625] INFO __main__: **** File "/usr/lib/python2.7/threading.py", line 359, in waitFeb 12 04:58:54 srvr weewx[26625] INFO __main__: **** _sleep(delay)Feb 12 04:58:54 srvr weewx[26625] INFO __main__: **** File "/home/weewx/bin/weewxd", line 257, in sigTERMhandlerFeb 12 04:58:54 srvr weewx[26625] INFO __main__: **** raise TerminateFeb 12 04:58:54 srvr weewx[26625] INFO __main__: **** TerminateFeb 12 04:58:58 srvr weewx[26866]: . ...done.Feb 12 04:58:58 srvr systemd[1]: Stopped LSB: weewx weather system.raw data: PASSKEY=XXXX&stationtype=GW1000B_V1.5.6&dateutc=2020-02-12+10:11:35&tempinf=72.3&humidityin=29&baromrelin=30.020&baromabsin=29.551&tempf=34.7&humidity=60&winddir=352&windspeedmph=2.46&windgustmph=6.93&maxdailygust=15.88&solarradiation=0.00&uv=0&rainratein=0.000&eventrainin=0.091&hourlyrainin=0.000&dailyrainin=0.000&weeklyrainin=0.177&monthlyrainin=0.189&yearlyrainin=2.110&totalrainin=2.110&wh65batt=0&wh40batt=1.6&wh26batt=0&freq=915M&model=GW1000_Proraw packet: {'wind_speed': 2.46, 'humidity_in': 29.0, 'temperature_in': 72.3, 'rain_total': 2.11, 'solar_radiation': 0.0, 'wind_gust': 6.93, 'wh65_battery': 0.0, 'humidity_out': 60.0, 'uv': 0.0, 'rain': 0.0, 'wh26_battery': 0.0, 'pressure': 29.551, 'temperature_out': 34.7, 'wind_dir': 352.0, 'dateTime': 1581502295, 'rain_rate': 0.0, 'usUnits': 1}mapped packet: {'pressure': 29.551, 'outHumidity': 60.0, 'UV': 0.0, 'radiation': 0.0, 'rain': 0.0, 'dateTime': 1581502295, 'windDir': 352.0, 'outTemp': 34.7, 'windSpeed': 2.46, 'inHumidity': 29.0, 'inTemp': 72.3, 'windGust': 6.93, 'rainRate': 0.0, 'usUnits': 1}
'wh65batt': 'wh65_battery',
'wh40batt': 'wh40_battery',
'pm25_ch1': 'pm2_5',
[Interceptor] ... [[sensor_map_extensions]] rainBatteryStatus = wh40_battery --
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/ffe5b6f5-8505-4e2c-93dd-aba563e1afee%40googlegroups.com.
hello I have same error:
[Interceptor]
# This section is for the network traffic interceptor driver.
# The driver to use:
driver = user.interceptor
device_type = ecowitt-client
port = 8000
[[sensor_map_extensions]]
rainBatteryStatus = wh69_battery
totalrainin = Rainin total