Hi,
I want to user the ozone channel from the openweathermap air_pollution. but it never updated, always = 0.
I am using Openhab 3.1
openhab-cli info
Version: 3.1.0 (Build)
User: openhab (Active Process 578)
User Groups: openhab tty dialout audio
Directories: Folder Name | Path | User:Group
----------- | ---- | ----------
OPENHAB_HOME | /usr/share/openhab | openhab:openhab
OPENHAB_RUNTIME | /usr/share/openhab/runtime | openhab:openhab
OPENHAB_USERDATA | /var/lib/openhab | openhab:openhab
OPENHAB_CONF | /etc/openhab | willy:willy
OPENHAB_LOGDIR | /var/log/openhab | openhab:openhab
OPENHAB_BACKUPS | /var/lib/openhab/backups | openhab:openhab
java -version
openjdk version â11.0.11â 2021-04-20 LTS
OpenJDK Runtime Environment Zulu11.48+21-CA (build 11.0.11+9-LTS)
OpenJDK Client VM Zulu11.48+21-CA (build 11.0.11+9-LTS, mixed mode)
uname -a
Linux mon 5.10.52-v7+ #1440 SMP Tue Jul 27 09:54:13 BST 2021 armv7l GNU/Linux
From the TRACE log
2021-08-04 18:10:56.860 [TRACE] [.connection.OpenWeatherMapConnection] - OpenWeatherMap request: URL = âhttps://api.openweathermap.org/data/2.5/air_pollution/forecast?appid=*****&lon=4.7783&units=metric&lang=en&lat=51.0030â
2021-08-04 18:10:56.998 [TRACE] [.connection.OpenWeatherMapConnection] - OpenWeatherMap response: status = 200, content = '{âcoordâ:{âlonâ:4.7783,âlatâ:51.003},âlistâ:
âŠ
,âdtâ:1628089200},{âmainâ:{âaqiâ:3},âcomponentsâ:{âcoâ:236.99,ânoâ:0.25,âno2â:3.68,âo3â:121.59,âso2â:1.46,âpm2_5â:12.53,âpm10â:14.02,ânh3â:3.93},âdtâ:1628092800},{âmainâ
âŠ
2021-08-04 18:10:57.023 [DEBUG] [er.OpenWeatherMapAirPollutionHandler] - Update channel âairQualityIndexâ of group âcurrentâ with new state â3â.
2021-08-04 18:10:57.028 [DEBUG] [er.OpenWeatherMapAirPollutionHandler] - Update channel âparticulateMatter2dot5â of group âcurrentâ with new state â12.53 ”g/mÂłâ.
2021-08-04 18:10:57.033 [DEBUG] [er.OpenWeatherMapAirPollutionHandler] - Update channel âparticulateMatter10â of group âcurrentâ with new state â14.02 ”g/mÂłâ.
2021-08-04 18:10:57.040 [DEBUG] [er.OpenWeatherMapAirPollutionHandler] - Update channel âcarbonMonoxideâ of group âcurrentâ with new state â236.99 ”g/mÂłâ.
2021-08-04 18:10:57.045 [DEBUG] [er.OpenWeatherMapAirPollutionHandler] - Update channel ânitrogenMonoxideâ of group âcurrentâ with new state â0.25 ”g/mÂłâ.
2021-08-04 18:10:57.053 [DEBUG] [er.OpenWeatherMapAirPollutionHandler] - Update channel ânitrogenDioxideâ of group âcurrentâ with new state â3.68 ”g/mÂłâ.
2021-08-04 18:10:57.058 [DEBUG] [er.OpenWeatherMapAirPollutionHandler] - Update channel âozoneâ of group âcurrentâ with new state â0 ”g/mÂłâ.
2021-08-04 18:10:57.065 [DEBUG] [er.OpenWeatherMapAirPollutionHandler] - Update channel âsulphurDioxideâ of group âcurrentâ with new state â1.46 ”g/mÂłâ.
2021-08-04 18:10:57.070 [DEBUG] [er.OpenWeatherMapAirPollutionHandler] - Update channel âammoniaâ of group âcurrentâ with new state â3.93 ”g/mÂłâ.
If you need the complete response, please let me know.
Please help.
Kind regards
Willy