Hausautomation: openHAB-Binding?
-
@aurelio Dies ist die gewünschte Ausgabe:
2021-08-24 10:44:11.263 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - run(): starting polled data handler 2021-08-24 10:44:11.269 [DEBUG] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - getData(): connecting to http://192.168.178.38/data with method GET and body null 2021-08-24 10:44:12.113 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - getDecryptedContentString(): Result from getData() is org.openhab.binding.airq.internal.AirqHandler$Result@1cfe458 with body={"content": "lRgD1L4WlnrxLURVubO2XqWdWVh0yV+MnaUtADcYhPFetjNCp8NvUqoHhNNnUVQZxZLrrNl2aUCo6aGp5BNaconEFMvCJ1pFhayW/Q4v2cnt9N+N0dylst62SNMO1NAds61IMGlZMLubQFKG3eIPhC0VbyXTr7EoLFnWOEB+5bP4+c/ja02HuSBBTnfxED8Y9+zMN51cgaXos2nnbCGH1w0kxNvSpc7ynG8e69SednplC4ZhRhlN94t3Y9ogXI8goOsVb5CMiGHMHMSo1xVJdT9BqeK1uJBO2efn1pJAIQRND6b5lc+L+NHYI4T0fQrCMgsy/nktIYamHMtGNW62N3qGQXPJVXRtVU9r563NHB/AE1g/bl60mlI9Ol16+/sc3Laf8UeniIKDmc3IH9Ph3uMDmEJRLxqenaGu+bng9Aav7pitgowrj/VDQOKqvVLu2DDe3yOSCBySUM9Bh6Rw5y7wM74hHSzgnvkpbxx2ZvVeVDdjdoGk8a2T7G6VV/7DATO6Tog9v6eMPFXIBiHIk6nMfa2qS2YEgYN9famBoXVVn9NcHzOJnAcK1ELcecc1H+1dOkJt8gjuB6pND8MNGFrXrn6YmVZL/LHxwzjxuAbb2ITJGNOQCAEJ8EQAG5fCjHhAnORQ3G56xNX+HZxGBOblWis8HrwgMSBZ9ixL369Sw0d8juTcKIXg/NoD+v9Fe++8MFrKPjMtCWsISX8jSyp7oAnLZe3iG5nT5nH1VYQTpZjfaXgI6nUFegjbSX1xK24xgfTwR3r+Zxkeo/9MQfUMLBOLMt25qHZOiALchv3nWMDMlh+0lQIVw6Nq6uggNFuDjj3CMho+A6vSiVhc0+M3l+bIsn8n68enkQ4J+IBwBLhViMf6lTF1ss+10zQyJFb7fSSKd4LKYUHirusEe4wLixTAsoApahaLUvX8+gWMNuJ86GtqVXWlW3ijlYFJRriLPVppWmm0zxpsZjHWyffPqNoNp3RjuOfwfqYY0PQ="} 2021-08-24 10:44:12.119 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - decrypt(): content to decrypt: [108, 82, 103, 68, 49, 76, 52, 87, 108, 110, 114, 120, 76, 85, 82, 86, 117, 98, 79, 50, 88, 113, 87, 100, 87, 86, 104, 48, 121, 86, 43, 77, 110, 97, 85, 116, 65, 68, 99, 89, 104, 80, 70, 101, 116, 106, 78, 67, 112, 56, 78, 118, 85, 113, 111, 72, 104, 78, 78, 110, 85, 86, 81, 90, 120, 90, 76, 114, 114, 78, 108, 50, 97, 85, 67, 111, 54, 97, 71, 112, 53, 66, 78, 97, 99, 111, 110, 69, 70, 77, 118, 67, 74, 49, 112, 70, 104, 97, 121, 87, 47, 81, 52, 118, 50, 99, 110, 116, 57, 78, 43, 78, 48, 100, 121, 108, 115, 116, 54, 50, 83, 78, 77, 79, 49, 78, 65, 100, 115, 54, 49, 73, 77, 71, 108, 90, 77, 76, 117, 98, 81, 70, 75, 71, 51, 101, 73, 80, 104, 67, 48, 86, 98, 121, 88, 84, 114, 55, 69, 111, 76, 70, 110, 87, 79, 69, 66, 43, 53, 98, 80, 52, 43, 99, 47, 106, 97, 48, 50, 72, 117, 83, 66, 66, 84, 110, 102, 120, 69, 68, 56, 89, 57, 43, 122, 77, 78, 53, 49, 99, 103, 97, 88, 111, 115, 50, 110, 110, 98, 67, 71, 72, 49, 119, 48, 107, 120, 78, 118, 83, 112, 99, 55, 121, 110, 71, 56, 101, 54, 57, 83, 101, 100, 110, 112, 108, 67, 52, 90, 104, 82, 104, 108, 78, 57, 52, 116, 51, 89, 57, 111, 103, 88, 73, 56, 103, 111, 79, 115, 86, 98, 53, 67, 77, 105, 71, 72, 77, 72, 77, 83, 111, 49, 120, 86, 74, 100, 84, 57, 66, 113, 101, 75, 49, 117, 74, 66, 79, 50, 101, 102, 110, 49, 112, 74, 65, 73, 81, 82, 78, 68, 54, 98, 53, 108, 99, 43, 76, 43, 78, 72, 89, 73, 52, 84, 48, 102, 81, 114, 67, 77, 103, 115, 121, 47, 110, 107, 116, 73, 89, 97, 109, 72, 77, 116, 71, 78, 87, 54, 50, 78, 51, 113, 71, 81, 88, 80, 74, 86, 88, 82, 116, 86, 85, 57, 114, 53, 54, 51, 78, 72, 66, 47, 65, 69, 49, 103, 47, 98, 108, 54, 48, 109, 108, 73, 57, 79, 108, 49, 54, 43, 47, 115, 99, 51, 76, 97, 102, 56, 85, 101, 110, 105, 73, 75, 68, 109, 99, 51, 73, 72, 57, 80, 104, 51, 117, 77, 68, 109, 69, 74, 82, 76, 120, 113, 101, 110, 97, 71, 117, 43, 98, 110, 103, 57, 65, 97, 118, 55, 112, 105, 116, 103, 111, 119, 114, 106, 47, 86, 68, 81, 79, 75, 113, 118, 86, 76, 117, 50, 68, 68, 101, 51, 121, 79, 83, 67, 66, 121, 83, 85, 77, 57, 66, 104, 54, 82, 119, 53, 121, 55, 119, 77, 55, 52, 104, 72, 83, 122, 103, 110, 118, 107, 112, 98, 120, 120, 50, 90, 118, 86, 101, 86, 68, 100, 106, 100, 111, 71, 107, 56, 97, 50, 84, 55, 71, 54, 86, 86, 47, 55, 68, 65, 84, 79, 54, 84, 111, 103, 57, 118, 54, 101, 77, 80, 70, 88, 73, 66, 105, 72, 73, 107, 54, 110, 77, 102, 97, 50, 113, 83, 50, 89, 69, 103, 89, 78, 57, 102, 97, 109, 66, 111, 88, 86, 86, 110, 57, 78, 99, 72, 122, 79, 74, 110, 65, 99, 75, 49, 69, 76, 99, 101, 99, 99, 49, 72, 43, 49, 100, 79, 107, 74, 116, 56, 103, 106, 117, 66, 54, 112, 78, 68, 56, 77, 78, 71, 70, 114, 88, 114, 110, 54, 89, 109, 86, 90, 76, 47, 76, 72, 120, 119, 122, 106, 120, 117, 65, 98, 98, 50, 73, 84, 74, 71, 78, 79, 81, 67, 65, 69, 74, 56, 69, 81, 65, 71, 53, 102, 67, 106, 72, 104, 65, 110, 79, 82, 81, 51, 71, 53, 54, 120, 78, 88, 43, 72, 90, 120, 71, 66, 79, 98, 108, 87, 105, 115, 56, 72, 114, 119, 103, 77, 83, 66, 90, 57, 105, 120, 76, 51, 54, 57, 83, 119, 48, 100, 56, 106, 117, 84, 99, 75, 73, 88, 103, 47, 78, 111, 68, 43, 118, 57, 70, 101, 43, 43, 56, 77, 70, 114, 75, 80, 106, 77, 116, 67, 87, 115, 73, 83, 88, 56, 106, 83, 121, 112, 55, 111, 65, 110, 76, 90, 101, 51, 105, 71, 53, 110, 84, 53, 110, 72, 49, 86, 89, 81, 84, 112, 90, 106, 102, 97, 88, 103, 73, 54, 110, 85, 70, 101, 103, 106, 98, 83, 88, 49, 120, 75, 50, 52, 120, 103, 102, 84, 119, 82, 51, 114, 43, 90, 120, 107, 101, 111, 47, 57, 77, 81, 102, 85, 77, 76, 66, 79, 76, 77, 116, 50, 53, 113, 72, 90, 79, 105, 65, 76, 99, 104, 118, 51, 110, 87, 77, 68, 77, 108, 104, 43, 48, 108, 81, 73, 86, 119, 54, 78, 113, 54, 117, 103, 103, 78, 70, 117, 68, 106, 106, 51, 67, 77, 104, 111, 43, 65, 54, 118, 83, 105, 86, 104, 99, 48, 43, 77, 51, 108, 43, 98, 73, 115, 110, 56, 110, 54, 56, 101, 110, 107, 81, 52, 74, 43, 73, 66, 119, 66, 76, 104, 86, 105, 77, 102, 54, 108, 84, 70, 49, 115, 115, 43, 49, 48, 122, 81, 121, 74, 70, 98, 55, 102, 83, 83, 75, 100, 52, 76, 75, 89, 85, 72, 105, 114, 117, 115, 69, 101, 52, 119, 76, 105, 120, 84, 65, 115, 111, 65, 112, 97, 104, 97, 76, 85, 118, 88, 56, 43, 103, 87, 77, 78, 117, 74, 56, 54, 71, 116, 113, 86, 88, 87, 108, 87, 51, 105, 106, 108, 89, 70, 74, 82, 114, 105, 76, 80, 86, 112, 112, 87, 109, 109, 48, 122, 120, 112, 115, 90, 106, 72, 87, 121, 102, 102, 80, 113, 78, 111, 78, 112, 51, 82, 106, 117, 79, 102, 119, 102, 113, 89, 89, 48, 80, 81, 61] 2021-08-24 10:44:12.126 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - decrypt(): Text decoded as String: {"tvoc": [2651, 460.18], "pm2_5": [4, 10], "DeviceID": "c566b41880a5c0490d539b73237e4cd2", "Status": "OK", "humidity": [58.08, 3.7], "measuretime": 1559, "cnt0_3": [675, 76], "sound": [41.2, 5.0], "temperature": [25.465, 0.5], "cnt0_5": [192, 29], "performance": 831.6377, "co": [1.244, 0.25], "humidity_abs": [13.782, 0.72], "co2": [531, 65.93], "uptime": 40032, "so2": [219.08, 25.4], "cnt2_5": [0, 10], "o3": [26.74, 2.7], "cnt10": [0, 10], "no2": [61.8, 6.6], "cnt5": [0, 10], "timestamp": 1629794649000, "pressure": [1019.96, 1.0], "TypPS": 1.38, "cnt1": [11, 11], "door_event": 0, "pm1": [3, 10], "oxygen": [20.596, 2.2], "dewpt": [16.244, 0.9], "pm10": [4, 10], "health": 736, "bat": [0, 0], "dHdt": 0.79, "dCO2dt": 19.88} 2021-08-24 10:44:12.131 [DEBUG] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - run(): decObj={"tvoc":[2651,460.18],"pm2_5":[4,10],"DeviceID":"c566b41880a5c0490d539b73237e4cd2","Status":"OK","humidity":[58.08,3.7],"measuretime":1559,"cnt0_3":[675,76],"sound":[41.2,5.0],"temperature":[25.465,0.5],"cnt0_5":[192,29],"performance":831.6377,"co":[1.244,0.25],"humidity_abs":[13.782,0.72],"co2":[531,65.93],"uptime":40032,"so2":[219.08,25.4],"cnt2_5":[0,10],"o3":[26.74,2.7],"cnt10":[0,10],"no2":[61.8,6.6],"cnt5":[0,10],"timestamp":1629794649000,"pressure":[1019.96,1.0],"TypPS":1.38,"cnt1":[11,11],"door_event":0,"pm1":[3,10],"oxygen":[20.596,2.2],"dewpt":[16.244,0.9],"pm10":[4,10],"health":736,"bat":[0,0],"dHdt":0.79,"dCO2dt":19.88}, jsonAnswer={"tvoc": [2651, 460.18], "pm2_5": [4, 10], "DeviceID": "c566b41880a5c0490d539b73237e4cd2", "Status": "OK", "humidity": [58.08, 3.7], "measuretime": 1559, "cnt0_3": [675, 76], "sound": [41.2, 5.0], "temperature": [25.465, 0.5], "cnt0_5": [192, 29], "performance": 831.6377, "co": [1.244, 0.25], "humidity_abs": [13.782, 0.72], "co2": [531, 65.93], "uptime": 40032, "so2": [219.08, 25.4], "cnt2_5": [0, 10], "o3": [26.74, 2.7], "cnt10": [0, 10], "no2": [61.8, 6.6], "cnt5": [0, 10], "timestamp": 1629794649000, "pressure": [1019.96, 1.0], "TypPS": 1.38, "cnt1": [11, 11], "door_event": 0, "pm1": [3, 10], "oxygen": [20.596, 2.2], "dewpt": [16.244, 0.9], "pm10": [4, 10], "health": 736, "bat": [0, 0], "dHdt": 0.79, "dCO2dt": 19.88} 2021-08-24 10:44:12.133 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=cnt0_3, channelName=fineDustCnt00_3, type=pair 2021-08-24 10:44:12.136 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=cnt0_5, channelName=fineDustCnt00_5, type=pair 2021-08-24 10:44:12.139 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=cnt1, channelName=fineDustCnt01, type=pair 2021-08-24 10:44:12.142 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=cnt2_5, channelName=fineDustCnt02_5, type=pair 2021-08-24 10:44:12.145 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=cnt5, channelName=fineDustCnt05, type=pair 2021-08-24 10:44:12.148 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=cnt10, channelName=fineDustCnt10, type=pair 2021-08-24 10:44:12.151 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=co, channelName=co, type=pair 2021-08-24 10:44:12.155 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=co2, channelName=co2, type=pairPPM 2021-08-24 10:44:12.159 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=dewpt, channelName=dewpt, type=pair 2021-08-24 10:44:12.164 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=humidity, channelName=humidityRelative, type=pair 2021-08-24 10:44:12.168 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=humidity_abs, channelName=humidityAbsolute, type=pair 2021-08-24 10:44:12.171 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=no2, channelName=no2, type=pair 2021-08-24 10:44:12.177 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=o3, channelName=o3, type=pair 2021-08-24 10:44:12.183 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=oxygen, channelName=o2, type=pair 2021-08-24 10:44:12.186 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=pm1, channelName=fineDustConc01, type=pair 2021-08-24 10:44:12.192 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=pm2_5, channelName=fineDustConc02_5, type=pair 2021-08-24 10:44:12.196 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=pm10, channelName=fineDustConc10, type=pair 2021-08-24 10:44:12.198 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=pressure, channelName=pressure, type=pair 2021-08-24 10:44:12.202 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=so2, channelName=so2, type=pair 2021-08-24 10:44:12.206 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=sound, channelName=sound, type=pairDB 2021-08-24 10:44:12.208 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): db transmitted as 41.2 with unit dB 2021-08-24 10:44:12.217 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=temperature, channelName=temperature, type=pair 2021-08-24 10:44:12.222 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=Status, channelName=status, type=string 2021-08-24 10:44:12.225 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=TypPS, channelName=avgFineDustSize, type=number 2021-08-24 10:44:12.243 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=dCO2dt, channelName=dCO2dt, type=number 2021-08-24 10:44:12.245 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=dHdt, channelName=dHdt, type=number 2021-08-24 10:44:12.247 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=door_event, channelName=doorEvent, type=number 2021-08-24 10:44:12.249 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=health, channelName=health, type=number 2021-08-24 10:44:12.250 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=measuretime, channelName=measureTime, type=number 2021-08-24 10:44:12.252 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=performance, channelName=performance, type=number 2021-08-24 10:44:12.254 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=timestamp, channelName=timestamp, type=datetime 2021-08-24 10:44:12.256 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=uptime, channelName=uptime, type=numberTimePeriod 2021-08-24 10:44:12.258 [TRACE] [ab.binding.airq.internal.AirqHandler] - air-Q - airqHandler - processType(): airqName=tvoc, channelName=tvoc, type=pairPPB
Viele Grüße
-
@aurelio sagte in Hausautomation: openHAB-Binding?:
Ich werde das in der ersten Version noch nicht unterstützen, aber das Ziel ist, dass das openhab-Binding das Gerät im lokalen Netzwerk selber findet über das discovery service. Wie kann ich das Gerät am besten 'finden'?
Die air-Qs lassen sich über mDNS finden/entdecken (scheint auch gut in openHAB unterstüzt zu sein)
-
@aurelio Mittlerweile werden in meiner Installation auch die Werte für CO Concentration und für die drei Werte Fine Dust Concentration nicht mehr aktualisiert.
Freundliche Grüße -
@jheiler Ich habe bei mir alles nochmals durchgeprüft, die Werte werden richtig übertragen. Ich habe das Logging der ItemStateEvent von OpenHAB auf TRACE eingestellt und erhalte für CO die folgende Zeile:
23:42:31.252 [TRACE] [openhab.event.ItemStateEvent ] - Received event of type 'ItemStateEvent' under the topic 'openhab/items/airQ_COConcentration/state' with payload: '{"type":"Decimal","value":"1.2960000038146973"}'
Versuche mal die folgende Log-Einstellung:
<Logger level="TRACE" name="openhab.event.ItemStateEvent"/>
bzw. in der Console:
log:set TRACE openhab.event.ItemStateEventSchreibe mir (am besten über PN), was gemeldet wird. Und nicht vergessen: Logging der Items wieder abstellen, sonst wird das Logfile geflutet ;)
-
2021-11-11 11:20:43.106 [hingStatusInfoChangedEvent] - Thing 'airq:airq:4eb72412cd' changed from UNINITIALIZED (DISABLED) to INITIALIZING
2021-11-11 11:20:43.127 [hingStatusInfoChangedEvent] - Thing 'airq:airq:4eb72412cd' changed from INITIALIZING to UNKNOWN
2021-11-11 11:20:43.809 [hingStatusInfoChangedEvent] - Thing 'airq:airq:4eb72412cd' changed from UNKNOWN to ONLINE
2021-11-11 11:20:44.375 [enhab.event.ItemStateEvent] - Received event of type 'ItemStateEvent' under the topic 'openhab/items/airQ_co/state' with payload: '{"type":"Decimal","value":"2.0250000953674316"}'
2021-11-11 11:20:44.377 [enhab.event.ItemStateEvent] - Item 'airQ_co' updated to 2.0250000953674316
2021-11-11 11:20:44.379 [enhab.event.ItemStateEvent] - Received event of type 'ItemStateEvent' under the topic 'openhab/items/airQ_co2/state' with payload: '{"type":"Decimal","value":"457"}'
2021-11-11 11:20:44.381 [enhab.event.ItemStateEvent] - Item 'airQ_co2' updated to 457
2021-11-11 11:20:44.383 [enhab.event.ItemStateEvent] - Received event of type 'ItemStateEvent' under the topic 'openhab/items/airQ_no2/state' with payload: '{"type":"Decimal","value":"120.86000061035156"}'
2021-11-11 11:20:44.384 [enhab.event.ItemStateEvent] - Item 'airQ_no2' updated to 120.86000061035156
2021-11-11 11:20:44.386 [enhab.event.ItemStateEvent] - Received event of type 'ItemStateEvent' under the topic 'openhab/items/airQ_o3/state' with payload: '{"type":"Decimal","value":"28.559999465942383"}'
2021-11-11 11:20:44.387 [enhab.event.ItemStateEvent] - Item 'airQ_o3' updated to 28.559999465942383
2021-11-11 11:20:44.389 [enhab.event.ItemStateEvent] - Received event of type 'ItemStateEvent' under the topic 'openhab/items/airQ_pressure/state' with payload: '{"type":"Decimal","value":"1019.489990234375"}'
2021-11-11 11:20:44.390 [enhab.event.ItemStateEvent] - Item 'airQ_pressure' updated to 1019.489990234375
2021-11-11 11:20:44.396 [enhab.event.ItemStateEvent] - Received event of type 'ItemStateEvent' under the topic 'openhab/items/airQ_so2/state' with payload: '{"type":"Decimal","value":"1133.22998046875"}'
2021-11-11 11:20:44.397 [enhab.event.ItemStateEvent] - Item 'airQ_so2' updated to 1133.22998046875
2021-11-11 11:20:44.399 [enhab.event.ItemStateEvent] - Received event of type 'ItemStateEvent' under the topic 'openhab/items/airQ_sound/state' with payload: '{"type":"Decimal","value":"43.2"}'
2021-11-11 11:20:44.400 [enhab.event.ItemStateEvent] - Item 'airQ_sound' updated to 43.2
2021-11-11 11:20:44.406 [enhab.event.ItemStateEvent] - Received event of type 'ItemStateEvent' under the topic 'openhab/items/airQ_temperature/state' with payload: '{"type":"Decimal","value":"21.729000091552734"}'
2021-11-11 11:20:44.407 [enhab.event.ItemStateEvent] - Item 'airQ_temperature' updated to 21.729000091552734
2021-11-11 11:20:44.412 [enhab.event.ItemStateEvent] - Received event of type 'ItemStateEvent' under the topic 'openhab/items/airQ_health/state' with payload: '{"type":"Decimal","value":"468"}'
2021-11-11 11:20:44.413 [enhab.event.ItemStateEvent] - Item 'airQ_health' updated to 468
2021-11-11 11:20:44.416 [vent.ItemStateChangedEvent] - Item 'airQ_co' changed from 2.0280001163482666 to 2.0250000953674316
2021-11-11 11:20:44.417 [enhab.event.ItemStateEvent] - Received event of type 'ItemStateEvent' under the topic 'openhab/items/airQ_performance/state' with payload: '{"type":"Decimal","value":"753.0401"}'
2021-11-11 11:20:44.419 [enhab.event.ItemStateEvent] - Item 'airQ_performance' updated to 753.0401
2021-11-11 11:20:44.424 [enhab.event.ItemStateEvent] - Received event of type 'ItemStateEvent' under the topic 'openhab/items/airQ_timestamp/state' with payload: '{"type":"DateTime","value":"2021-11-11T11:20:41.000+0100"}'
2021-11-11 11:20:44.425 [enhab.event.ItemStateEvent] - Item 'airQ_timestamp' updated to 2021-11-11T11:20:41.000+0100
2021-11-11 11:20:44.428 [enhab.event.ItemStateEvent] - Received event of type 'ItemStateEvent' under the topic 'openhab/items/airQ_voc/state' with payload: '{"type":"Decimal","value":"6589"}'
2021-11-11 11:20:44.430 [enhab.event.ItemStateEvent] - Item 'airQ_voc' updated to 6589
2021-11-11 11:20:44.432 [vent.ItemStateChangedEvent] - Item 'airQ_no2' changed from 120.80999755859375 to 120.86000061035156
2021-11-11 11:20:44.434 [vent.ItemStateChangedEvent] - Item 'airQ_o3' changed from 28.360000610351562 to 28.559999465942383
2021-11-11 11:20:44.435 [vent.ItemStateChangedEvent] - Item 'airQ_pressure' changed from 1019.5 hPa to 1019.489990234375 hPa
2021-11-11 11:20:44.437 [vent.ItemStateChangedEvent] - Item 'airQ_so2' changed from 1137.219970703125 to 1133.22998046875
2021-11-11 11:20:44.440 [vent.ItemStateChangedEvent] - Item 'airQ_sound' changed from 42.3 to 43.2
2021-11-11 11:20:44.441 [vent.ItemStateChangedEvent] - Item 'airQ_performance' changed from 753.7872 to 753.0401
2021-11-11 11:20:44.443 [vent.ItemStateChangedEvent] - Item 'airQ_timestamp' changed from 2021-11-11T11:20:15.000+0100 to 2021-11-11T11:20:41.000+0100
2021-11-11 11:20:44.444 [vent.ItemStateChangedEvent] - Item 'airQ_voc' changed from 6694 to 6589 -
@jheiler Werte, bei denen Du Probleme hast:
- CO: Item wird vom airq-Binding richtig gesetzt. Müsste angezeigt werden, und wenn nicht, stimmt etwas mit der Item-Beschreibung oder der Sitemap nicht, das Binding funktioniert richtig.
- Fine Dust Concentration: hast Du alle Zeilen des Logs einkopiert? Wenn ja, werden diese vom Binding tatsächlich nicht geliefert.
- Humidity und Oxygen: Werden bei Dir mit falschem Komma angezeigt, gemäss Log gibt das Binding die Werte aber gar nicht weiter.
Kannst Du bestätigen, dass obige Einträge den vollen 'Datenübergabezyklus' abbilden? Kann es sein, dass Fine Dust, Humidity und Oxygen beim Binding gar nicht als Items registriert sind (=Channel verbunden)? Du siehst das in Admin/Items.
Es kann passieren, dass das Item zwar vorhanden ist, aber nicht mit dem Channel verbunden. Das passiert, wenn man ein 'Thing' abmeldet und dann wieder anmeldet - der neue Channel heisst dann anders.
Du kannst gerne auch versuchen, beide Log-Einstellungen gleichzeitig zu haben, dann wird gleich alles angezeigt. Also:log:set TRACE org.openhab.binding.airq log:set TRACE openhab.event.ItemStateEvent
-
Die Items sind alle verbunden, s. Anlage. Die Log ist vollständig, die anderen Items werden nicht aktualisiert, sind aber in der Air-Q-App zu sehen. Der Sensorstatus zeigt NULL, die anderen fehlenden Items zeigen alte Werte, zwei mit Kommafehler mit Kommafehler. S. Anlage.
-
Falscher Screenshot
-
OK, konzentrieren wir uns mal auf die relative Luftfeuchtigkeit. Wenn ich in Things>Channel-List auf die (1) klicke, sieht das bei mir so aus:
Items>Humidity sieht bei mir so aus:
Und wenn ich dann auf "Online" klicke:
Sieht das bei Dir auch so aus? -
Meine Screenshots: