Weewx no longer updating since firmware update on station

132 views
Skip to first unread message

Dave Curr

unread,
Dec 17, 2022, 6:30:50 AM12/17/22
to weewx-user
I updated my WS2900 to EasyWeather v1.6.4 this morning, and weewx is no longer updating at all. I was on 4.8.0 when it broke, and I have updated to 4.9.1 with no change.

using wireshark, I can see the http POSTs come in every minute as configured -

POST HTTP/1.1

HOST: [removed]

Connection: Close

Content-Type: application/x-www-form-urlencoded

Content-Length: 464

PASSKEY=[removed]&stationtype=EasyWeatherV1.6.4&dateutc=2022-12-17+10:17:43&tempinf=62.2&humidityin=42&baromrelin=29.782&baromabsin=30.074&tempf=30.0&humidity=92&winddir=20&windspeedmph=0.2&windgustmph=1.1&maxdailygust=3.4&rainratein=0.000&eventrainin=0.000&hourlyrainin=0.000&dailyrainin=0.000&weeklyrainin=0.031&monthlyrainin=0.122&yearlyrainin=39.295&totalrainin=39.295&solarradiation=45.87&uv=0&wh65batt=0&freq=868M&model=WS2900_V2.01.08


The response is

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"

"http://www.w3.org/TR/html4/strict.dtd">

<html>

<head>

<meta http-equiv="Content-Type" content="text/html;charset=utf-8">

<title>Error response</title>

</head>

<body>

<h1>Error response</h1>

<p>Error code: 400</p>

<p>Message: Bad HTTP/0.9 request type ('POST').</p>

<p>Error code explanation: HTTPStatus.BAD_REQUEST - Bad request syntax or unsupported method.</p>

</body>

</html>

It has been working fine on 4.8.0 since October, and on previous versions since April 2021. Pretty sure the firmware update has caused this, but curious as to why it would result in the above. Wunderground, WOW and Weathercloud still receive updates as intended. 

Anything else I can do to find more details?

Thanks



Dave Curr

unread,
Dec 17, 2022, 6:47:24 AM12/17/22
to weewx-user
this is everything from weewx in syslog:

Dec 17 11:00:55 syslog systemd[1]: Starting LSB: weewx weather system...
Dec 17 11:00:55 syslog python3[22791]: weewx[22791] INFO __main__: Initializing weewx version 4.9.1
Dec 17 11:00:55 syslog python3[22791]: weewx[22791] INFO __main__: Using Python 3.7.3 (default, Jan 22 2021, 20:04:44)
Dec 17 11:00:55 syslog python3[22791]: weewx[22791] INFO __main__: Located at /bin/python3
Dec 17 11:00:55 syslog python3[22791]: weewx[22791] INFO __main__: Platform Linux-5.10.103-v7l+-armv7l-with-debian-10.12
Dec 17 11:00:55 syslog python3[22791]: weewx[22791] INFO __main__: Locale is 'en_GB.UTF-8'
Dec 17 11:00:55 syslog python3[22791]: weewx[22791] INFO __main__: Using configuration file /etc/weewx/weewx.conf
Dec 17 11:00:55 syslog python3[22791]: weewx[22791] INFO __main__: Debug is 1
Dec 17 11:00:55 syslog python3[22791]: weewx[22791] INFO __main__: PID file is /var/run/weewx.pid
Dec 17 11:00:56 syslog python3[22795]: weewx[22795] INFO weewx.engine: Loading station type Interceptor (user.interceptor)
Dec 17 11:00:56 syslog weewx[22781]: Starting weewx weather system: weewx.
Dec 17 11:00:56 syslog systemd[1]: Started LSB: weewx weather system.
Dec 17 11:00:56 syslog python3[22795]: weewx[22795] INFO user.interceptor: driver version is 0.53
Dec 17 11:00:56 syslog python3[22795]: weewx[22795] INFO user.interceptor: device type: ecowitt-client
Dec 17 11:00:56 syslog python3[22795]: weewx[22795] INFO user.interceptor: mode is listen
Dec 17 11:00:56 syslog python3[22795]: weewx[22795] INFO user.interceptor: listen on :8080
Dec 17 11:00:56 syslog python3[22795]: weewx[22795] INFO user.interceptor: 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', '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'}
Dec 17 11:00:56 syslog python3[22795]: weewx[22795] INFO weewx.engine: StdConvert target unit is 0x1
Dec 17 11:00:56 syslog python3[22795]: weewx[22795] INFO weewx.wxservices: StdWXCalculate will use data binding wx_binding
Dec 17 11:00:56 syslog python3[22795]: weewx[22795] INFO weewx.engine: Archive will use data binding wx_binding
Dec 17 11:00:56 syslog python3[22795]: weewx[22795] INFO weewx.engine: Record generation will be attempted in 'hardware'
Dec 17 11:00:56 syslog python3[22795]: weewx[22795] INFO weewx.engine: Using archive interval of 300 seconds (specified in weewx configuration)
Dec 17 11:00:56 syslog python3[22795]: weewx[22795] INFO weewx.restx: StationRegistry: Registration not requested.
Dec 17 11:00:56 syslog python3[22795]: weewx[22795] INFO weewx.restx: Wunderground: Posting not enabled.
Dec 17 11:00:56 syslog python3[22795]: weewx[22795] INFO weewx.restx: PWSweather: Posting not enabled.
Dec 17 11:00:56 syslog python3[22795]: weewx[22795] INFO weewx.restx: CWOP: Posting not enabled.
Dec 17 11:00:56 syslog python3[22795]: weewx[22795] INFO weewx.restx: WOW: Posting not enabled.
Dec 17 11:00:56 syslog python3[22795]: weewx[22795] INFO weewx.restx: AWEKAS: Posting not enabled.
Dec 17 11:00:56 syslog python3[22795]: weewx[22795] INFO weewx.engine: 'pyephem' not detected, extended almanac data is not available
Dec 17 11:00:56 syslog python3[22795]: weewx[22795] INFO __main__: Starting up weewx version 4.9.1
Dec 17 11:00:56 syslog python3[22795]: weewx[22795] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
Dec 17 11:00:56 syslog python3[22795]: weewx[22795] INFO weewx.manager: Starting backfill of daily summaries
Dec 17 11:00:56 syslog python3[22795]: weewx[22795] INFO weewx.manager: Daily summaries up to date
Dec 17 11:00:56 syslog python3[22795]: weewx[22795] INFO weewx.engine: Starting main packet loop.

As noted earlier, pretty sure that the firmware update broke this (it was the only change).  Also, the WOW / WU updates etc are from the station, not weewx.

gjr80

unread,
Dec 17, 2022, 4:24:03 PM12/17/22
to weewx-user
You need to provide a log extract with debug = 1. To do this edit weewx.conf, set debug = 1, save weewx.conf and restart WeeWX. Let WeeWX run for at least two archive periods and the make a copy of the log from WeeWX startup through until the end of the two archive periods. Make sure you capture the full WeeWX startup in the log extract. Post the log extract here. This should show details of exactly what the interceptor driver is receiving and what it is doing with the received data.

Gary

Rainer Lang

unread,
Dec 17, 2022, 5:03:53 PM12/17/22
to weewx...@googlegroups.com

I think you posted the same issue in the wxforum - read your thread there - as it looks you have simply not properly configured the custom server in your console.

You missed putting a "/" as minimal entry in the "path" field. No entry there = no posting by the console.
This may - or may not - have disappeared during the WiFi firmware update.

That the other postings to the other (standard) weather services still work is only a weak indication - there you cannot customize anything => also not forget anything 😉

--
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/33176eff-9045-4d9b-8083-8a4f4ed01607n%40googlegroups.com.

Dave Curr

unread,
Dec 17, 2022, 6:07:13 PM12/17/22
to weewx-user
I was hoping to get different info from the wxforum - downgrade info, or similar experience, wasn't expecting a deepdive (not complaining though, been a useful exercise, as I know more about weewx and python than i did before).

the missing '/'  has resolved the issue. If i'm honest, I don't recall it being there before.  

Much appreciated, thank you.

Reply all
Reply to author
Forward
0 new messages