Issue with AirQuality Binding

I recently have the following problem. The AirQuality binding is in state “OFFLINE (COMMUNICATION_ERROR)”. With some debugging, I found out that it is because my nearest station does not provide (at least at the moment) the value “aqi” (it did in the last months). Seems to be an issue with the data of the station, some other stations seem to have the same problem.
Despite there is an issue with the data, the error is quite misleading. Because there is no communication error (and no configuration error, as the debug log states), everything works fine and all fields provide data, except the “aqi” field. It would be cool if the binding wouldnt crash but only set the invalid field to NULL.
Attached see my logs and the resulting JSON data.

2020-08-03 19:48:20.678 [me.event.ThingUpdatedEvent] - Thing 'airquality:aqi:local' has been updated.

==> /var/log/openhab2/openhab.log <==

2020-08-03 19:48:20.680 [DEBUG] [y.internal.handler.AirQualityHandler] - config apikey = (omitted from logging)
2020-08-03 19:48:20.683 [DEBUG] [y.internal.handler.AirQualityHandler] - config location = null
2020-08-03 19:48:20.686 [DEBUG] [y.internal.handler.AirQualityHandler] - config stationId = 6212
2020-08-03 19:48:20.688 [DEBUG] [y.internal.handler.AirQualityHandler] - config refresh = 150
2020-08-03 19:48:20.693 [DEBUG] [y.internal.handler.AirQualityHandler] - URL = http://api.waqi.info/feed/@6212/?token=xxxxxxxxxxxxxxxxxxxxx (hier steht der API Key übrigens drin, also macht es oben wenig Sinn, den vom Logging etwas weiter oben zu entfernen, nur so als Anmerkung)

==> /var/log/openhab2/events.log <==

2020-08-03 19:48:20.711 [hingStatusInfoChangedEvent] - 'airquality:aqi:local' changed from OFFLINE (COMMUNICATION_ERROR): Configuration is incorrect to ONLINE

==> /var/log/openhab2/openhab.log <==

2020-08-03 19:48:21.257 [DEBUG] [y.internal.handler.AirQualityHandler] - aqiResponse = {"status":"ok","data":{"aqi":"-","idx":6212,"attributions":[{"url":"http://www.umwelt.niedersachsen.de/luft/luftqualitaet-9123.html","name":"Luftqualität | Nds. Ministerium für Umwelt, Energie und Klimaschutz","logo":"Germany-NiederSachsen.png"},{"url":"https://waqi.info/","name":"World Air Quality Index Project"}],"city":{"geo":[53.1434501,8.2145521],"name":"Oldenburg(verkehrsstation), Germany","url":"https://aqicn.org/city/germany/niedersachsen/oldenburgverkehrsstation"},"dominentpol":"","iaqi":{"h":{"v":78},"no2":{"v":17},"p":{"v":1012.2},"pm10":{"v":9},"t":{"v":16.8},"w":{"v":2},"wg":{"v":4.2}},"time":{"s":"2020-08-03 19:00:00","tz":"+02:00","v":1596481200,"iso":"2020-08-03T19:00:00+02:00"},"forecast":{},"debug":{"sync":"2020-08-04T02:22:00+09:00"}}}

2020-08-03 19:48:21.260 [WARN ] [y.internal.handler.AirQualityHandler] - Error running aqicn.org (Air Quality) request: Configuration is incorrect
2020-08-03 19:48:21.263 [DEBUG] [y.internal.handler.AirQualityHandler] - Update channel aqiLevel with state UNDEF (null)

==> /var/log/openhab2/events.log <==

2020-08-03 19:48:21.266 [hingStatusInfoChangedEvent] - 'airquality:aqi:local' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Configuration is incorrect

airqualitylog.txt (2.3 KB)
api_waqi_info.json (766 Bytes)

Can you please log an issue on GitHub ?